Routines

Routines

Name Type Language Deterministic Return Type Security Restriction Comments
gbt_timetz_compress(internal) FUNCTION C true internal INVOKER
contains_2d(box2df, geometry) FUNCTION C true boolean INVOKER
_st_hillshade4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
st_approxhistogram(text, text, double precision) FUNCTION SQL false SETOF record INVOKER
_st_contains(raster, integer, raster, integer) FUNCTION C true boolean INVOKER
st_expand(box2d, double precision) FUNCTION C true box2d INVOKER

args: box, units_to_expand - Returns bounding box expanded in all directions from the bounding box of the input geometry. Uses double-precision

st_rastertoworldcoordy(raster, integer, integer) FUNCTION SQL true double precision INVOKER

args: rast, xcolumn, yrow - Returns the geometric Y coordinate upper left corner of a raster, column and row. Numbering of columns and rows starts at 1.

st_length(text) FUNCTION SQL true double precision INVOKER
geometry_gist_same_nd(geometry, geometry, internal) FUNCTION C false internal INVOKER
st_force2d(geometry) FUNCTION C true geometry INVOKER

args: geomA - Force the geometries into a “2-dimensional mode”.

st_shiftlongitude(geometry) FUNCTION C true geometry INVOKER

args: geomA - Toggle geometry coordinates between -180..180 and 0..360 ranges.

st_stddev4ma(double precision[], integer[], text[]) FUNCTION SQL true double precision INVOKER
gbt_ts_same(internal, internal, internal) FUNCTION C true internal INVOKER
st_mapalgebra(raster, text, text, double precision) FUNCTION SQL true raster INVOKER
_st_distanceuncached(geography, geography, double precision, boolean) FUNCTION C true double precision INVOKER
st_max4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
st_roughness(raster, integer, raster, text, boolean) FUNCTION PLPGSQL true raster INVOKER
gbtreekey_var_out(gbtreekey_var) FUNCTION C true cstring INVOKER
st_worldtorastercoordy(raster, geometry) FUNCTION PLPGSQL true integer INVOKER

args: rast, pt - Returns the row in the raster of the point geometry (pt) or a X and Y world coordinate (xw, yw) represented in world spatial reference system of raster.

st_azimuth(geometry, geometry) FUNCTION C true double precision INVOKER

args: pointA, pointB - Returns the north-based azimuth as the angle in radians measured clockwise from the vertical on pointA to pointB.

st_envelope(geometry) FUNCTION C true geometry INVOKER

args: g1 - Returns a geometry representing the double precision (float8) bounding box of the supplied geometry.

st_valuecount(raster, integer, boolean, double precision[], double precision) FUNCTION SQL true SETOF record INVOKER

args: rast, nband=1, exclude_nodata_value=true, searchvalues=NULL, roundto=0, OUT value, OUT count - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

st_count(raster, integer, boolean) FUNCTION SQL true bigint INVOKER

args: rast, nband=1, exclude_nodata_value=true - Returns the number of pixels in a given band of a raster or raster coverage. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the nodata value.

st_overlaps(raster, integer, raster, integer) FUNCTION SQL true boolean INVOKER

args: rastA, nbandA, rastB, nbandB - Return true if raster rastA and rastB intersect but one does not completely contain the other.

box3dtobox(box3d) FUNCTION C true box INVOKER
st_approxhistogram(text, text, integer, double precision, integer, double precision[], boolean) FUNCTION SQL false SETOF record INVOKER
postgis_liblwgeom_version() FUNCTION C true text INVOKER

Returns the version number of the liblwgeom library. This should match the version of PostGIS.

st_geomcollfromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Makes a collection Geometry from collection WKT with the given SRID. If SRID is not given, it defaults to 0.

st_tile(raster, integer, integer, integer, boolean, double precision) FUNCTION SQL true SETOF raster INVOKER

args: rast, nband, width, height, padwithnodata=FALSE, nodataval=NULL - Returns a set of rasters resulting from the split of the input raster based upon the desired dimensions of the output rasters.

gin_compare_prefix_interval(interval, interval, smallint, internal) FUNCTION C true integer INVOKER
st_3dextent(geometry) AGGREGATE INTERNAL true box3d INVOKER

args: geomfield - an aggregate function that returns the box3D bounding box that bounds rows of geometries.

st_contains(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: geomA, geomB - Returns true if and only if no points of B lie in the exterior of A, and at least one point of the interior of B lies in the interior of A.

_st_countagg_transfn(agg_count, raster, boolean) FUNCTION PLPGSQL true agg_count INVOKER
gin_extract_value_oid(oid, internal) FUNCTION C true internal INVOKER
interval_dist(interval, interval) FUNCTION C true interval INVOKER
int4_dist(integer, integer) FUNCTION C true integer INVOKER
gbt_float8_same(internal, internal, internal) FUNCTION C true internal INVOKER
st_tpi(raster, integer, raster, text, boolean) FUNCTION PLPGSQL true raster INVOKER
addgeometrycolumn(character varying, character varying, character varying, integer, character varying, integer, boolean) FUNCTION PLPGSQL false text INVOKER

args: schema_name, table_name, column_name, srid, type, dimension, use_typmod=true - Adds a geometry column to an existing table of attributes. By default uses type modifier to define rather than constraints. Pass in false for use_typmod to get old check constraint based behavior

st_band(raster, integer[]) FUNCTION C true raster INVOKER

args: rast, nbands = ARRAY1 - Returns one or more bands of an existing raster as a new raster. Useful for building new rasters from existing rasters.

gbt_float8_picksplit(internal, internal) FUNCTION C true internal INVOKER
st_sum4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
gin_extract_value_char("char", internal) FUNCTION C true internal INVOKER
st_asmvt(anyelement, text, integer, text) AGGREGATE INTERNAL true bytea INVOKER

args: row, name, extent, geom_name - Return a Mapbox Vector Tile representation of a set of rows.

geometrytype(geography) FUNCTION C true text INVOKER
st_summarystatsagg(raster, integer, boolean, double precision) AGGREGATE INTERNAL true summarystats INVOKER

args: rast, nband, exclude_nodata_value, sample_percent - Aggregate. Returns summarystats consisting of count, sum, mean, stddev, min, max for a given raster band of a set of raster. Band 1 is assumed is no band is specified.

st_zmflag(geometry) FUNCTION C true smallint INVOKER

args: geomA - Returns ZM (dimension semantic) flag of the geometries as a small int. Values are: 0=2d, 1=3dm, 2=3dz, 3=4d.

st_expand(box2d, double precision, double precision) FUNCTION C true box2d INVOKER

args: box, dx, dy - Returns bounding box expanded in all directions from the bounding box of the input geometry. Uses double-precision

_st_geomfromgml(text, integer) FUNCTION C true geometry INVOKER
_add_raster_constraint_alignment(name, name, name) FUNCTION PLPGSQL false boolean INVOKER
st_approxquantile(text, text, boolean, double precision) FUNCTION SQL false double precision INVOKER
st_numinteriorrings(geometry) FUNCTION C true integer INVOKER

args: a_polygon - Return the number of interior rings of a polygon geometry.

_raster_constraint_info_pixel_types(name, name, name) FUNCTION SQL false ARRAY INVOKER
st_convexhull(geometry) FUNCTION C true geometry INVOKER

args: geomA - The convex hull of a geometry represents the minimum convex geometry that encloses all geometries within the set.

dblink(text, text, boolean) FUNCTION C false SETOF record INVOKER
st_geomfromgml(text, integer) FUNCTION C true geometry INVOKER

args: geomgml, srid - Takes as input GML representation of geometry and outputs a PostGIS geometry object

postgis_hasbbox(geometry) FUNCTION C true boolean INVOKER

args: geomA - Returns TRUE if the bbox of this geometry is cached, FALSE otherwise.

st_covers(geography, geography) FUNCTION SQL true boolean INVOKER

args: geogpolyA, geogpointB - Returns 1 (TRUE) if no point in Geometry B is outside Geometry A

gin_compare_prefix_float8(double precision, double precision, smallint, internal) FUNCTION C true integer INVOKER
st_mindist4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
gin_extract_query_text(text, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
_int_union(integer[], integer[]) FUNCTION C true ARRAY INVOKER
st_asbinary(geometry) FUNCTION C true bytea INVOKER

args: g1 - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

st_approxquantile(raster, integer, boolean, double precision, double precision) FUNCTION SQL true double precision INVOKER
st_resample(raster, raster, boolean, text, double precision) FUNCTION SQL true raster INVOKER

args: rast, ref, usescale, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster using a specified resampling algorithm, new dimensions, an arbitrary grid corner and a set of raster georeferencing attributes defined or borrowed from another raster.

addauth(text) FUNCTION PLPGSQL false boolean INVOKER

args: auth_token - Add an authorization token to be used in current transaction.

st_mapalgebrafct(raster, regprocedure, text[]) FUNCTION SQL true raster INVOKER
geom2d_brin_inclusion_add_value(internal, internal, internal, internal) FUNCTION C false boolean INVOKER
geometry_send(geometry) FUNCTION C true bytea INVOKER
st_setskew(raster, double precision) FUNCTION C true raster INVOKER

args: rast, skewxy - Sets the georeference X and Y skew (or rotation parameter). If only one is passed in, sets X and Y to the same value.

st_memcollect(geometry) AGGREGATE INTERNAL true geometry INVOKER
gbt_text_union(bytea, internal) FUNCTION C true gbtreekey_var INVOKER
geom4d_brin_inclusion_add_value(internal, internal, internal, internal) FUNCTION C false boolean INVOKER
gbt_cash_same(internal, internal, internal) FUNCTION C true internal INVOKER
st_makeenvelope(double precision, double precision, double precision, double precision, integer) FUNCTION C true geometry INVOKER

args: xmin, ymin, xmax, ymax, srid=unknown - Creates a rectangular Polygon formed from the given minimums and maximums. Input values must be in SRS specified by the SRID.

gin_extract_value_trgm(text, internal) FUNCTION C true internal INVOKER
gin_extract_value_cidr(cidr, internal) FUNCTION C true internal INVOKER
gtrgm_distance(internal, text, integer, oid) FUNCTION C true double precision INVOKER
st_asgeojson(geometry, integer, integer) FUNCTION C true text INVOKER

args: geom, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

sort(integer[], text) FUNCTION C true ARRAY INVOKER
st_setgeotransform(raster, double precision, double precision, double precision, double precision, double precision, double precision) FUNCTION C true raster INVOKER
st_approxhistogram(raster, double precision) FUNCTION SQL true SETOF record INVOKER
st_points(geometry) FUNCTION C true geometry INVOKER

args: geom - Returns a MultiPoint containing all of the coordinates of a geometry.

st_rastertoworldcoordx(raster, integer, integer) FUNCTION SQL true double precision INVOKER

args: rast, xcolumn, yrow - Returns the geometric X coordinate upper left of a raster, column and row. Numbering of columns and rows starts at 1.

gbt_oid_distance(internal, oid, smallint, oid) FUNCTION C true double precision INVOKER
st_distinct4ma(double precision[], integer[], text[]) FUNCTION SQL true double precision INVOKER
st_srid(geometry) FUNCTION C true integer INVOKER

args: g1 - Returns the spatial reference identifier for the ST_Geometry as defined in spatial_ref_sys table.

gbt_numeric_compress(internal) FUNCTION C true internal INVOKER
st_setsrid(geometry, integer) FUNCTION C true geometry INVOKER

args: geom, srid - Set the SRID on a geometry to a particular integer value.

gin_extract_query_oid(oid, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
gin_extract_query_interval(interval, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
st_assvg(text) FUNCTION SQL true text INVOKER
st_geomfromgeojson(text) FUNCTION C true geometry INVOKER

args: geomjson - Takes as input a geojson representation of a geometry and outputs a PostGIS geometry object

dropgeometrytable(character varying, character varying) FUNCTION SQL false text INVOKER

args: schema_name, table_name - Drops a table and all its references in geometry_columns.

float8_dist(double precision, double precision) FUNCTION C true double precision INVOKER
st_linemerge(geometry) FUNCTION C true geometry INVOKER

args: amultilinestring - Return a (set of) LineString(s) formed by sewing together a MULTILINESTRING.

raster_overright(raster, raster) FUNCTION SQL true boolean INVOKER
sort(integer[]) FUNCTION C true ARRAY INVOKER
st_aspng(raster, integer, integer) FUNCTION SQL true bytea INVOKER

args: rast, nband, compression - Return the raster tile selected bands as a single portable network graphics (PNG) image (byte array). If 1, 3, or 4 bands in raster and no bands are specified, then all bands are used. If more 2 or more than 4 bands and no bands specified, then only band 1 is used. Bands are mapped to RGB or RGBA space.

st_3dmakebox(geometry, geometry) FUNCTION C true box3d INVOKER

args: point3DLowLeftBottom, point3DUpRightTop - Creates a BOX3D defined by the given 3d point geometries.

gin_extract_value_int4(integer, internal) FUNCTION C true internal INVOKER
st_ymax(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns Y maxima of a bounding box 2d or 3d or a geometry.

raster_left(raster, raster) FUNCTION SQL true boolean INVOKER
st_startpoint(geometry) FUNCTION C true geometry INVOKER

args: geomA - Returns the first point of a LINESTRING geometry as a POINT.

st_isring(geometry) FUNCTION C true boolean INVOKER

args: g - Returns TRUE if this LINESTRING is both closed and simple.

st_dwithin(geography, geography, double precision, boolean) FUNCTION SQL true boolean INVOKER

args: gg1, gg2, distance_meters, use_spheroid - Returns true if the geometries are within the specified distance of one another. For geometry units are in those of spatial reference and For geography units are in meters and measurement is defaulted to use_spheroid=true (measure around spheroid), for faster check, use_spheroid=false to measure along sphere.

gserialized_gist_sel_nd(internal, oid, internal, integer) FUNCTION C false double precision INVOKER
st_setvalue(raster, integer, integer, integer, double precision) FUNCTION C true raster INVOKER

args: rast, bandnum, columnx, rowy, newvalue - Returns modified raster resulting from setting the value of a given band in a given columnx, rowy pixel or the pixels that intersect a particular geometry. Band numbers start at 1 and assumed to be 1 if not specified.

st_makepolygon(geometry) FUNCTION C true geometry INVOKER

args: linestring - Creates a Polygon formed by the given shell. Input geometries must be closed LINESTRINGS.

st_polygonfromwkb(bytea) FUNCTION SQL true geometry INVOKER
st_segmentize(geography, double precision) FUNCTION C true geography INVOKER

args: geog, max_segment_length - Return a modified geometry/geography having no segment longer than the given distance.

st_lineinterpolatepoint(geometry, double precision) FUNCTION C true geometry INVOKER

args: a_linestring, a_fraction - Returns a point interpolated along a line. Second argument is a float8 between 0 and 1 representing fraction of total length of linestring the point has to be located.

st_mpointfromwkb(bytea) FUNCTION SQL true geometry INVOKER
gin_compare_prefix_varbit(bit varying, bit varying, smallint, internal) FUNCTION C true integer INVOKER
st_transform(raster, raster, text, double precision) FUNCTION PLPGSQL true raster INVOKER

args: rast, alignto, algorithm=NearestNeighbor, maxerr=0.125 - Reprojects a raster in a known spatial reference system to another known spatial reference system using specified resampling algorithm. Options are NearestNeighbor, Bilinear, Cubic, CubicSpline, Lanczos defaulting to NearestNeighbor.

_st_dwithinuncached(geography, geography, double precision, boolean) FUNCTION C true boolean INVOKER
st_dfullywithin(raster, integer, raster, integer, double precision) FUNCTION SQL true boolean INVOKER

args: rastA, nbandA, rastB, nbandB, distance_of_srid - Return true if rasters rastA and rastB are fully within the specified distance of each other.

_st_distance(geography, geography, double precision, boolean) FUNCTION C true double precision INVOKER
geometry_overlaps_nd(geometry, geometry) FUNCTION C true boolean INVOKER
st_approxhistogram(text, text, integer, double precision) FUNCTION SQL false SETOF record INVOKER
st_area2d(geometry) FUNCTION C true double precision INVOKER
gbt_time_distance(internal, time without time zone, smallint, oid) FUNCTION C true double precision INVOKER
st_locatebetweenelevations(geometry, double precision, double precision) FUNCTION C true geometry INVOKER

args: geom_mline, elevation_start, elevation_end - Return a derived geometry (collection) value with elements that intersect the specified range of elevations inclusively. Only 3D, 4D LINESTRINGS and MULTILINESTRINGS are supported.

st_mapalgebra(raster, integer, text, text, double precision) FUNCTION SQL true raster INVOKER
st_mean4ma(double precision[], text, text[]) FUNCTION PLPGSQL true double precision INVOKER
st_reclass(raster, reclassarg[]) FUNCTION PLPGSQL true raster INVOKER
geometry_eq(geometry, geometry) FUNCTION C true boolean INVOKER
st_bandmetadata(raster, integer) FUNCTION SQL true record INVOKER

args: rast, bandnum=1 - Returns basic meta data for a specific raster band. band num 1 is assumed if none-specified.

st_mapalgebra(raster, raster, text, text, text, text, text, double precision) FUNCTION SQL true raster INVOKER
gbt_text_same(internal, internal, internal) FUNCTION C true internal INVOKER
gin_numeric_cmp(numeric, numeric) FUNCTION C true integer INVOKER
gbt_time_union(bytea, internal) FUNCTION C true gbtreekey16 INVOKER
st_histogram(raster, integer, integer, double precision[], boolean) FUNCTION SQL true SETOF record INVOKER

args: rast, nband, bins, width=NULL, right=false - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

st_quantile(text, text, integer, double precision[]) FUNCTION SQL false SETOF record INVOKER

args: rastertable, rastercolumn, nband, quantiles - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

st_snaptogrid(raster, double precision, double precision, text, double precision, double precision, double precision) FUNCTION SQL true raster INVOKER

args: rast, gridx, gridy, algorithm=NearestNeighbour, maxerr=0.125, scalex=DEFAULT 0, scaley=DEFAULT 0 - Resample a raster by snapping it to a grid. New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

droprasterconstraints(name, name, name, text[]) FUNCTION PLPGSQL false boolean INVOKER

args: rastschema, rasttable, rastcolumn, constraints - Drops PostGIS raster constraints that refer to a raster table column. Useful if you need to reload data or update your raster column data.

geometry_overleft(geometry, geometry) FUNCTION C true boolean INVOKER
gserialized_gist_joinsel_nd(internal, oid, internal, smallint) FUNCTION C false double precision INVOKER
st_valuecount(text, text, double precision, double precision) FUNCTION SQL false integer INVOKER

args: rastertable, rastercolumn, searchvalue, roundto=0 - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

gbt_oid_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
gbt_oid_compress(internal) FUNCTION C true internal INVOKER
gin_extract_query_bit(bit, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
st_difference(geometry, geometry) FUNCTION C true geometry INVOKER

args: geomA, geomB - Returns a geometry that represents that part of geometry A that does not intersect with geometry B.

st_forcepolygoncw(geometry) FUNCTION C true geometry INVOKER

args: geom - Orients all exterior rings clockwise and all interior rings counter-clockwise.

gin_compare_prefix_int8(bigint, bigint, smallint, internal) FUNCTION C true integer INVOKER
_st_summarystats(text, text, integer, boolean, double precision) FUNCTION PLPGSQL true summarystats INVOKER
st_mapalgebraexpr(raster, integer, text, text, double precision) FUNCTION C true raster INVOKER
g_intbig_picksplit(internal, internal) FUNCTION C true internal INVOKER
lockrow(text, text, text, timestamp without time zone) FUNCTION SQL false integer INVOKER

args: a_table_name, a_row_key, an_auth_token, expire_dt - Set lock/authorization for specific row in table

st_scale(geometry, double precision, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, XFactor, YFactor, ZFactor - Scale a geometry by given factors.

st_addband(raster, integer, text, double precision, double precision) FUNCTION SQL true raster INVOKER

args: rast, index, pixeltype, initialvalue=0, nodataval=NULL - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

st_nearestvalue(raster, integer, integer, boolean) FUNCTION SQL true double precision INVOKER

args: rast, columnx, rowy, exclude_nodata_value=true - Returns the nearest non-NODATA value of a given bands pixel specified by a columnx and rowy or a geometric point expressed in the same spatial reference coordinate system as the raster.

geometry_gist_distance_nd(internal, geometry, integer) FUNCTION C false double precision INVOKER
st_geometryfromtext(text, integer) FUNCTION C true geometry INVOKER

args: WKT, srid - Return a specified ST_Geometry value from Well-Known Text representation (WKT). This is an alias name for ST_GeomFromText

st_histogram(text, text, integer, boolean, integer, double precision[], boolean) FUNCTION SQL false SETOF record INVOKER

args: rastertable, rastercolumn, nband=1, exclude_nodata_value=true, bins=autocomputed, width=NULL, right=false - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

st_summary(geography) FUNCTION C true text INVOKER

args: g - Returns a text summary of the contents of the geometry.

st_distancesphere(geometry, geometry) FUNCTION SQL true double precision INVOKER

args: geomlonlatA, geomlonlatB - Returns minimum distance in meters between two lon/lat geometries. Uses a spherical earth and radius derived from the spheroid defined by the SRID. Faster than ST_DistanceSpheroid , but less accurate. PostGIS versions prior to 1.5 only implemented for points.

st_asjpeg(raster, text[]) FUNCTION PLPGSQL true bytea INVOKER

args: rast, options=NULL - Return the raster tile selected bands as a single Joint Photographic Exports Group (JPEG) image (byte array). If no band is specified and 1 or more than 3 bands, then only the first band is used. If only 3 bands then all 3 bands are used and mapped to RGB.

st_approxsummarystats(text, text, double precision) FUNCTION SQL false summarystats INVOKER
st_within(raster, integer, raster, integer) FUNCTION SQL true boolean INVOKER

args: rastA, nbandA, rastB, nbandB - Return true if no points of raster rastA lie in the exterior of raster rastB and at least one point of the interior of rastA lies in the interior of rastB.

st_gdaldrivers() FUNCTION C true SETOF record INVOKER

args: OUT idx, OUT short_name, OUT long_name, OUT create_options - Returns a list of raster formats supported by your lib gdal. These are the formats you can output your raster using ST_AsGDALRaster.

st_force_3d(geometry) FUNCTION SQL true geometry INVOKER
st_approxquantile(text, text, integer, boolean, double precision, double precision[]) FUNCTION SQL false SETOF record INVOKER
_st_3ddfullywithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER
_postgis_join_selectivity(regclass, text, regclass, text, text) FUNCTION C false double precision INVOKER
st_linetocurve(geometry) FUNCTION C true geometry INVOKER

args: geomANoncircular - Converts a LINESTRING/POLYGON to a CIRCULARSTRING, CURVEPOLYGON

geometrytype(geometry) FUNCTION C true text INVOKER

args: geomA - Returns the type of the geometry as a string. Eg: LINESTRING, POLYGON, MULTIPOINT, etc.

geom3d_brin_inclusion_add_value(internal, internal, internal, internal) FUNCTION C false boolean INVOKER
postgis_proj_version() FUNCTION C true text INVOKER

Returns the version number of the PROJ4 library.

st_covers(raster, raster) FUNCTION SQL true boolean INVOKER

args: rastA, rastB - Return true if no points of raster rastB lie outside raster rastA.

st_buffer(geometry, double precision, text) FUNCTION SQL true geometry INVOKER

args: g1, radius_of_buffer, buffer_style_parameters - (T)Returns a geometry covering all points within a given distancefrom the input geometry.

st_clipbybox2d(geometry, box2d) FUNCTION C true geometry INVOKER

args: geom, box - Returns the portion of a geometry falling within a rectangle.

st_makeline(geometry[]) FUNCTION C true geometry INVOKER

args: geoms_array - Creates a Linestring from point, multipoint, or line geometries.

st_rotation(raster) FUNCTION SQL false double precision INVOKER

args: rast - Returns the rotation of the raster in radian.

st_makeemptyraster(raster) FUNCTION PLPGSQL true raster INVOKER

args: rast - Returns an empty raster (having no bands) of given dimensions (width & height), upperleft X and Y, pixel size and rotation (scalex, scaley, skewx & skewy) and reference system (srid). If a raster is passed in, returns a new raster with the same size, alignment and SRID. If srid is left out, the spatial ref is set to unknown (0).

st_approxcount(text, text, boolean, double precision) FUNCTION SQL false bigint INVOKER
gbtreekey16_out(gbtreekey16) FUNCTION C true cstring INVOKER
st_asbinary(geography) FUNCTION C true bytea INVOKER

args: g1 - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

gbt_inet_compress(internal) FUNCTION C true internal INVOKER
st_addband(raster, raster[], integer, integer) FUNCTION C true raster INVOKER

args: torast, fromrasts, fromband=1, torastindex=at_end - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

st_3ddistance(geometry, geometry) FUNCTION C true double precision INVOKER

args: g1, g2 - For geometry type Returns the 3-dimensional cartesian minimum distance (based on spatial ref) between two geometries in projected units.

gbt_int4_consistent(internal, integer, smallint, oid, internal) FUNCTION C true boolean INVOKER
text(geometry) FUNCTION C true text INVOKER
st_approxsummarystats(raster, integer, double precision) FUNCTION SQL true summarystats INVOKER
st_touches(raster, raster) FUNCTION SQL true boolean INVOKER

args: rastA, rastB - Return true if raster rastA and rastB have at least one point in common but their interiors do not intersect.

st_worldtorastercoordx(raster, double precision, double precision) FUNCTION SQL true integer INVOKER

args: rast, xw, yw - Returns the column in the raster of the point geometry (pt) or a X and Y world coordinate (xw, yw) represented in world spatial reference system of raster.

st_slope(raster, integer, raster, text, text, double precision, boolean) FUNCTION PLPGSQL true raster INVOKER
st_assvg(geometry, integer, integer) FUNCTION C true text INVOKER

args: geom, rel=0, maxdecimaldigits=15 - Returns a Geometry in SVG path data given a geometry or geography object.

intarray_push_array(integer[], integer[]) FUNCTION C true ARRAY INVOKER
st_crosses(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: g1, g2 - Returns TRUE if the supplied geometries have some, but not all, interior points in common.

gin_extract_value_timestamp(timestamp without time zone, internal) FUNCTION C true internal INVOKER
st_cleangeometry(geometry) FUNCTION C true geometry INVOKER
st_makepointm(double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: x, y, m - Creates a point geometry with an x y and m coordinate.

_raster_constraint_info_spatially_unique(name, name, name) FUNCTION SQL false boolean INVOKER
st_resize(raster, text, text, text, double precision) FUNCTION PLPGSQL true raster INVOKER

args: rast, width, height, algorithm=NearestNeighbor, maxerr=0.125 - Resize a raster to a new width/height

geometry_distance_centroid_nd(geometry, geometry) FUNCTION C true double precision INVOKER
addoverviewconstraints(name, name, name, name, name, name, integer) FUNCTION PLPGSQL false boolean INVOKER

args: ovschema, ovtable, ovcolumn, refschema, reftable, refcolumn, ovfactor - Tag a raster column as being an overview of another.

gbtreekey32_in(cstring) FUNCTION C true gbtreekey32 INVOKER
st_approxcount(raster, integer, double precision) FUNCTION SQL true bigint INVOKER
geography_out(geography) FUNCTION C true cstring INVOKER
st_multipointfromwkb(bytea) FUNCTION SQL true geometry INVOKER
_st_valuecount(text, text, integer, boolean, double precision[], double precision) FUNCTION C false SETOF record INVOKER
_st_distanceuncached(geography, geography) FUNCTION SQL true double precision INVOKER
raster_overleft(raster, raster) FUNCTION SQL true boolean INVOKER
st_mapalgebrafct(raster, regprocedure) FUNCTION SQL true raster INVOKER
intarray_push_elem(integer[], integer) FUNCTION C true ARRAY INVOKER
st_linefromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER

args: WKB, srid - Makes a LINESTRING from WKB with the given SRID

gettransactionid() FUNCTION C false xid INVOKER
st_intersection(raster, raster, double precision) FUNCTION SQL true raster INVOKER
st_forcecurve(geometry) FUNCTION C true geometry INVOKER

args: g - Upcast a geometry into its curved type, if applicable.

st_approxcount(raster, integer, boolean, double precision) FUNCTION SQL true bigint INVOKER
st_dumpvalues(raster, integer, boolean) FUNCTION SQL true ARRAY INVOKER

args: rast, nband, exclude_nodata_value=true - Get the values of the specified band as a 2-dimension array.

st_band(raster, text, character) FUNCTION SQL true raster INVOKER

args: rast, nbands, delimiter=, - Returns one or more bands of an existing raster as a new raster. Useful for building new rasters from existing rasters.

st_intersection(raster, raster, text, double precision) FUNCTION SQL true raster INVOKER
st_worldtorastercoordy(raster, double precision, double precision) FUNCTION SQL true integer INVOKER

args: rast, xw, yw - Returns the row in the raster of the point geometry (pt) or a X and Y world coordinate (xw, yw) represented in world spatial reference system of raster.

addgeometrycolumn(character varying, character varying, character varying, character varying, integer, character varying, integer, boolean) FUNCTION PLPGSQL false text INVOKER

args: catalog_name, schema_name, table_name, column_name, srid, type, dimension, use_typmod=true - Adds a geometry column to an existing table of attributes. By default uses type modifier to define rather than constraints. Pass in false for use_typmod to get old check constraint based behavior

st_setgeoreference(raster, double precision, double precision, double precision, double precision, double precision, double precision) FUNCTION SQL true raster INVOKER

args: rast, upperleftx, upperlefty, scalex, scaley, skewx, skewy - Set Georeference 6 georeference parameters in a single call. Numbers should be separated by white space. Accepts inputs in GDAL or ESRI format. Default is GDAL.

geography(geometry) FUNCTION C true geography INVOKER
st_snaptogrid(geometry, geometry, double precision, double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: geomA, pointOrigin, sizeX, sizeY, sizeZ, sizeM - Snap all points of the input geometry to a regular grid.

gin_compare_prefix_bit(bit, bit, smallint, internal) FUNCTION C true integer INVOKER
geometry_gist_same_2d(geometry, geometry, internal) FUNCTION C false internal INVOKER
_st_convertarray4ma(double precision[]) FUNCTION PLPGSQL true ARRAY INVOKER
geomfromewkt(text) FUNCTION C true geometry INVOKER
tstz_dist(timestamp with time zone, timestamp with time zone) FUNCTION C true interval INVOKER
st_force_3dz(geometry) FUNCTION SQL true geometry INVOKER
gbt_numeric_union(bytea, internal) FUNCTION C true gbtreekey_var INVOKER
st_asraster(geometry, integer, integer, double precision, double precision, text[], double precision[], double precision[], double precision, double precision, boolean) FUNCTION SQL true raster INVOKER

args: geom, width, height, gridx=NULL, gridy=NULL, pixeltype=ARRAY‘8BUI’, value=ARRAY1, nodataval=ARRAY0, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

st_lengthspheroid(geometry, spheroid) FUNCTION C true double precision INVOKER

args: a_geometry, a_spheroid - Calculates the 2D or 3D length/perimeter of a geometry on an ellipsoid. This is useful if the coordinates of the geometry are in longitude/latitude and a length is desired without reprojection.

dropgeometrytable(character varying) FUNCTION SQL false text INVOKER

args: table_name - Drops a table and all its references in geometry_columns.

st_intersection(raster, integer, raster, integer, double precision[]) FUNCTION SQL true raster INVOKER
st_pixelofvalue(raster, double precision, boolean) FUNCTION SQL true SETOF record INVOKER

args: rast, search, exclude_nodata_value=true - Get the columnx, rowy coordinates of the pixel whose value equals the search value.

st_pointinsidecircle(geometry, double precision, double precision, double precision) FUNCTION C true boolean INVOKER

args: a_point, center_x, center_y, radius - Is the point geometry inside the circle defined by center_x, center_y, radius

st_mapalgebra(raster, integer[], regprocedure, text, text, raster, integer, integer, text[]) FUNCTION PLPGSQL true raster INVOKER
st_mapalgebraexpr(raster, text, text, double precision) FUNCTION SQL true raster INVOKER
_add_raster_constraint_num_bands(name, name, name) FUNCTION PLPGSQL false boolean INVOKER
st_ispolygoncw(geometry) FUNCTION C true boolean INVOKER

args: geom - Returns true if all exterior rings are oriented clockwise and all interior rings are oriented counter-clockwise.

gbt_ts_picksplit(internal, internal) FUNCTION C true internal INVOKER
postgis_constraint_srid(text, text, text) FUNCTION SQL false integer INVOKER
gin_extract_query_bytea(bytea, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
st_astwkb(geometry, integer, integer, integer, boolean, boolean) FUNCTION C true bytea INVOKER

args: g1, decimaldigits_xy=0, decimaldigits_z=0, decimaldigits_m=0, include_sizes=false, include_bounding boxes=false - Returns the geometry as TWKB, aka “Tiny Well-Known Binary”

pgis_asmvt_transfn(internal, anyelement, text, integer) FUNCTION C true internal INVOKER
st_askml(integer, geography, integer, text) FUNCTION SQL true text INVOKER

args: version, geog, maxdecimaldigits=15, nprefix=NULL - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

st_curvetoline(geometry, integer) FUNCTION SQL true geometry INVOKER

args: curveGeom, segments_per_qtr_circle - Converts a CIRCULARSTRING/CURVEPOLYGON to a LINESTRING/POLYGON

st_rotate(geometry, double precision, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians, x0, y0 - Rotate a geometry rotRadians counter-clockwise about an origin.

st_approxsummarystats(raster, integer, boolean, double precision) FUNCTION SQL true summarystats INVOKER
_st_overlaps(geometry, geometry) FUNCTION C true boolean INVOKER
st_dump(geometry) FUNCTION C true SETOF geometry_dump INVOKER

args: g1 - Returns a set of geometry_dump (geom,path) rows, that make up a geometry g1.

st_quantile(raster, double precision[]) FUNCTION SQL true SETOF record INVOKER

args: rast, quantiles - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

gbt_date_compress(internal) FUNCTION C true internal INVOKER
geometry_gist_union_nd(bytea, internal) FUNCTION C false internal INVOKER
postgis_typmod_srid(integer) FUNCTION C true integer INVOKER
st_makepoint(double precision, double precision) FUNCTION C true geometry INVOKER

args: x, y - Creates a 2D,3DZ or 4D point geometry.

dblink_fetch(text, text, integer) FUNCTION C false SETOF record INVOKER
geometry_gist_decompress_2d(internal) FUNCTION C false internal INVOKER
st_linesubstring(geometry, double precision, double precision) FUNCTION C true geometry INVOKER

args: a_linestring, startfraction, endfraction - Return a linestring being a substring of the input one starting and ending at the given fractions of total 2d length. Second and third arguments are float8 values between 0 and 1.

gtrgm_out(gtrgm) FUNCTION C true cstring INVOKER
lockrow(text, text, text) FUNCTION SQL false integer INVOKER

args: a_table_name, a_row_key, an_auth_token - Set lock/authorization for specific row in table

overlaps_2d(box2df, geometry) FUNCTION C true boolean INVOKER
cash_dist(money, money) FUNCTION C true money INVOKER
st_longestline(geometry, geometry) FUNCTION SQL true geometry INVOKER

args: g1, g2 - Returns the 2-dimensional longest line points of two geometries. The function will only return the first longest line if more than one, that the function finds. The line returned will always start in g1 and end in g2. The length of the line this function returns will always be the same as st_maxdistance returns for g1 and g2.

_st_union_transfn(internal, raster, integer, text) FUNCTION C true internal INVOKER
geometry_lt(geometry, geometry) FUNCTION C true boolean INVOKER
st_polyfromwkb(bytea) FUNCTION SQL true geometry INVOKER
gin_extract_value_interval(interval, internal) FUNCTION C true internal INVOKER
_st_longestline(geometry, geometry) FUNCTION C true geometry INVOKER
geometry_in(cstring) FUNCTION C true geometry INVOKER
st_mapalgebrafct(raster, raster, regprocedure, text, text, text[]) FUNCTION SQL true raster INVOKER
idx(integer[], integer) FUNCTION C true integer INVOKER
st_geomcollfromwkb(bytea) FUNCTION SQL true geometry INVOKER
geography_le(geography, geography) FUNCTION C true boolean INVOKER
st_histogram(raster, integer, boolean, integer, boolean) FUNCTION SQL true SETOF record INVOKER

args: rast, nband, exclude_nodata_value, bins, right - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

st_translate(geometry, double precision, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: g1, deltax, deltay, deltaz - Translate a geometry by given offsets.

st_buffer(text, double precision, text) FUNCTION SQL true geometry INVOKER
st_setupperleft(raster, double precision, double precision) FUNCTION C true raster INVOKER

args: rast, x, y - Sets the value of the upper left corner of the pixel of the raster to projected X and Y coordinates.

box2d(box3d) FUNCTION C true box2d INVOKER
_st_union_finalfn(internal) FUNCTION C true raster INVOKER
st_memsize(raster) FUNCTION C true integer INVOKER

args: rast - Returns the amount of space (in bytes) the raster takes.

st_bandnodatavalue(raster, integer) FUNCTION C true double precision INVOKER

args: rast, bandnum=1 - Returns the value in a given band that represents no data. If no band num 1 is assumed.

st_tri(raster, integer, text, boolean) FUNCTION SQL true raster INVOKER
pgis_geometry_polygonize_finalfn(pgis_abs) FUNCTION C false geometry INVOKER
st_value(raster, integer, integer, integer, boolean) FUNCTION C true double precision INVOKER

args: rast, band, x, y, exclude_nodata_value=true - Returns the value of a given band in a given columnx, rowy pixel or at a particular geometric point. Band numbers start at 1 and assumed to be 1 if not specified. If exclude_nodata_value is set to false, then all pixels include nodata pixels are considered to intersect and return value. If exclude_nodata_value is not passed in then reads it from metadata of raster.

dblink_cancel_query(text) FUNCTION C false text INVOKER
st_pointn(geometry, integer) FUNCTION C true geometry INVOKER

args: a_linestring, n - Return the Nth point in the first LineString or circular LineString in the geometry. Negative values are counted backwards from the end of the LineString. Returns NULL if there is no linestring in the geometry.

gbt_date_consistent(internal, date, smallint, oid, internal) FUNCTION C true boolean INVOKER
_st_mapalgebra(rastbandarg[], regprocedure, text, integer, integer, text, raster, double precision[], boolean, text[]) FUNCTION C true raster INVOKER
gbt_date_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
intset(integer) FUNCTION C true ARRAY INVOKER
_st_slope4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
geometry(box2d) FUNCTION C true geometry INVOKER
gin_extract_query_date(date, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
_st_clip(raster, integer[], geometry, double precision[], boolean) FUNCTION C true raster INVOKER
g_int_decompress(internal) FUNCTION C true internal INVOKER
_add_raster_constraint_scale(name, name, name, character) FUNCTION PLPGSQL false boolean INVOKER
st_subdivide(geometry, integer) FUNCTION C true SETOF geometry INVOKER

args: geom, max_vertices=256 - Returns a set of geometry where no geometry in the set has more than the specified number of vertices.

st_valuecount(text, text, double precision[], double precision) FUNCTION SQL false SETOF record INVOKER

args: rastertable, rastercolumn, searchvalues, roundto=0, OUT value, OUT count - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

st_asjpeg(raster, integer[], integer) FUNCTION PLPGSQL true bytea INVOKER

args: rast, nbands, quality - Return the raster tile selected bands as a single Joint Photographic Exports Group (JPEG) image (byte array). If no band is specified and 1 or more than 3 bands, then only the first band is used. If only 3 bands then all 3 bands are used and mapped to RGB.

gbtreekey_var_in(cstring) FUNCTION C true gbtreekey_var INVOKER
st_asraster(geometry, double precision, double precision, text[], double precision[], double precision[], double precision, double precision, double precision, double precision, boolean) FUNCTION SQL true raster INVOKER

args: geom, scalex, scaley, pixeltype, value=ARRAY1, nodataval=ARRAY0, upperleftx=NULL, upperlefty=NULL, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

_st_tri4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
postgis_cache_bbox() FUNCTION C false trigger INVOKER
st_valuecount(raster, integer, double precision[], double precision) FUNCTION SQL true SETOF record INVOKER

args: rast, nband, searchvalues, roundto=0, OUT value, OUT count - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

_drop_raster_constraint_pixel_types(name, name, name) FUNCTION SQL false boolean INVOKER
st_curvetoline(geometry, double precision, integer, integer) FUNCTION C true geometry INVOKER

args: curveGeom, tolerance, tolerance_type, flags - Converts a CIRCULARSTRING/CURVEPOLYGON to a LINESTRING/POLYGON

_st_asraster(geometry, double precision, double precision, integer, integer, text[], double precision[], double precision[], double precision, double precision, double precision, double precision, double precision, double precision, boolean) FUNCTION C true raster INVOKER
geography_gist_union(bytea, internal) FUNCTION C false internal INVOKER
st_transform(geometry, text) FUNCTION SQL true geometry INVOKER

args: geom, to_proj - Return a new geometry with its coordinates transformed to a different spatial reference.

st_resample(raster, double precision, double precision, double precision, double precision, double precision, double precision, text, double precision) FUNCTION SQL true raster INVOKER

args: rast, scalex=0, scaley=0, gridx=NULL, gridy=NULL, skewx=0, skewy=0, algorithm=NearestNeighbor, maxerr=0.125 - Resample a raster using a specified resampling algorithm, new dimensions, an arbitrary grid corner and a set of raster georeferencing attributes defined or borrowed from another raster.

geometry_right(geometry, geometry) FUNCTION C true boolean INVOKER
uniq(integer[]) FUNCTION C true ARRAY INVOKER
_drop_raster_constraint(name, name, name) FUNCTION PLPGSQL false boolean INVOKER
pgis_geometry_collect_finalfn(pgis_abs) FUNCTION C false geometry INVOKER
intset_subtract(integer[], integer[]) FUNCTION C true ARRAY INVOKER
st_reskew(raster, double precision, text, double precision) FUNCTION SQL true raster INVOKER

args: rast, skewxy, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster by adjusting only its skew (or rotation parameters). New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

st_astiff(raster, integer[], text[], integer) FUNCTION SQL true bytea INVOKER

args: rast, nbands, options, srid=sameassource - Return the raster selected bands as a single TIFF image (byte array). If no band is specified, then will try to use all bands.

_st_reclass(raster, reclassarg[]) FUNCTION C true raster INVOKER
st_seteffectivearea(geometry, double precision, integer) FUNCTION C true geometry INVOKER

args: geomA, threshold = 0, set_area = 1 - Sets the effective area for each vertex, storing the value in the M ordinate. A simplified geometry can then be generated by filtering on the M ordinate.

st_geomcollfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
st_geomfromewkb(bytea) FUNCTION C true geometry INVOKER

args: EWKB - Return a specified ST_Geometry value from Extended Well-Known Binary representation (EWKB).

st_unaryunion(geometry) FUNCTION C true geometry INVOKER

args: geom - Like ST_Union, but working at the geometry component level.

st_worldtorastercoord(raster, double precision, double precision) FUNCTION SQL true record INVOKER

args: rast, longitude, latitude - Returns the upper left corner as column and row given geometric X and Y (longitude and latitude) or a point geometry expressed in the spatial reference coordinate system of the raster.

st_clip(raster, geometry, double precision, boolean) FUNCTION SQL true raster INVOKER
st_force_collection(geometry) FUNCTION SQL true geometry INVOKER
st_clusterwithin(geometry[], double precision) FUNCTION C true ARRAY INVOKER
_st_intersects(raster, integer, raster, integer) FUNCTION C true boolean INVOKER
st_max4ma(double precision[], text, text[]) FUNCTION PLPGSQL true double precision INVOKER
st_locate_along_measure(geometry, double precision) FUNCTION SQL true geometry INVOKER
dblink_get_notify() FUNCTION C false SETOF record INVOKER
gin_compare_prefix_cidr(cidr, cidr, smallint, internal) FUNCTION C true integer INVOKER
st_dimension(geometry) FUNCTION C true integer INVOKER

args: g - The inherent dimension of this Geometry object, which must be less than or equal to the coordinate dimension.

st_setsrid(geography, integer) FUNCTION C true geography INVOKER
st_normalize(geometry) FUNCTION C true geometry INVOKER

args: geom - Return the geometry in its canonical form.

st_buffer(geometry, double precision, integer) FUNCTION SQL true geometry INVOKER

args: g1, radius_of_buffer, num_seg_quarter_circle - (T)Returns a geometry covering all points within a given distancefrom the input geometry.

st_addpoint(geometry, geometry, integer) FUNCTION C true geometry INVOKER

args: linestring, point, position - Add a point to a LineString.

_st_distancetree(geography, geography, double precision, boolean) FUNCTION C true double precision INVOKER
st_mapalgebrafct(raster, integer, raster, integer, regprocedure, text, text, text[]) FUNCTION C true raster INVOKER
_add_raster_constraint_pixel_types(name, name, name) FUNCTION PLPGSQL false boolean INVOKER
gbt_timetz_consistent(internal, time with time zone, smallint, oid, internal) FUNCTION C true boolean INVOKER
st_scale(geometry, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, XFactor, YFactor - Scale a geometry by given factors.

st_reverse(geometry) FUNCTION C true geometry INVOKER

args: g1 - Return the geometry with vertex order reversed.

st_setgeoreference(raster, text, text) FUNCTION PLPGSQL true raster INVOKER

args: rast, georefcoords, format=GDAL - Set Georeference 6 georeference parameters in a single call. Numbers should be separated by white space. Accepts inputs in GDAL or ESRI format. Default is GDAL.

st_wkttosql(text) FUNCTION C true geometry INVOKER

args: WKT - Return a specified ST_Geometry value from Well-Known Text representation (WKT). This is an alias name for ST_GeomFromText

st_dwithin(text, text, double precision) FUNCTION SQL true boolean INVOKER
st_union(geometry[]) FUNCTION C true geometry INVOKER

args: g1_array - Returns a geometry that represents the point set union of the Geometries.

geometry(geography) FUNCTION C true geometry INVOKER
_int_inter(integer[], integer[]) FUNCTION C true ARRAY INVOKER
st_tile(raster, integer[], integer, integer, boolean, double precision) FUNCTION SQL true SETOF raster INVOKER

args: rast, nband, width, height, padwithnodata=FALSE, nodataval=NULL - Returns a set of rasters resulting from the split of the input raster based upon the desired dimensions of the output rasters.

st_relate(geometry, geometry, integer) FUNCTION C true text INVOKER

args: geomA, geomB, BoundaryNodeRule - Returns true if this Geometry is spatially related to anotherGeometry, by testing for intersections between the Interior, Boundary and Exterior of the two geometries as specified by the values in the intersectionMatrixPattern. If no intersectionMatrixPattern is passed in, then returns the maximum intersectionMatrixPattern that relates the 2 geometries.

dblink_fetch(text, integer) FUNCTION C false SETOF record INVOKER
_postgis_deprecate(text, text, text) FUNCTION PLPGSQL true void INVOKER
st_combinebbox(box3d, box3d) FUNCTION C true box3d INVOKER
droprasterconstraints(name, name, name, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) FUNCTION PLPGSQL false boolean INVOKER

args: rastschema, rasttable, rastcolumn, srid=true, scale_x=true, scale_y=true, blocksize_x=true, blocksize_y=true, same_alignment=true, regular_blocking=false, num_bands=true, pixel_types=true, nodata_values=true, out_db=true, extent=true - Drops PostGIS raster constraints that refer to a raster table column. Useful if you need to reload data or update your raster column data.

raster_overabove(raster, raster) FUNCTION SQL true boolean INVOKER
st_approxquantile(text, text, double precision[]) FUNCTION SQL false SETOF record INVOKER
_drop_overview_constraint(name, name, name) FUNCTION SQL false boolean INVOKER
gbt_ts_compress(internal) FUNCTION C true internal INVOKER
_raster_constraint_info_extent(name, name, name) FUNCTION SQL false geometry INVOKER
_st_quantile(raster, integer, boolean, double precision, double precision[]) FUNCTION C true SETOF record INVOKER
geography_distance_knn(geography, geography) FUNCTION C true double precision INVOKER
st_pointfromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Makes a point Geometry from WKT with the given SRID. If SRID is not given, it defaults to unknown.

oid_dist(oid, oid) FUNCTION C true oid INVOKER
is_contained_2d(geometry, box2df) FUNCTION SQL true boolean INVOKER
st_clusterintersecting(geometry[]) FUNCTION C true ARRAY INVOKER
st_setscale(raster, double precision) FUNCTION C true raster INVOKER

args: rast, xy - Sets the X and Y size of pixels in units of coordinate reference system. Number units/pixel width/height.

st_union(raster) AGGREGATE INTERNAL true raster INVOKER
geometry_le(geometry, geometry) FUNCTION C true boolean INVOKER
similarity_op(text, text) FUNCTION C false boolean INVOKER
st_histogram(text, text, integer, integer, double precision[], boolean) FUNCTION SQL false SETOF record INVOKER

args: rastertable, rastercolumn, nband=1, bins, width=NULL, right=false - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

gbt_bytea_same(internal, internal, internal) FUNCTION C true internal INVOKER
postgis_noop(raster) FUNCTION C false geometry INVOKER
st_pointfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
st_within(raster, raster) FUNCTION SQL true boolean INVOKER

args: rastA, rastB - Return true if no points of raster rastA lie in the exterior of raster rastB and at least one point of the interior of rastA lies in the interior of rastB.

g_int_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
contains_2d(geometry, box2df) FUNCTION SQL true boolean INVOKER
_st_countagg_finalfn(agg_count) FUNCTION PLPGSQL true bigint INVOKER
st_locatealong(geometry, double precision, double precision) FUNCTION C true geometry INVOKER

args: ageom_with_measure, a_measure, offset - Return a derived geometry collection value with elements that match the specified measure. Polygonal elements are not supported.

_st_voronoi(geometry, geometry, double precision, boolean) FUNCTION C true geometry INVOKER
st_intersects(raster, integer, raster, integer) FUNCTION SQL true boolean INVOKER

args: rastA, nbandA, rastB, nbandB - Return true if raster rastA spatially intersects raster rastB.

populate_geometry_columns(oid, boolean) FUNCTION PLPGSQL false integer INVOKER

args: relation_oid, use_typmod=true - Ensures geometry columns are defined with type modifiers or have appropriate spatial constraints This ensures they will be registered correctly in geometry_columns view. By default will convert all geometry columns with no type modifier to ones with type modifiers. To get old behavior set use_typmod=false

__st_countagg_transfn(agg_count, raster, integer, boolean, double precision) FUNCTION PLPGSQL true agg_count INVOKER
gin_compare_prefix_money(money, money, smallint, internal) FUNCTION C true integer INVOKER
st_metadata(raster) FUNCTION C true record INVOKER

args: rast - Returns basic meta data about a raster object such as pixel size, rotation (skew), upper, lower left, etc.

gbt_int2_consistent(internal, smallint, smallint, oid, internal) FUNCTION C true boolean INVOKER
gbt_int4_distance(internal, integer, smallint, oid) FUNCTION C true double precision INVOKER
geometry(geometry, integer, boolean) FUNCTION C true geometry INVOKER
_st_contains(geometry, geometry) FUNCTION C true boolean INVOKER
_raster_constraint_info_blocksize(name, name, name, text) FUNCTION SQL false integer INVOKER
st_quantile(raster, double precision) FUNCTION SQL true double precision INVOKER

args: rast, quantile - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

st_point_inside_circle(geometry, double precision, double precision, double precision) FUNCTION SQL true boolean INVOKER
getdate() FUNCTION SQL false timestamp with time zone INVOKER
gin_extract_query_timestamp(timestamp without time zone, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
st_symmetricdifference(geometry, geometry) FUNCTION C true geometry INVOKER
geometry_distance_centroid(geometry, geometry) FUNCTION C true double precision INVOKER
gin_extract_value_macaddr(macaddr, internal) FUNCTION C true internal INVOKER
st_disjoint(raster, integer, raster, integer) FUNCTION SQL true boolean INVOKER

args: rastA, nbandA, rastB, nbandB - Return true if raster rastA does not spatially intersect rastB.

postgis_constraint_dims(text, text, text) FUNCTION SQL false integer INVOKER
st_aspng(raster, integer, text[]) FUNCTION SQL true bytea INVOKER

args: rast, nband, options=NULL - Return the raster tile selected bands as a single portable network graphics (PNG) image (byte array). If 1, 3, or 4 bands in raster and no bands are specified, then all bands are used. If more 2 or more than 4 bands and no bands specified, then only band 1 is used. Bands are mapped to RGB or RGBA space.

postgis_raster_scripts_installed() FUNCTION SQL true text INVOKER
st_summarystats(text, text, boolean) FUNCTION SQL false summarystats INVOKER

args: rastertable, rastercolumn, exclude_nodata_value - Returns summarystats consisting of count, sum, mean, stddev, min, max for a given raster band of a raster or raster coverage. Band 1 is assumed is no band is specified.

st_equals(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: A, B - Returns true if the given geometries represent the same geometry. Directionality is ignored.

st_intersection(raster, integer, raster, integer, text, double precision) FUNCTION SQL true raster INVOKER
st_iscoveragetile(raster, raster, integer, integer) FUNCTION PLPGSQL true boolean INVOKER
box3d_in(cstring) FUNCTION C true box3d INVOKER
st_mpolyfromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Makes a MultiPolygon Geometry from WKT with the given SRID. If SRID is not given, it defaults to 0.

st_perimeter(geometry) FUNCTION C true double precision INVOKER

args: g1 - Return the length measurement of the boundary of an ST_Surface or ST_MultiSurface geometry or geography. (Polygon, MultiPolygon). geometry measurement is in units of spatial reference and geography is in meters.

st_transform(raster, integer, double precision, text, double precision) FUNCTION SQL true raster INVOKER
st_dwithin(geometry, geometry, double precision) FUNCTION SQL true boolean INVOKER

args: g1, g2, distance_of_srid - Returns true if the geometries are within the specified distance of one another. For geometry units are in those of spatial reference and For geography units are in meters and measurement is defaulted to use_spheroid=true (measure around spheroid), for faster check, use_spheroid=false to measure along sphere.

pgis_geometry_clusterwithin_finalfn(pgis_abs) FUNCTION C false ARRAY INVOKER
postgis_gdal_version() FUNCTION C true text INVOKER

Reports the version of the GDAL library in use by PostGIS.

gbt_float8_compress(internal) FUNCTION C true internal INVOKER
st_hausdorffdistance(geometry, geometry, double precision) FUNCTION C true double precision INVOKER

args: g1, g2, densifyFrac - Returns the Hausdorff distance between two geometries. Basically a measure of how similar or dissimilar 2 geometries are. Units are in the units of the spatial reference system of the geometries.

_st_neighborhood(raster, integer, integer, integer, integer, integer, boolean) FUNCTION C true ARRAY INVOKER
st_linestringfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER

args: WKB, srid - Makes a geometry from WKB with the given SRID.

st_reclass(raster, integer, text, text, double precision) FUNCTION SQL true raster INVOKER
gbt_cash_consistent(internal, money, smallint, oid, internal) FUNCTION C true boolean INVOKER
_st_3dintersects(geometry, geometry) FUNCTION C true boolean INVOKER
st_coveredby(raster, raster) FUNCTION SQL true boolean INVOKER

args: rastA, rastB - Return true if no points of raster rastA lie outside raster rastB.

st_pixelaspolygons(raster, integer, boolean) FUNCTION SQL true SETOF record INVOKER

args: rast, band=1, exclude_nodata_value=TRUE - Returns the polygon geometry that bounds every pixel of a raster band along with the value, the X and the Y raster coordinates of each pixel.

_st_equals(geometry, geometry) FUNCTION C true boolean INVOKER
gbt_int2_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
gin_extract_value_numeric(numeric, internal) FUNCTION C true internal INVOKER
st_transform(raster, integer, double precision, double precision, text, double precision) FUNCTION SQL true raster INVOKER

args: rast, srid, scalex, scaley, algorithm=NearestNeighbor, maxerr=0.125 - Reprojects a raster in a known spatial reference system to another known spatial reference system using specified resampling algorithm. Options are NearestNeighbor, Bilinear, Cubic, CubicSpline, Lanczos defaulting to NearestNeighbor.

st_addpoint(geometry, geometry) FUNCTION C true geometry INVOKER

args: linestring, point - Add a point to a LineString.

st_union(raster, integer, text) AGGREGATE INTERNAL true raster INVOKER
st_setbandnodatavalue(raster, integer, double precision, boolean) FUNCTION C true raster INVOKER

args: rast, band, nodatavalue, forcechecking=false - Sets the value for the given band that represents no data. Band 1 is assumed if no band is specified. To mark a band as having no nodata value, set the nodata value = NULL.

geometry(box3d) FUNCTION C true geometry INVOKER
st_iscollection(geometry) FUNCTION C true boolean INVOKER

args: g - Returns TRUE if the argument is a collection (MULTI*, GEOMETRYCOLLECTION, …)

gin_compare_prefix_float4(real, real, smallint, internal) FUNCTION C true integer INVOKER
st_asbinary(raster, boolean) FUNCTION C true bytea INVOKER

args: rast, outasin=FALSE - Return the Well-Known Binary (WKB) representation of the raster.

dblink_exec(text) FUNCTION C false text INVOKER
st_asencodedpolyline(geometry, integer) FUNCTION C true text INVOKER

args: geom, precision=5 - Returns an Encoded Polyline from a LineString geometry.

st_clip(raster, integer, geometry, double precision, boolean) FUNCTION SQL true raster INVOKER
st_valuepercent(raster, integer, double precision, double precision) FUNCTION SQL true double precision INVOKER
geometry_gist_picksplit_nd(internal, internal) FUNCTION C false internal INVOKER
st_approxhistogram(raster, integer, double precision, integer, double precision[], boolean) FUNCTION SQL true SETOF record INVOKER
rboolop(query_int, integer[]) FUNCTION C true boolean INVOKER

boolean operation with array

updaterastersrid(name, name, name, integer) FUNCTION SQL false boolean INVOKER

args: schema_name, table_name, column_name, new_srid - Change the SRID of all rasters in the user-specified column and table.

st_polygonfromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Makes a Geometry from WKT with the given SRID. If SRID is not given, it defaults to 0.

st_removepoint(geometry, integer) FUNCTION C true geometry INVOKER

args: linestring, offset - Remove point from a linestring.

st_convexhull(raster) FUNCTION C true geometry INVOKER
st_setvalues(raster, integer, integer, integer, double precision[], boolean[], boolean) FUNCTION SQL true raster INVOKER

args: rast, nband, columnx, rowy, newvalueset, noset=NULL, keepnodata=FALSE - Returns modified raster resulting from setting the values of a given band.

dblink(text) FUNCTION C false SETOF record INVOKER
dblink_get_connections() FUNCTION C false ARRAY INVOKER
_st_buffer(geometry, double precision, cstring) FUNCTION C true geometry INVOKER
st_mapalgebra(rastbandarg[], regprocedure, text, text, raster, integer, integer, text[]) FUNCTION SQL true raster INVOKER
st_intersection(raster, raster, double precision[]) FUNCTION SQL true raster INVOKER
st_transform(geometry, text, integer) FUNCTION SQL true geometry INVOKER

args: geom, from_proj, to_srid - Return a new geometry with its coordinates transformed to a different spatial reference.

st_asraster(geometry, double precision, double precision, double precision, double precision, text[], double precision[], double precision[], double precision, double precision, boolean) FUNCTION SQL true raster INVOKER

args: geom, scalex, scaley, gridx=NULL, gridy=NULL, pixeltype=ARRAY‘8BUI’, value=ARRAY1, nodataval=ARRAY0, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

_st_maxdistance(geometry, geometry) FUNCTION C true double precision INVOKER
st_approxquantile(raster, integer, double precision, double precision) FUNCTION SQL true double precision INVOKER
st_clip(raster, integer, geometry, boolean) FUNCTION SQL true raster INVOKER
st_distance(geometry, geometry) FUNCTION C true double precision INVOKER

args: g1, g2 - For geometry type Returns the 2D Cartesian distance between two geometries in projected units (based on spatial ref). For geography type defaults to return minimum geodesic distance between two geographies in meters.

st_asgeobuf(anyelement, text) AGGREGATE INTERNAL true bytea INVOKER

args: row, geom_name - Return a Geobuf representation of a set of rows.

gin_extract_query_money(money, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
g_int_same(integer[], integer[], internal) FUNCTION C true internal INVOKER
st_interiorringn(geometry, integer) FUNCTION C true geometry INVOKER

args: a_polygon, n - Return the Nth interior linestring ring of the polygon geometry. Return NULL if the geometry is not a polygon or the given N is out of range.

dblink_build_sql_update(text, int2vector, integer, text[], text[]) FUNCTION C false text INVOKER
overlaps_nd(gidx, geometry) FUNCTION C true boolean INVOKER
st_distancecpa(geometry, geometry) FUNCTION C true double precision INVOKER

args: track1, track2 - Returns the distance between closest points of approach in two trajectories.

_raster_constraint_info_scale(name, name, name, character) FUNCTION SQL false double precision INVOKER
st_relate(geometry, geometry, text) FUNCTION C true boolean INVOKER

args: geomA, geomB, intersectionMatrixPattern - Returns true if this Geometry is spatially related to anotherGeometry, by testing for intersections between the Interior, Boundary and Exterior of the two geometries as specified by the values in the intersectionMatrixPattern. If no intersectionMatrixPattern is passed in, then returns the maximum intersectionMatrixPattern that relates the 2 geometries.

g_intbig_consistent(internal, internal, integer, oid, internal) FUNCTION C true boolean INVOKER
st_envelope(raster) FUNCTION C true geometry INVOKER
geometry_above(geometry, geometry) FUNCTION C true boolean INVOKER
postgis_typmod_dims(integer) FUNCTION C true integer INVOKER
st_buffer(geography, double precision) FUNCTION SQL true geography INVOKER

args: g1, radius_of_buffer_in_meters - (T)Returns a geometry covering all points within a given distancefrom the input geometry.

st_buffer(text, double precision, integer) FUNCTION SQL true geometry INVOKER
st_geomfromtwkb(bytea) FUNCTION C true geometry INVOKER

args: twkb - Creates a geometry instance from a TWKB (“Tiny Well-Known Binary”) geometry representation.

box(geometry) FUNCTION C true box INVOKER
st_value(raster, integer, geometry, boolean) FUNCTION PLPGSQL true double precision INVOKER

args: rast, band, pt, exclude_nodata_value=true - Returns the value of a given band in a given columnx, rowy pixel or at a particular geometric point. Band numbers start at 1 and assumed to be 1 if not specified. If exclude_nodata_value is set to false, then all pixels include nodata pixels are considered to intersect and return value. If exclude_nodata_value is not passed in then reads it from metadata of raster.

gin_compare_prefix_timestamp(timestamp without time zone, timestamp without time zone, smallint, internal) FUNCTION C true integer INVOKER
st_asgml(geometry, integer, integer) FUNCTION SQL true text INVOKER

args: geom, maxdecimaldigits=15, options=0 - Return the geometry as a GML version 2 or 3 element.

st_hausdorffdistance(geometry, geometry) FUNCTION C true double precision INVOKER

args: g1, g2 - Returns the Hausdorff distance between two geometries. Basically a measure of how similar or dissimilar 2 geometries are. Units are in the units of the spatial reference system of the geometries.

st_sharedpaths(geometry, geometry) FUNCTION C true geometry INVOKER

args: lineal1, lineal2 - Returns a collection containing paths shared by the two input linestrings/multilinestrings.

_updaterastersrid(name, name, name, integer) FUNCTION PLPGSQL false boolean INVOKER
st_worldtorastercoord(raster, geometry) FUNCTION PLPGSQL true record INVOKER

args: rast, pt - Returns the upper left corner as column and row given geometric X and Y (longitude and latitude) or a point geometry expressed in the spatial reference coordinate system of the raster.

st_astext(geometry) FUNCTION C true text INVOKER

args: g1 - Return the Well-Known Text (WKT) representation of the geometry/geography without SRID metadata.

st_scaley(raster) FUNCTION C true double precision INVOKER

args: rast - Returns the Y component of the pixel height in units of coordinate reference system.

st_isvalidtrajectory(geometry) FUNCTION C true boolean INVOKER

args: line - Returns true if the geometry is a valid trajectory.

st_mapalgebra(raster, integer, regprocedure, text, text, raster, integer, integer, text[]) FUNCTION SQL true raster INVOKER
_drop_raster_constraint_alignment(name, name, name) FUNCTION SQL false boolean INVOKER
st_buffer(geography, double precision, integer) FUNCTION SQL true geography INVOKER

args: g1, radius_of_buffer, num_seg_quarter_circle - (T)Returns a geometry covering all points within a given distancefrom the input geometry.

st_mpointfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
intpkmax() FUNCTION PLPGSQL false SETOF record INVOKER
st_asraster(geometry, raster, text[], double precision[], double precision[], boolean) FUNCTION PLPGSQL true raster INVOKER

args: geom, ref, pixeltype=ARRAY‘8BUI’, value=ARRAY1, nodataval=ARRAY0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

postgis_libxml_version() FUNCTION C true text INVOKER

Returns the version number of the libxml2 library.

geometry(bytea) FUNCTION C true geometry INVOKER
st_centroid(geometry) FUNCTION C true geometry INVOKER

args: g1 - Returns the geometric center of a geometry.

st_countagg(raster, integer, boolean) AGGREGATE INTERNAL true bigint INVOKER

args: rast, nband, exclude_nodata_value - Aggregate. Returns the number of pixels in a given band of a set of rasters. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the NODATA value.

st_line_locate_point(geometry, geometry) FUNCTION SQL true double precision INVOKER
_add_raster_constraint_nodata_values(name, name, name) FUNCTION PLPGSQL false boolean INVOKER
st_pixelofvalue(raster, integer, double precision[], boolean) FUNCTION C true SETOF record INVOKER

args: rast, nband, search, exclude_nodata_value=true - Get the columnx, rowy coordinates of the pixel whose value equals the search value.

overlaps_geog(gidx, geography) FUNCTION C true boolean INVOKER
st_askml(text) FUNCTION SQL true text INVOKER
st_mapalgebrafct(raster, integer, regprocedure, text[]) FUNCTION SQL true raster INVOKER
dblink_exec(text, text, boolean) FUNCTION C false text INVOKER
postgis_lib_build_date() FUNCTION C true text INVOKER

Returns build date of the PostGIS library.

st_zmax(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns Z minima of a bounding box 2d or 3d or a geometry.

st_numbands(raster) FUNCTION C true integer INVOKER

args: rast - Returns the number of bands in the raster object.

st_mpolyfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
postgis_geos_version() FUNCTION C true text INVOKER

Returns the version number of the GEOS library.

st_valuecount(raster, double precision[], double precision) FUNCTION SQL true SETOF record INVOKER

args: rast, searchvalues, roundto=0, OUT value, OUT count - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

geography_eq(geography, geography) FUNCTION C true boolean INVOKER
_overview_constraint(raster, integer, name, name, name) FUNCTION SQL false boolean INVOKER
_st_covers(geography, geography) FUNCTION C true boolean INVOKER
int8_dist(bigint, bigint) FUNCTION C true bigint INVOKER
raster_contained(raster, raster) FUNCTION SQL true boolean INVOKER
geometry_within(geometry, geometry) FUNCTION C true boolean INVOKER
_st_pixelaspolygons(raster, integer, integer, integer, boolean) FUNCTION C true SETOF record INVOKER
geometry_out(geometry) FUNCTION C true cstring INVOKER
postgis_scripts_installed() FUNCTION SQL true text INVOKER

Returns version of the postgis scripts installed in this database.

_int_same(integer[], integer[]) FUNCTION C true boolean INVOKER

same as

st_expand(geometry, double precision) FUNCTION C true geometry INVOKER

args: geom, units_to_expand - Returns bounding box expanded in all directions from the bounding box of the input geometry. Uses double-precision

geometry_below(geometry, geometry) FUNCTION C true boolean INVOKER
_drop_raster_constraint_extent(name, name, name) FUNCTION SQL false boolean INVOKER
st_force3dm(geometry) FUNCTION C true geometry INVOKER

args: geomA - Force the geometries into XYM mode.

st_forcerhr(geometry) FUNCTION C true geometry INVOKER

args: g - Force the orientation of the vertices in a polygon to follow the Right-Hand-Rule.

st_worldtorastercoordy(raster, double precision) FUNCTION SQL true integer INVOKER

args: rast, xw - Returns the row in the raster of the point geometry (pt) or a X and Y world coordinate (xw, yw) represented in world spatial reference system of raster.

geometry_left(geometry, geometry) FUNCTION C true boolean INVOKER
geometry_raster_overlap(geometry, raster) FUNCTION SQL true boolean INVOKER
gbt_int2_picksplit(internal, internal) FUNCTION C true internal INVOKER
st_3ddfullywithin(geometry, geometry, double precision) FUNCTION SQL true boolean INVOKER

args: g1, g2, distance - Returns true if all of the 3D geometries are within the specified distance of one another.

st_issimple(geometry) FUNCTION C true boolean INVOKER

args: geomA - Returns (TRUE) if this Geometry has no anomalous geometric points, such as self intersection or self tangency.

st_retile(regclass, name, geometry, double precision, double precision, integer, integer, text) FUNCTION PLPGSQL false SETOF raster INVOKER

args: tab, col, ext, sfx, sfy, tw, th, algo=‘NearestNeighbor’ - Return a set of configured tiles from an arbitrarily tiled raster coverage.

gbt_int4_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
st_disjoint(geometry, geometry) FUNCTION C true boolean INVOKER

args: A, B - Returns TRUE if the Geometries do not “spatially intersect” - if they do not share any space together.

st_asewkb(geometry) FUNCTION C true bytea INVOKER

args: g1 - Return the Well-Known Binary (WKB) representation of the geometry with SRID meta data.

st_resample(raster, raster, text, double precision, boolean) FUNCTION PLPGSQL true raster INVOKER

args: rast, ref, algorithm=NearestNeighbour, maxerr=0.125, usescale=true - Resample a raster using a specified resampling algorithm, new dimensions, an arbitrary grid corner and a set of raster georeferencing attributes defined or borrowed from another raster.

st_mlinefromwkb(bytea) FUNCTION SQL true geometry INVOKER
addoverviewconstraints(name, name, name, name, integer) FUNCTION SQL false boolean INVOKER

args: ovtable, ovcolumn, reftable, refcolumn, ovfactor - Tag a raster column as being an overview of another.

st_worldtorastercoordx(raster, double precision) FUNCTION SQL true integer INVOKER

args: rast, xw - Returns the column in the raster of the point geometry (pt) or a X and Y world coordinate (xw, yw) represented in world spatial reference system of raster.

st_curvetoline(geometry) FUNCTION SQL true geometry INVOKER

args: curveGeom - Converts a CIRCULARSTRING/CURVEPOLYGON to a LINESTRING/POLYGON

st_approxcount(text, text, double precision) FUNCTION SQL false bigint INVOKER
st_bdmpolyfromtext(text, integer) FUNCTION PLPGSQL true geometry INVOKER

args: WKT, srid - Construct a MultiPolygon given an arbitrary collection of closed linestrings as a MultiLineString text representation Well-Known text representation.

postgis_raster_lib_version() FUNCTION C true text INVOKER

Reports full raster version and build configuration infos.

gin_extract_value_date(date, internal) FUNCTION C true internal INVOKER
st_approxsummarystats(raster, double precision) FUNCTION SQL true summarystats INVOKER
st_count(text, text, integer, boolean) FUNCTION SQL false bigint INVOKER

args: rastertable, rastercolumn, nband=1, exclude_nodata_value=true - Returns the number of pixels in a given band of a raster or raster coverage. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the nodata value.

st_isempty(raster) FUNCTION C true boolean INVOKER

args: rast - Returns true if the raster is empty (width = 0 and height = 0). Otherwise, returns false.

dblink_build_sql_insert(text, int2vector, integer, text[], text[]) FUNCTION C false text INVOKER
dblink_fdw_validator(text[], oid) FUNCTION C false void INVOKER
dblink_close(text, text, boolean) FUNCTION C false text INVOKER
st_geohash(geometry, integer) FUNCTION C true text INVOKER

args: geom, maxchars=full_precision_of_point - Return a GeoHash representation of the geometry.

st_rastertoworldcoordx(raster, integer) FUNCTION SQL true double precision INVOKER

args: rast, xcolumn - Returns the geometric X coordinate upper left of a raster, column and row. Numbering of columns and rows starts at 1.

_drop_raster_constraint_srid(name, name, name) FUNCTION SQL false boolean INVOKER
intset_union_elem(integer[], integer) FUNCTION C true ARRAY INVOKER
st_reclass(raster, text, text) FUNCTION SQL true raster INVOKER
st_pointfromwkb(bytea) FUNCTION SQL true geometry INVOKER
st_valuecount(text, text, integer, boolean, double precision[], double precision) FUNCTION SQL false SETOF record INVOKER

args: rastertable, rastercolumn, nband=1, exclude_nodata_value=true, searchvalues=NULL, roundto=0, OUT value, OUT count - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

geography_gist_consistent(internal, geography, integer) FUNCTION C false boolean INVOKER
dropoverviewconstraints(name, name, name) FUNCTION PLPGSQL false boolean INVOKER

args: ovschema, ovtable, ovcolumn - Untag a raster column from being an overview of another.

geometry_contained_by_raster(geometry, raster) FUNCTION SQL true boolean INVOKER
sort_asc(integer[]) FUNCTION C true ARRAY INVOKER
gbt_macad_union(bytea, internal) FUNCTION C true gbtreekey16 INVOKER
gbt_tstz_consistent(internal, timestamp with time zone, smallint, oid, internal) FUNCTION C true boolean INVOKER
geometry_distance_box(geometry, geometry) FUNCTION C true double precision INVOKER
gin_compare_prefix_bytea(bytea, bytea, smallint, internal) FUNCTION C true integer INVOKER
st_memsize(geometry) FUNCTION C true integer INVOKER

args: geomA - Returns the amount of space (in bytes) the geometry takes.

geometry_gist_consistent_nd(internal, geometry, integer) FUNCTION C false boolean INVOKER
gbt_float4_distance(internal, real, smallint, oid) FUNCTION C true double precision INVOKER
st_mpolyfromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Makes a MultiPolygon Geometry from WKT with the given SRID. If SRID is not given, it defaults to 0.

dblink_connect(text) FUNCTION C false text INVOKER
dblink_exec(text, boolean) FUNCTION C false text INVOKER
_st_count(text, text, integer, boolean, double precision) FUNCTION PLPGSQL false bigint INVOKER
gin_extract_query_int2(smallint, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
st_geogfromwkb(bytea) FUNCTION C true geography INVOKER

args: wkb - Creates a geography instance from a Well-Known Binary geometry representation (WKB) or extended Well Known Binary (EWKB).

st_transform(geometry, text, text) FUNCTION SQL true geometry INVOKER

args: geom, from_proj, to_proj - Return a new geometry with its coordinates transformed to a different spatial reference.

st_scale(geometry, geometry) FUNCTION C true geometry INVOKER

args: geom, factor - Scale a geometry by given factors.

st_closestpoint(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns the 2-dimensional point on g1 that is closest to g2. This is the first point of the shortest line.

st_geomfromtext(text) FUNCTION C true geometry INVOKER

args: WKT - Return a specified ST_Geometry value from Well-Known Text representation (WKT).

st_upperleftx(raster) FUNCTION C true double precision INVOKER

args: rast - Returns the upper left X coordinate of raster in projected spatial ref.

wildcard_drop_tables(text, text) FUNCTION PLPGSQL false void INVOKER
st_touches(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: g1, g2 - Returns TRUE if the geometries have at least one point in common, but their interiors do not intersect.

st_asraster(geometry, double precision, double precision, double precision, double precision, text, double precision, double precision, double precision, double precision, boolean) FUNCTION SQL true raster INVOKER

args: geom, scalex, scaley, gridx, gridy, pixeltype, value=1, nodataval=0, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

st_asx3d(geometry, integer, integer) FUNCTION SQL true text INVOKER

args: g1, maxdecimaldigits=15, options=0 - Returns a Geometry in X3D xml node element format: ISO-IEC-19776-1.2-X3DEncodings-XML

path(geometry) FUNCTION C true path INVOKER
st_valuepercent(raster, double precision, double precision) FUNCTION SQL true double precision INVOKER
bytea(raster) FUNCTION C true bytea INVOKER
st_samealignment(raster, raster) FUNCTION C true boolean INVOKER

args: rastA, rastB - Returns true if rasters have same skew, scale, spatial ref, and offset (pixels can be put on same grid without cutting into pixels) and false if they dont with notice detailing issue.

st_dfullywithin(geometry, geometry, double precision) FUNCTION SQL true boolean INVOKER

args: g1, g2, distance - Returns true if all of the geometries are within the specified distance of one another

st_intersection(raster, integer, raster, integer, text, double precision[]) FUNCTION PLPGSQL false raster INVOKER
_intbig_in(cstring) FUNCTION C true intbig_gkey INVOKER
postgis_constraint_type(text, text, text) FUNCTION SQL false character varying INVOKER
gbt_numeric_picksplit(internal, internal) FUNCTION C true internal INVOKER
st_delaunaytriangles(geometry, double precision, integer) FUNCTION C true geometry INVOKER

args: g1, tolerance, flags - Return a Delaunay triangulation around the given input points.

st_affine(geometry, double precision, double precision, double precision, double precision, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, a, b, d, e, xoff, yoff - Apply a 3d affine transformation to a geometry.

_st_summarystats(raster, integer, boolean, double precision) FUNCTION C true summarystats INVOKER
gin_compare_prefix_timestamptz(timestamp with time zone, timestamp with time zone, smallint, internal) FUNCTION C true integer INVOKER
gin_extract_query_time(time without time zone, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
geography_gist_decompress(internal) FUNCTION C false internal INVOKER
st_perimeter(geography, boolean) FUNCTION C true double precision INVOKER

args: geog, use_spheroid=true - Return the length measurement of the boundary of an ST_Surface or ST_MultiSurface geometry or geography. (Polygon, MultiPolygon). geometry measurement is in units of spatial reference and geography is in meters.

pgis_abs_in(cstring) FUNCTION C true pgis_abs INVOKER
st_containsproperly(raster, integer, raster, integer) FUNCTION SQL true boolean INVOKER

args: rastA, nbandA, rastB, nbandB - Return true if rastB intersects the interior of rastA but not the boundary or exterior of rastA.

st_setvalues(raster, integer, geomval[], boolean) FUNCTION C true raster INVOKER

args: rast, nband, geomvalset, keepnodata=FALSE - Returns modified raster resulting from setting the values of a given band.

_st_bestsrid(geography) FUNCTION SQL true integer INVOKER
gtrgm_same(gtrgm, gtrgm, internal) FUNCTION C true internal INVOKER
similarity(text, text) FUNCTION C true real INVOKER
st_length(geography, boolean) FUNCTION C true double precision INVOKER

args: geog, use_spheroid=true - Returns the 2D length of the geometry if it is a LineString or MultiLineString. geometry are in units of spatial reference and geography are in meters (default spheroid)

subarray(integer[], integer) FUNCTION C true ARRAY INVOKER
gin_extract_query_inet(inet, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
gbt_float4_compress(internal) FUNCTION C true internal INVOKER
st_notsamealignmentreason(raster, raster) FUNCTION C true text INVOKER

args: rastA, rastB - Returns text stating if rasters are aligned and if not aligned, a reason why.

geography_typmod_out(integer) FUNCTION C true cstring INVOKER
geometry_cmp(geometry, geometry) FUNCTION C true integer INVOKER
geometry_typmod_in(cstring[]) FUNCTION C true integer INVOKER
st_combine_bbox(box3d, geometry) FUNCTION SQL true box3d INVOKER
st_expand(box3d, double precision) FUNCTION C true box3d INVOKER

args: box, units_to_expand - Returns bounding box expanded in all directions from the bounding box of the input geometry. Uses double-precision

st_makeemptycoverage(integer, integer, integer, integer, double precision, double precision, double precision, double precision, double precision, double precision, integer) FUNCTION PLPGSQL true SETOF raster INVOKER

args: tilewidth, tileheight, width, height, upperleftx, upperlefty, scalex, scaley, skewx, skewy, srid=unknown - Cover georeferenced area with a grid of empty raster tiles.

gbt_bit_same(internal, internal, internal) FUNCTION C true internal INVOKER
_st_overlaps(raster, integer, raster, integer) FUNCTION C true boolean INVOKER
sort_desc(integer[]) FUNCTION C true ARRAY INVOKER
st_histogram(text, text, integer, boolean, integer, boolean) FUNCTION SQL false SETOF record INVOKER

args: rastertable, rastercolumn, nband, exclude_nodata_value, bins, right - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

gbt_bytea_union(bytea, internal) FUNCTION C true gbtreekey_var INVOKER
geography_gist_distance(internal, geography, integer) FUNCTION C false double precision INVOKER
st_neighborhood(raster, integer, geometry, integer, integer, boolean) FUNCTION PLPGSQL true ARRAY INVOKER

args: rast, bandnum, pt, distanceX, distanceY, exclude_nodata_value=true - Returns a 2-D double precision array of the non-NODATA values around a given bands pixel specified by either a columnX and rowY or a geometric point expressed in the same spatial reference coordinate system as the raster.

st_quantile(text, text, double precision) FUNCTION SQL false double precision INVOKER
st_neighborhood(raster, integer, integer, integer, integer, boolean) FUNCTION SQL true ARRAY INVOKER

args: rast, columnX, rowY, distanceX, distanceY, exclude_nodata_value=true - Returns a 2-D double precision array of the non-NODATA values around a given bands pixel specified by either a columnX and rowY or a geometric point expressed in the same spatial reference coordinate system as the raster.

_st_touches(raster, integer, raster, integer) FUNCTION C true boolean INVOKER
pgis_asmvt_transfn(internal, anyelement) FUNCTION C true internal INVOKER
st_point(double precision, double precision) FUNCTION C true geometry INVOKER

args: x_lon, y_lat - Returns an ST_Point with the given coordinate values. OGC alias for ST_MakePoint.

geometry(point) FUNCTION C true geometry INVOKER
st_boundary(geometry) FUNCTION C true geometry INVOKER

args: geomA - Returns the closure of the combinatorial boundary of this Geometry.

st_approxsummarystats(raster, boolean, double precision) FUNCTION SQL true summarystats INVOKER
postgis_noop(geometry) FUNCTION C false geometry INVOKER
st_memunion(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: geomfield - Same as ST_Union, only memory-friendly (uses less memory and more processor time).

st_clusterintersecting(geometry) AGGREGATE INTERNAL true ARRAY INVOKER

args: g - Aggregate. Returns an array with the connected components of a set of geometries

gbt_intv_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
st_node(geometry) FUNCTION C true geometry INVOKER

args: geom - Node a set of linestrings.

gbt_time_picksplit(internal, internal) FUNCTION C true internal INVOKER
overlaps_nd(geometry, gidx) FUNCTION SQL true boolean INVOKER
st_asraster(geometry, integer, integer, text[], double precision[], double precision[], double precision, double precision, double precision, double precision, boolean) FUNCTION SQL true raster INVOKER

args: geom, width, height, pixeltype, value=ARRAY1, nodataval=ARRAY0, upperleftx=NULL, upperlefty=NULL, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

st_minimumclearance(geometry) FUNCTION C true double precision INVOKER

args: g - Returns the minimum clearance of a geometry, a measure of a geometrys robustness.

gbt_int2_compress(internal) FUNCTION C true internal INVOKER
st_split(geometry, geometry) FUNCTION C true geometry INVOKER

args: input, blade - Returns a collection of geometries resulting by splitting a geometry.

gtrgm_in(cstring) FUNCTION C true gtrgm INVOKER
st_rastertoworldcoord(raster, integer, integer) FUNCTION SQL true record INVOKER

args: rast, xcolumn, yrow - Returns the rasters upper left corner as geometric X and Y (longitude and latitude) given a column and row. Column and row starts at 1.

geography_send(geography) FUNCTION C true bytea INVOKER
gin_compare_prefix_int2(smallint, smallint, smallint, internal) FUNCTION C true integer INVOKER
st_buffer(text, double precision) FUNCTION SQL true geometry INVOKER
st_quantile(text, text, boolean, double precision) FUNCTION SQL false double precision INVOKER
gbt_bit_picksplit(internal, internal) FUNCTION C true internal INVOKER
dblink_get_pkey(text) FUNCTION C false SETOF dblink_pkey_results INVOKER
postgis_addbbox(geometry) FUNCTION C true geometry INVOKER

args: geomA - Add bounding box to the geometry.

st_approxquantile(text, text, integer, double precision, double precision[]) FUNCTION SQL false SETOF record INVOKER
st_asraster(geometry, raster, text, double precision, double precision, boolean) FUNCTION SQL true raster INVOKER

args: geom, ref, pixeltype, value=1, nodataval=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

is_contained_2d(box2df, geometry) FUNCTION C true boolean INVOKER
st_multipolygonfromtext(text, integer) FUNCTION SQL true geometry INVOKER
st_min4ma(double precision[], text, text[]) FUNCTION PLPGSQL true double precision INVOKER
st_clip(raster, geometry, boolean) FUNCTION SQL true raster INVOKER
st_3dlongestline(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns the 3-dimensional longest line between two geometries

st_pixelaspoints(raster, integer, boolean) FUNCTION SQL true SETOF record INVOKER

args: rast, band=1, exclude_nodata_value=TRUE - Returns a point geometry for each pixel of a raster band along with the value, the X and the Y raster coordinates of each pixel. The coordinates of the point geometry are of the pixels upper-left corner.

gbt_text_compress(internal) FUNCTION C true internal INVOKER
pg_stat_statements(boolean) FUNCTION C false SETOF record INVOKER
st_quantile(raster, integer, boolean, double precision[]) FUNCTION SQL true SETOF record INVOKER

args: rast, nband=1, exclude_nodata_value=true, quantiles=NULL - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

gbt_bit_union(bytea, internal) FUNCTION C true gbtreekey_var INVOKER
_postgis_selectivity(regclass, text, geometry, text) FUNCTION C false double precision INVOKER
st_approxquantile(raster, double precision, double precision[]) FUNCTION SQL true SETOF record INVOKER
st_intersects(raster, raster) FUNCTION SQL true boolean INVOKER

args: rastA, rastB - Return true if raster rastA spatially intersects raster rastB.

st_samealignment(raster) AGGREGATE INTERNAL true boolean INVOKER

args: rastfield - Returns true if rasters have same skew, scale, spatial ref, and offset (pixels can be put on same grid without cutting into pixels) and false if they dont with notice detailing issue.

st_setvalue(raster, geometry, double precision) FUNCTION SQL true raster INVOKER

args: rast, geom, newvalue - Returns modified raster resulting from setting the value of a given band in a given columnx, rowy pixel or the pixels that intersect a particular geometry. Band numbers start at 1 and assumed to be 1 if not specified.

gin_btree_consistent(internal, smallint, anyelement, integer, internal, internal) FUNCTION C true boolean INVOKER
_st_samealignment_transfn(agg_samealignment, raster) FUNCTION PLPGSQL true agg_samealignment INVOKER
enablelongtransactions() FUNCTION PLPGSQL false text INVOKER

Enable long transaction support. This function creates the required metadata tables, needs to be called once before using the other functions in this section. Calling it twice is harmless.

st_numgeometries(geometry) FUNCTION C true integer INVOKER

args: geom - If geometry is a GEOMETRYCOLLECTION (or MULTI*) return the number of geometries, for single geometries will return 1, otherwise return NULL.

st_3dmaxdistance(geometry, geometry) FUNCTION C true double precision INVOKER

args: g1, g2 - For geometry type Returns the 3-dimensional cartesian maximum distance (based on spatial ref) between two geometries in projected units.

_add_raster_constraint_spatially_unique(name, name, name) FUNCTION PLPGSQL false boolean INVOKER
st_findextent(text, text) FUNCTION PLPGSQL true box2d INVOKER
gbt_date_union(bytea, internal) FUNCTION C true gbtreekey8 INVOKER
_raster_constraint_info_srid(name, name, name) FUNCTION SQL false integer INVOKER
st_approxquantile(text, text, double precision) FUNCTION SQL false double precision INVOKER
st_asewkt(geography) FUNCTION C true text INVOKER

args: g1 - Return the Well-Known Text (WKT) representation of the geometry with SRID meta data.

pgis_asgeobuf_transfn(internal, anyelement) FUNCTION C true internal INVOKER
gbt_cash_distance(internal, money, smallint, oid) FUNCTION C true double precision INVOKER
gin_extract_query_float4(real, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
_int_different(integer[], integer[]) FUNCTION C true boolean INVOKER

different

gbt_intv_consistent(internal, interval, smallint, oid, internal) FUNCTION C true boolean INVOKER
st_approxquantile(raster, integer, boolean, double precision, double precision[]) FUNCTION SQL true SETOF record INVOKER
gbt_intv_same(internal, internal, internal) FUNCTION C true internal INVOKER
gin_extract_query_macaddr(macaddr, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
geometry_recv(internal) FUNCTION C true geometry INVOKER
st_ashexewkb(geometry) FUNCTION C true text INVOKER

args: g1 - Returns a Geometry in HEXEWKB format (as text) using either little-endian (NDR) or big-endian (XDR) encoding.

raster_overlap(raster, raster) FUNCTION SQL true boolean INVOKER
st_quantile(raster, boolean, double precision) FUNCTION SQL true double precision INVOKER

args: rast, exclude_nodata_value, quantile=NULL - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

st_mapalgebra(raster, integer, raster, integer, text, text, text, text, text, double precision) FUNCTION SQL true raster INVOKER
st_swapordinates(geometry, cstring) FUNCTION C true geometry INVOKER

args: geom, ords - Returns a version of the given geometry with given ordinate values swapped.

st_geomfromwkb(bytea) FUNCTION C true geometry INVOKER

args: geom - Makes a geometry from WKB with the given SRID

st_addmeasure(geometry, double precision, double precision) FUNCTION C true geometry INVOKER

args: geom_mline, measure_start, measure_end - Return a derived geometry with measure elements linearly interpolated between the start and end points.

st_segmentize(geometry, double precision) FUNCTION C true geometry INVOKER

args: geom, max_segment_length - Return a modified geometry/geography having no segment longer than the given distance.

st_union(raster, text) AGGREGATE INTERNAL true raster INVOKER
st_pixelofvalue(raster, double precision[], boolean) FUNCTION SQL true SETOF record INVOKER

args: rast, search, exclude_nodata_value=true - Get the columnx, rowy coordinates of the pixel whose value equals the search value.

gin_extract_value_inet(inet, internal) FUNCTION C true internal INVOKER
st_ashexewkb(geometry, text) FUNCTION C true text INVOKER

args: g1, NDRorXDR - Returns a Geometry in HEXEWKB format (as text) using either little-endian (NDR) or big-endian (XDR) encoding.

st_intersects(text, text) FUNCTION SQL true boolean INVOKER
st_valuecount(text, text, integer, boolean, double precision, double precision) FUNCTION SQL false integer INVOKER

args: rastertable, rastercolumn, nband, exclude_nodata_value, searchvalue, roundto=0 - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

gbt_float4_union(bytea, internal) FUNCTION C true gbtreekey8 INVOKER
dblink_get_notify(text) FUNCTION C false SETOF record INVOKER
gbt_float4_consistent(internal, real, smallint, oid, internal) FUNCTION C true boolean INVOKER
st_approxhistogram(raster, integer, double precision) FUNCTION SQL true SETOF record INVOKER
st_geogfromtext(text) FUNCTION C true geography INVOKER

args: EWKT - Return a specified geography value from Well-Known Text representation or extended (WKT).

st_coorddim(geometry) FUNCTION C true smallint INVOKER

args: geomA - Return the coordinate dimension of the ST_Geometry value.

st_pixelofvalue(raster, integer, double precision, boolean) FUNCTION SQL true SETOF record INVOKER

args: rast, nband, search, exclude_nodata_value=true - Get the columnx, rowy coordinates of the pixel whose value equals the search value.

st_askml(geometry, integer) FUNCTION SQL true text INVOKER

args: geom, maxdecimaldigits=15 - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

st_symdifference(geometry, geometry) FUNCTION C true geometry INVOKER

args: geomA, geomB - Returns a geometry that represents the portions of A and B that do not intersect. It is called a symmetric difference because ST_SymDifference(A,B) = ST_SymDifference(B,A).

st_askml(integer, geometry, integer, text) FUNCTION SQL true text INVOKER

args: version, geom, maxdecimaldigits=15, nprefix=NULL - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

st_dfullywithin(raster, raster, double precision) FUNCTION SQL true boolean INVOKER

args: rastA, rastB, distance_of_srid - Return true if rasters rastA and rastB are fully within the specified distance of each other.

geometry_same(geometry, geometry) FUNCTION C true boolean INVOKER
st_estimatedextent(text, text, text) FUNCTION C true box2d DEFINER

args: schema_name, table_name, geocolumn_name - Return the estimated extent of the given spatial table. The estimated is taken from the geometry columns statistics. The current schema will be used if not specified.

st_forcecollection(geometry) FUNCTION C true geometry INVOKER

args: geomA - Convert the geometry into a GEOMETRYCOLLECTION.

geography_gist_penalty(internal, internal, internal) FUNCTION C false internal INVOKER
st_georeference(raster, text) FUNCTION PLPGSQL true text INVOKER

args: rast, format=GDAL - Returns the georeference meta data in GDAL or ESRI format as commonly seen in a world file. Default is GDAL.

geometry(text) FUNCTION C true geometry INVOKER
st_makeemptyraster(integer, integer, double precision, double precision, double precision) FUNCTION SQL true raster INVOKER

args: width, height, upperleftx, upperlefty, pixelsize - Returns an empty raster (having no bands) of given dimensions (width & height), upperleft X and Y, pixel size and rotation (scalex, scaley, skewx & skewy) and reference system (srid). If a raster is passed in, returns a new raster with the same size, alignment and SRID. If srid is left out, the spatial ref is set to unknown (0).

st_centroid(geography, boolean) FUNCTION C true geography INVOKER

args: g1, use_spheroid=true - Returns the geometric center of a geometry.

gbt_inet_consistent(internal, inet, smallint, oid, internal) FUNCTION C true boolean INVOKER
postgis_libjson_version() FUNCTION C true text INVOKER
dblink_get_result(text, boolean) FUNCTION C false SETOF record INVOKER
_postgis_scripts_pgsql_version() FUNCTION SQL true text INVOKER
st_covers(raster, integer, raster, integer) FUNCTION SQL true boolean INVOKER

args: rastA, nbandA, rastB, nbandB - Return true if no points of raster rastB lie outside raster rastA.

gbt_int8_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
st_locate_between_measures(geometry, double precision, double precision) FUNCTION C true geometry INVOKER
gbt_ts_consistent(internal, timestamp without time zone, smallint, oid, internal) FUNCTION C true boolean INVOKER
st_mapalgebrafctngb(raster, integer, text, integer, integer, regprocedure, text, text[]) FUNCTION C true raster INVOKER
st_buildarea(geometry) FUNCTION C true geometry INVOKER

args: A - Creates an areal geometry formed by the constituent linework of given geometry

gbt_inet_picksplit(internal, internal) FUNCTION C true internal INVOKER
st_length_spheroid(geometry, spheroid) FUNCTION SQL true double precision INVOKER
geometry(path) FUNCTION C true geometry INVOKER
st_astext(geography) FUNCTION C true text INVOKER

args: g1 - Return the Well-Known Text (WKT) representation of the geometry/geography without SRID metadata.

gbt_int8_picksplit(internal, internal) FUNCTION C true internal INVOKER
st_rotate(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians - Rotate a geometry rotRadians counter-clockwise about an origin.

gbt_macad_picksplit(internal, internal) FUNCTION C true internal INVOKER
st_bandpixeltype(raster, integer) FUNCTION C true text INVOKER

args: rast, bandnum=1 - Returns the type of pixel for given band. If no bandnum specified, 1 is assumed.

_st_covers(raster, integer, raster, integer) FUNCTION C true boolean INVOKER
st_force_4d(geometry) FUNCTION SQL true geometry INVOKER
st_line_interpolate_point(geometry, double precision) FUNCTION SQL true geometry INVOKER
st_m(geometry) FUNCTION C true double precision INVOKER

args: a_point - Return the M coordinate of the point, or NULL if not available. Input must be a point.

gbtreekey32_out(gbtreekey32) FUNCTION C true cstring INVOKER
gbt_bit_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
st_concavehull(geometry, double precision, boolean) FUNCTION PLPGSQL true geometry INVOKER

args: geomA, target_percent, allow_holes=false - The concave hull of a geometry represents a possibly concave geometry that encloses all geometries within the set. You can think of it as shrink wrapping.

raster_in(cstring) FUNCTION C true raster INVOKER
st_approxquantile(raster, double precision, double precision) FUNCTION SQL true double precision INVOKER
st_snap(geometry, geometry, double precision) FUNCTION C true geometry INVOKER

args: input, reference, tolerance - Snap segments and vertices of input geometry to vertices of a reference geometry.

gbt_intv_decompress(internal) FUNCTION C true internal INVOKER
st_approxhistogram(raster, integer, double precision, integer, boolean) FUNCTION SQL true SETOF record INVOKER
addrasterconstraints(name, name, name, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) FUNCTION PLPGSQL false boolean INVOKER

args: rastschema, rasttable, rastcolumn, srid=true, scale_x=true, scale_y=true, blocksize_x=true, blocksize_y=true, same_alignment=true, regular_blocking=false, num_bands=true, pixel_types=true, nodata_values=true, out_db=true, extent=true - Adds raster constraints to a loaded raster table for a specific column that constrains spatial ref, scaling, blocksize, alignment, bands, band type and a flag to denote if raster column is regularly blocked. The table must be loaded with data for the constraints to be inferred. Returns true of the constraint setting was accomplished and if issues a notice.

st_colormap(raster, integer, text, text) FUNCTION PLPGSQL true raster INVOKER
contains_2d(box2df, box2df) FUNCTION C true boolean INVOKER
raster_contained_by_geometry(raster, geometry) FUNCTION SQL true boolean INVOKER
set_limit(real) FUNCTION C false real INVOKER
st_geomfromgeohash(text, integer) FUNCTION SQL true geometry INVOKER

args: geohash, precision=full_precision_of_geohash - Return a geometry from a GeoHash string.

pgis_asmvt_transfn(internal, anyelement, text, integer, text) FUNCTION C true internal INVOKER
raster_below(raster, raster) FUNCTION SQL true boolean INVOKER
st_line_substring(geometry, double precision, double precision) FUNCTION SQL true geometry INVOKER
overlaps_2d(geometry, box2df) FUNCTION SQL true boolean INVOKER
st_astiff(raster, text[], integer) FUNCTION PLPGSQL true bytea INVOKER

args: rast, options=’, srid=sameassource - Return the raster selected bands as a single TIFF image (byte array). If no band is specified, then will try to use all bands.

g_intbig_union(internal, internal) FUNCTION C true ARRAY INVOKER
overlaps_geog(geography, gidx) FUNCTION SQL true boolean INVOKER
raster_geometry_contain(raster, geometry) FUNCTION SQL true boolean INVOKER
st_reskew(raster, double precision, double precision, text, double precision) FUNCTION SQL true raster INVOKER

args: rast, skewx, skewy, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster by adjusting only its skew (or rotation parameters). New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

lockrow(text, text, text, text, timestamp without time zone) FUNCTION PLPGSQL false integer INVOKER

args: a_schema_name, a_table_name, a_row_key, an_auth_token, expire_dt - Set lock/authorization for specific row in table

_st_bestsrid(geography, geography) FUNCTION C true integer INVOKER
st_samealignment(double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision) FUNCTION SQL true boolean INVOKER

args: ulx1, uly1, scalex1, scaley1, skewx1, skewy1, ulx2, uly2, scalex2, scaley2, skewx2, skewy2 - Returns true if rasters have same skew, scale, spatial ref, and offset (pixels can be put on same grid without cutting into pixels) and false if they dont with notice detailing issue.

gtrgm_picksplit(internal, internal) FUNCTION C true internal INVOKER
pgis_asgeobuf_transfn(internal, anyelement, text) FUNCTION C true internal INVOKER
st_snaptogrid(geometry, double precision, double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: geomA, originX, originY, sizeX, sizeY - Snap all points of the input geometry to a regular grid.

st_asmvt(anyelement, text, integer) AGGREGATE INTERNAL true bytea INVOKER

args: row, name, extent - Return a Mapbox Vector Tile representation of a set of rows.

st_aspng(raster, integer[], text[]) FUNCTION SQL true bytea INVOKER

args: rast, nbands, options=NULL - Return the raster tile selected bands as a single portable network graphics (PNG) image (byte array). If 1, 3, or 4 bands in raster and no bands are specified, then all bands are used. If more 2 or more than 4 bands and no bands specified, then only band 1 is used. Bands are mapped to RGB or RGBA space.

st_astext(text) FUNCTION SQL true text INVOKER
st_3dperimeter(geometry) FUNCTION C true double precision INVOKER

args: geomA - Returns the 3-dimensional perimeter of the geometry, if it is a polygon or multi-polygon.

st_bandisnodata(raster, integer, boolean) FUNCTION C true boolean INVOKER

args: rast, band, forceChecking=true - Returns true if the band is filled with only nodata values.

st_touches(raster, integer, raster, integer) FUNCTION SQL true boolean INVOKER

args: rastA, nbandA, rastB, nbandB - Return true if raster rastA and rastB have at least one point in common but their interiors do not intersect.

dblink_fetch(text, text, integer, boolean) FUNCTION C false SETOF record INVOKER
longtransactionsenabled() FUNCTION PLPGSQL false boolean INVOKER
geography_overlaps(geography, geography) FUNCTION C true boolean INVOKER
st_asbinary(geometry, text) FUNCTION C true bytea INVOKER

args: g1, NDR_or_XDR - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

st_forcesfs(geometry) FUNCTION C true geometry INVOKER

args: geomA - Force the geometries to use SFS 1.1 geometry types only.

st_mlinefromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Return a specified ST_MultiLineString value from WKT representation.

_st_summarystats_transfn(internal, raster, boolean, double precision) FUNCTION C true internal INVOKER
gin_compare_prefix_char("char", "char", smallint, internal) FUNCTION C true integer INVOKER
st_wrapx(geometry, double precision, double precision) FUNCTION C true geometry INVOKER

args: geom, wrap, move - Wrap a geometry around an X value.

st_z(geometry) FUNCTION C true double precision INVOKER

args: a_point - Return the Z coordinate of the point, or NULL if not available. Input must be a point.

st_polyfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
st_approxquantile(raster, double precision[]) FUNCTION SQL true SETOF record INVOKER
st_estimatedextent(text, text, text, boolean) FUNCTION C true box2d DEFINER

args: schema_name, table_name, geocolumn_name, parent_ony - Return the estimated extent of the given spatial table. The estimated is taken from the geometry columns statistics. The current schema will be used if not specified.

postgis_scripts_build_date() FUNCTION SQL true text INVOKER

Returns build date of the PostGIS scripts.

postgis_getbbox(geometry) FUNCTION C true box2d INVOKER
st_combinebbox(box2d, geometry) FUNCTION C true box2d INVOKER
st_combinebbox(box3d, geometry) FUNCTION C true box3d INVOKER
st_summarystatsagg(raster, boolean, double precision) AGGREGATE INTERNAL true summarystats INVOKER

args: rast, exclude_nodata_value, sample_percent - Aggregate. Returns summarystats consisting of count, sum, mean, stddev, min, max for a given raster band of a set of raster. Band 1 is assumed is no band is specified.

pgis_geometry_makeline_finalfn(pgis_abs) FUNCTION C false geometry INVOKER
st_neighborhood(raster, geometry, integer, integer, boolean) FUNCTION SQL true ARRAY INVOKER

args: rast, pt, distanceX, distanceY, exclude_nodata_value=true - Returns a 2-D double precision array of the non-NODATA values around a given bands pixel specified by either a columnX and rowY or a geometric point expressed in the same spatial reference coordinate system as the raster.

st_snaptogrid(raster, double precision, double precision, double precision, text, double precision) FUNCTION SQL true raster INVOKER

args: rast, gridx, gridy, scalexy, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster by snapping it to a grid. New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

st_quantile(raster, integer, boolean, double precision) FUNCTION SQL true double precision INVOKER

args: rast, nband, exclude_nodata_value, quantile - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

st_closestpointofapproach(geometry, geometry) FUNCTION C true double precision INVOKER

args: track1, track2 - Returns the measure at which points interpolated along two lines are closest.

st_slope(raster, integer, text, text, double precision, boolean) FUNCTION SQL true raster INVOKER
geog_brin_inclusion_add_value(internal, internal, internal, internal) FUNCTION C false boolean INVOKER
st_area(geography, boolean) FUNCTION C true double precision INVOKER

args: geog, use_spheroid=true - Returns the area of the surface if it is a Polygon or MultiPolygon. For geometry, a 2D Cartesian area is determined with units specified by the SRID. For geography, area is determined on a curved surface with units in square meters.

st_valuepercent(text, text, double precision[], double precision) FUNCTION SQL false SETOF record INVOKER
is_contained_2d(box2df, box2df) FUNCTION C true boolean INVOKER
show_limit() FUNCTION C false real INVOKER
st_hillshade(raster, integer, raster, text, double precision, double precision, double precision, double precision, boolean) FUNCTION PLPGSQL true raster INVOKER
show_trgm(text) FUNCTION C true ARRAY INVOKER
gbt_bpchar_compress(internal) FUNCTION C true internal INVOKER
unlockrows(text) FUNCTION PLPGSQL false integer INVOKER

args: auth_token - Remove all locks held by specified authorization id. Returns the number of locks released.

st_overlaps(raster, raster) FUNCTION SQL true boolean INVOKER

args: rastA, rastB - Return true if raster rastA and rastB intersect but one does not completely contain the other.

_st_roughness4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
_st_colormap(raster, integer, text, text) FUNCTION C true raster INVOKER
st_generatepoints(geometry, numeric) FUNCTION C true geometry INVOKER

args: g, npoints - Converts a polygon or multi-polygon into a multi-point composed of randomly location points within the original areas.

_st_asgeojson(integer, geography, integer, integer) FUNCTION C true text INVOKER
addgeometrycolumn(character varying, character varying, integer, character varying, integer, boolean) FUNCTION PLPGSQL false text INVOKER

args: table_name, column_name, srid, type, dimension, use_typmod=true - Adds a geometry column to an existing table of attributes. By default uses type modifier to define rather than constraints. Pass in false for use_typmod to get old check constraint based behavior

st_asewkt(geometry) FUNCTION C true text INVOKER

args: g1 - Return the Well-Known Text (WKT) representation of the geometry with SRID meta data.

st_histogram(raster, integer, integer, boolean) FUNCTION SQL true SETOF record INVOKER

args: rast, nband, bins, right - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

st_geomfromtext(text, integer) FUNCTION C true geometry INVOKER

args: WKT, srid - Return a specified ST_Geometry value from Well-Known Text representation (WKT).

_st_mapalgebra(rastbandarg[], text, text, text, text, text, double precision) FUNCTION C true raster INVOKER
st_hasarc(geometry) FUNCTION C true boolean INVOKER

args: geomA - Returns true if a geometry or geometry collection contains a circular string

geometry_distance_cpa(geometry, geometry) FUNCTION C true double precision INVOKER
st_histogram(raster, integer, boolean, integer, double precision[], boolean) FUNCTION SQL true SETOF record INVOKER

args: rast, nband=1, exclude_nodata_value=true, bins=autocomputed, width=NULL, right=false - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

st_valuepercent(raster, integer, double precision[], double precision) FUNCTION SQL true SETOF record INVOKER
gbt_tstz_distance(internal, timestamp with time zone, smallint, oid) FUNCTION C true double precision INVOKER
st_asraster(geometry, integer, integer, double precision, double precision, text, double precision, double precision, double precision, double precision, boolean) FUNCTION SQL true raster INVOKER

args: geom, width, height, gridx, gridy, pixeltype, value=1, nodataval=0, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

st_clusterwithin(geometry, double precision) AGGREGATE INTERNAL true ARRAY INVOKER

args: g, distance - Aggregate. Returns an array of GeometryCollections, where each GeometryCollection represents a set of geometries separated by no more than the specified distance.

_st_dwithin(geography, geography, double precision, boolean) FUNCTION C true boolean INVOKER
st_tile(raster, integer, integer, boolean, double precision) FUNCTION SQL true SETOF raster INVOKER

args: rast, width, height, padwithnodata=FALSE, nodataval=NULL - Returns a set of rasters resulting from the split of the input raster based upon the desired dimensions of the output rasters.

st_polyfromtext(text) FUNCTION SQL true geometry INVOKER
st_upperlefty(raster) FUNCTION C true double precision INVOKER

args: rast - Returns the upper left Y coordinate of raster in projected spatial ref.

_st_coveredby(raster, integer, raster, integer) FUNCTION C true boolean INVOKER
st_distancespheroid(geometry, geometry, spheroid) FUNCTION C true double precision INVOKER

args: geomlonlatA, geomlonlatB, measurement_spheroid - Returns the minimum distance between two lon/lat geometries given a particular spheroid. PostGIS versions prior to 1.5 only support points.

gin_trgm_consistent(internal, smallint, text, integer, internal, internal, internal, internal) FUNCTION C true boolean INVOKER
st_valuepercent(text, text, integer, boolean, double precision[], double precision) FUNCTION SQL false SETOF record INVOKER
pgis_geometry_accum_transfn(pgis_abs, geometry, double precision, integer) FUNCTION C false pgis_abs INVOKER
st_valuecount(text, text, integer, double precision, double precision) FUNCTION SQL false integer INVOKER

args: rastertable, rastercolumn, nband, searchvalue, roundto=0 - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

st_setpoint(geometry, integer, geometry) FUNCTION C true geometry INVOKER

args: linestring, zerobasedposition, point - Replace point of a linestring with a given point.

st_polygonfromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Makes a Geometry from WKT with the given SRID. If SRID is not given, it defaults to 0.

gtrgm_compress(internal) FUNCTION C true internal INVOKER
st_setvalue(raster, integer, integer, double precision) FUNCTION SQL false raster INVOKER

args: rast, columnx, rowy, newvalue - Returns modified raster resulting from setting the value of a given band in a given columnx, rowy pixel or the pixels that intersect a particular geometry. Band numbers start at 1 and assumed to be 1 if not specified.

st_approxhistogram(raster, integer, boolean, double precision, integer, double precision[], boolean) FUNCTION SQL true SETOF record INVOKER
st_maxdistance(geometry, geometry) FUNCTION SQL true double precision INVOKER

args: g1, g2 - Returns the 2-dimensional largest distance between two geometries in projected units.

gbt_intv_union(bytea, internal) FUNCTION C true gbtreekey32 INVOKER
st_valuepercent(text, text, integer, boolean, double precision, double precision) FUNCTION SQL false double precision INVOKER
_raster_constraint_nodata_values(raster) FUNCTION SQL true ARRAY INVOKER
pgis_abs_out(pgis_abs) FUNCTION C true cstring INVOKER
spheroid_in(cstring) FUNCTION C true spheroid INVOKER
dblink(text, text) FUNCTION C false SETOF record INVOKER
dblink_open(text, text, boolean) FUNCTION C false text INVOKER
st_intersects(raster, geometry, integer) FUNCTION SQL true boolean INVOKER

args: rast, geommin, nband=NULL - Return true if raster rastA spatially intersects raster rastB.

st_geomfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER

args: geom, srid - Makes a geometry from WKB with the given SRID

st_value(raster, integer, integer, boolean) FUNCTION SQL true double precision INVOKER

args: rast, x, y, exclude_nodata_value=true - Returns the value of a given band in a given columnx, rowy pixel or at a particular geometric point. Band numbers start at 1 and assumed to be 1 if not specified. If exclude_nodata_value is set to false, then all pixels include nodata pixels are considered to intersect and return value. If exclude_nodata_value is not passed in then reads it from metadata of raster.

_st_within(geometry, geometry) FUNCTION SQL true boolean INVOKER
geometry_overbelow(geometry, geometry) FUNCTION C true boolean INVOKER
st_asjpeg(raster, integer[], text[]) FUNCTION SQL true bytea INVOKER

args: rast, nbands, options=NULL - Return the raster tile selected bands as a single Joint Photographic Exports Group (JPEG) image (byte array). If no band is specified and 1 or more than 3 bands, then only the first band is used. If only 3 bands then all 3 bands are used and mapped to RGB.

st_pixelascentroid(raster, integer, integer) FUNCTION SQL true geometry INVOKER

args: rast, x, y - Returns the centroid (point geometry) of the area represented by a pixel.

st_minimumclearanceline(geometry) FUNCTION C true geometry INVOKER

args: g - Returns the two-point LineString spanning a geometrys minimum clearance.

float4_dist(real, real) FUNCTION C true real INVOKER
st_approxcount(text, text, integer, double precision) FUNCTION SQL false bigint INVOKER
gbt_inet_same(internal, internal, internal) FUNCTION C true internal INVOKER
gbt_int4_picksplit(internal, internal) FUNCTION C true internal INVOKER
_raster_constraint_info_out_db(name, name, name) FUNCTION SQL false ARRAY INVOKER
_st_count(raster, integer, boolean, double precision) FUNCTION PLPGSQL true bigint INVOKER
st_summary(raster) FUNCTION PLPGSQL false text INVOKER

args: rast - Returns a text summary of the contents of the raster.

_add_raster_constraint_extent(name, name, name) FUNCTION PLPGSQL false boolean INVOKER
box2df_out(box2df) FUNCTION C true cstring INVOKER
st_valuepercent(raster, integer, boolean, double precision, double precision) FUNCTION SQL true double precision INVOKER
st_within(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: A, B - Returns true if the geometry A is completely inside geometry B

addrasterconstraints(name, name, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) FUNCTION SQL false boolean INVOKER

args: rasttable, rastcolumn, srid, scale_x, scale_y, blocksize_x, blocksize_y, same_alignment, regular_blocking, num_bands=true, pixel_types=true, nodata_values=true, out_db=true, extent=true - Adds raster constraints to a loaded raster table for a specific column that constrains spatial ref, scaling, blocksize, alignment, bands, band type and a flag to denote if raster column is regularly blocked. The table must be loaded with data for the constraints to be inferred. Returns true of the constraint setting was accomplished and if issues a notice.

gbt_intv_compress(internal) FUNCTION C true internal INVOKER
st_approxquantile(raster, double precision) FUNCTION SQL true double precision INVOKER
pgis_geometry_accum_transfn(pgis_abs, geometry, double precision) FUNCTION C false pgis_abs INVOKER
st_distance(geography, geography) FUNCTION SQL true double precision INVOKER

args: gg1, gg2 - For geometry type Returns the 2D Cartesian distance between two geometries in projected units (based on spatial ref). For geography type defaults to return minimum geodesic distance between two geographies in meters.

gserialized_gist_joinsel_2d(internal, oid, internal, smallint) FUNCTION C false double precision INVOKER
st_geomfromkml(text) FUNCTION C true geometry INVOKER

args: geomkml - Takes as input KML representation of geometry and outputs a PostGIS geometry object

_st_tpi4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
st_quantile(text, text, integer, double precision) FUNCTION SQL false double precision INVOKER
geography_gt(geography, geography) FUNCTION C true boolean INVOKER
gin_extract_query_int4(integer, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
_st_intersects(geometry, raster, integer) FUNCTION PLPGSQL true boolean INVOKER
st_distance_spheroid(geometry, geometry, spheroid) FUNCTION SQL true double precision INVOKER
st_summary(geometry) FUNCTION C true text INVOKER

args: g - Returns a text summary of the contents of the geometry.

st_approxquantile(raster, boolean, double precision) FUNCTION SQL true double precision INVOKER
_st_dwithinuncached(geography, geography, double precision) FUNCTION SQL true boolean INVOKER
gin_compare_prefix_inet(inet, inet, smallint, internal) FUNCTION C true integer INVOKER
icount(integer[]) FUNCTION C true integer INVOKER
st_countagg(raster, boolean) AGGREGATE INTERNAL true bigint INVOKER

args: rast, exclude_nodata_value - Aggregate. Returns the number of pixels in a given band of a set of rasters. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the NODATA value.

geography_recv(internal, oid, integer) FUNCTION C true geography INVOKER
st_numpatches(geometry) FUNCTION SQL true integer INVOKER

args: g1 - Return the number of faces on a Polyhedral Surface. Will return null for non-polyhedral geometries.

st_approxsummarystats(text, text, integer, double precision) FUNCTION SQL false summarystats INVOKER
st_translate(geometry, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: g1, deltax, deltay - Translate a geometry by given offsets.

gbt_var_decompress(internal) FUNCTION C true internal INVOKER
st_pixelaspolygon(raster, integer, integer) FUNCTION SQL true geometry INVOKER

args: rast, columnx, rowy - Returns the polygon geometry that bounds the pixel for a particular row and column.

gbt_inet_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
_raster_constraint_info_regular_blocking(name, name, name) FUNCTION PLPGSQL false boolean INVOKER
g_intbig_same(internal, internal, internal) FUNCTION C true internal INVOKER
st_collectionhomogenize(geometry) FUNCTION C true geometry INVOKER

args: collection - Given a geometry collection, return the “simplest” representation of the contents.

st_area(geometry) FUNCTION C true double precision INVOKER

args: g1 - Returns the area of the surface if it is a Polygon or MultiPolygon. For geometry, a 2D Cartesian area is determined with units specified by the SRID. For geography, area is determined on a curved surface with units in square meters.

_drop_raster_constraint_num_bands(name, name, name) FUNCTION SQL false boolean INVOKER
st_coveredby(geography, geography) FUNCTION SQL true boolean INVOKER

args: geogA, geogB - Returns 1 (TRUE) if no point in Geometry/Geography A is outside Geometry/Geography B

gin_extract_value_timetz(time with time zone, internal) FUNCTION C true internal INVOKER
st_asmvtgeom(geometry, box2d, integer, integer, boolean) FUNCTION C true geometry INVOKER

args: geom, bounds, extent=4096, buffer=256, clip_geom=true - Transform a geometry into the coordinate space of a Mapbox Vector Tile.

st_makeline(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: geoms - Creates a Linestring from point, multipoint, or line geometries.

st_min4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
st_minimumboundingcircle(geometry, integer) FUNCTION C true geometry INVOKER

args: geomA, num_segs_per_qt_circ=48 - Returns the smallest circle polygon that can fully contain a geometry. Default uses 48 segments per quarter circle.

gbtreekey4_out(gbtreekey4) FUNCTION C true cstring INVOKER
st_count(text, text, boolean) FUNCTION SQL false bigint INVOKER

args: rastertable, rastercolumn, exclude_nodata_value - Returns the number of pixels in a given band of a raster or raster coverage. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the nodata value.

_st_asx3d(integer, geometry, integer, integer, text) FUNCTION C true text INVOKER
gtrgm_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
st_addband(raster, addbandarg[]) FUNCTION C true raster INVOKER

args: rast, addbandargset - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

dblink_close(text, boolean) FUNCTION C false text INVOKER
_st_distanceuncached(geography, geography, boolean) FUNCTION SQL true double precision INVOKER
st_dumppoints(geometry) FUNCTION C true SETOF geometry_dump INVOKER

args: geom - Returns a set of geometry_dump (geom,path) rows of all points that make up a geometry.

st_force4d(geometry) FUNCTION C true geometry INVOKER

args: geomA - Force the geometries into XYZM mode.

st_transform(geometry, integer) FUNCTION C true geometry INVOKER

args: g1, srid - Return a new geometry with its coordinates transformed to a different spatial reference.

gbt_int2_union(bytea, internal) FUNCTION C true gbtreekey4 INVOKER
st_mean4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
st_isvalid(geometry, integer) FUNCTION SQL true boolean INVOKER

args: g, flags - Returns true if the ST_Geometry is well formed.

_drop_raster_constraint_out_db(name, name, name) FUNCTION SQL false boolean INVOKER
st_dwithin(raster, integer, raster, integer, double precision) FUNCTION SQL true boolean INVOKER

args: rastA, nbandA, rastB, nbandB, distance_of_srid - Return true if rasters rastA and rastB are within the specified distance of each other.

st_hillshade(raster, integer, text, double precision, double precision, double precision, double precision, boolean) FUNCTION SQL true raster INVOKER
st_forcesfs(geometry, text) FUNCTION C true geometry INVOKER

args: geomA, version - Force the geometries to use SFS 1.1 geometry types only.

st_multipointfromtext(text) FUNCTION SQL true geometry INVOKER
geometry_overabove(geometry, geometry) FUNCTION C true boolean INVOKER
st_asgeobuf(anyelement) AGGREGATE INTERNAL true bytea INVOKER

args: row - Return a Geobuf representation of a set of rows.

st_range4ma(double precision[], text, text[]) FUNCTION PLPGSQL true double precision INVOKER
_add_raster_constraint(name, text) FUNCTION PLPGSQL false boolean INVOKER
st_intersects(geography, geography) FUNCTION SQL true boolean INVOKER

args: geogA, geogB - Returns TRUE if the Geometries/Geography “spatially intersect in 2D” - (share any portion of space) and FALSE if they dont (they are Disjoint). For geography – tolerance is 0.00001 meters (so any points that close are considered to intersect)

geometry_gist_compress_2d(internal) FUNCTION C false internal INVOKER
_st_dwithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER
lockrow(text, text, text, text) FUNCTION SQL false integer INVOKER
st_valuecount(raster, integer, boolean, double precision, double precision) FUNCTION SQL true integer INVOKER

args: rast, nband, exclude_nodata_value, searchvalue, roundto=0 - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

gbt_float8_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
postgis_full_version() FUNCTION PLPGSQL true text INVOKER

Reports full postgis version and build configuration infos.

st_length2d(geometry) FUNCTION C true double precision INVOKER

args: a_2dlinestring - Returns the 2-dimensional length of the geometry if it is a linestring or multi-linestring. This is an alias for ST_Length

st_bandmetadata(raster, integer[]) FUNCTION C true record INVOKER
st_mpolyfromwkb(bytea) FUNCTION SQL true geometry INVOKER
gbt_time_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
_st_containsproperly(geometry, geometry) FUNCTION C true boolean INVOKER
geography_analyze(internal) FUNCTION C false boolean INVOKER
dblink(text, boolean) FUNCTION C false SETOF record INVOKER
gbt_ts_distance(internal, timestamp without time zone, smallint, oid) FUNCTION C true double precision INVOKER
st_aspect(raster, integer, raster, text, text, boolean) FUNCTION PLPGSQL true raster INVOKER
dropgeometrycolumn(character varying, character varying, character varying, character varying) FUNCTION PLPGSQL false text INVOKER

args: catalog_name, schema_name, table_name, column_name - Removes a geometry column from a spatial table.

populate_geometry_columns(boolean) FUNCTION PLPGSQL false text INVOKER

args: use_typmod=true - Ensures geometry columns are defined with type modifiers or have appropriate spatial constraints This ensures they will be registered correctly in geometry_columns view. By default will convert all geometry columns with no type modifier to ones with type modifiers. To get old behavior set use_typmod=false

gbt_decompress(internal) FUNCTION C true internal INVOKER
gidx_out(gidx) FUNCTION C true cstring INVOKER
st_band(raster, integer) FUNCTION SQL true raster INVOKER

args: rast, nband - Returns one or more bands of an existing raster as a new raster. Useful for building new rasters from existing rasters.

raster_above(raster, raster) FUNCTION SQL true boolean INVOKER
st_3dlength(geometry) FUNCTION C true double precision INVOKER

args: a_3dlinestring - Returns the 3-dimensional or 2-dimensional length of the geometry if it is a linestring or multi-linestring.

st_approxcount(raster, double precision) FUNCTION SQL true bigint INVOKER
st_valuepercent(text, text, integer, double precision, double precision) FUNCTION SQL false double precision INVOKER
geometry_gist_compress_nd(internal) FUNCTION C false internal INVOKER
st_dumpvalues(raster, integer[], boolean) FUNCTION C true SETOF record INVOKER

args: rast, nband=NULL, exclude_nodata_value=true - Get the values of the specified band as a 2-dimension array.

st_union(raster, integer) AGGREGATE INTERNAL true raster INVOKER
st_clip(raster, integer[], geometry, double precision[], boolean) FUNCTION PLPGSQL true raster INVOKER
st_approxsummarystats(text, text, boolean) FUNCTION SQL false summarystats INVOKER
dropgeometrycolumn(character varying, character varying, character varying) FUNCTION PLPGSQL false text INVOKER

args: schema_name, table_name, column_name - Removes a geometry column from a spatial table.

geography_in(cstring, oid, integer) FUNCTION C true geography INVOKER
_st_within(raster, integer, raster, integer) FUNCTION SQL true boolean INVOKER
raster_geometry_overlap(raster, geometry) FUNCTION SQL true boolean INVOKER
st_estimated_extent(text, text) FUNCTION SQL true box2d INVOKER
_st_3ddwithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER
st_worldtorastercoordx(raster, geometry) FUNCTION PLPGSQL true integer INVOKER

args: rast, pt - Returns the column in the raster of the point geometry (pt) or a X and Y world coordinate (xw, yw) represented in world spatial reference system of raster.

pgis_geometry_clusterintersecting_finalfn(pgis_abs) FUNCTION C false ARRAY INVOKER
gbt_bytea_compress(internal) FUNCTION C true internal INVOKER
updategeometrysrid(character varying, character varying, integer) FUNCTION PLPGSQL false text INVOKER

args: table_name, column_name, srid - Updates the SRID of all features in a geometry column, geometry_columns metadata and srid. If it was enforced with constraints, the constraints will be updated with new srid constraint. If the old was enforced by type definition, the type definition will be changed.

st_intersection(raster, raster, text, double precision[]) FUNCTION SQL true raster INVOKER
equals(geometry, geometry) FUNCTION C true boolean INVOKER
_st_expand(geography, double precision) FUNCTION C true geography INVOKER
st_multipolyfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
gtrgm_consistent(internal, text, integer, oid, internal) FUNCTION C true boolean INVOKER
st_voronoipolygons(geometry, double precision, geometry) FUNCTION SQL true geometry INVOKER

args: g1, tolerance, extend_to - Returns the cells of the Voronoi diagram constructed from the vertices of a geometry.

time_dist(time without time zone, time without time zone) FUNCTION C true interval INVOKER
st_box2dfromgeohash(text, integer) FUNCTION C true box2d INVOKER

args: geohash, precision=full_precision_of_geohash - Return a BOX2D from a GeoHash string.

gin_compare_prefix_numeric(numeric, numeric, smallint, internal) FUNCTION C true integer INVOKER
st_valuepercent(text, text, integer, double precision[], double precision) FUNCTION SQL false SETOF record INVOKER
st_isclosed(geometry) FUNCTION C true boolean INVOKER

args: g - Returns TRUE if the LINESTRINGs start and end points are coincident. For Polyhedral surface is closed (volumetric).

st_polygon(raster, integer) FUNCTION C true geometry INVOKER
st_valuecount(raster, double precision, double precision) FUNCTION SQL true integer INVOKER

args: rast, searchvalue, roundto=0 - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

st_buffer(geography, double precision, text) FUNCTION SQL true geography INVOKER

args: g1, radius_of_buffer, buffer_style_parameters - (T)Returns a geometry covering all points within a given distancefrom the input geometry.

st_length2dspheroid(geometry, spheroid) FUNCTION C true double precision INVOKER
gin_extract_value_money(money, internal) FUNCTION C true internal INVOKER
st_geomcollfromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Makes a collection Geometry from collection WKT with the given SRID. If SRID is not given, it defaults to 0.

_st_quantile(text, text, integer, boolean, double precision, double precision[]) FUNCTION C false SETOF record INVOKER
_drop_raster_constraint_regular_blocking(name, name, name) FUNCTION SQL false boolean INVOKER
gbt_cash_compress(internal) FUNCTION C true internal INVOKER
st_geographyfromtext(text) FUNCTION C true geography INVOKER

args: EWKT - Return a specified geography value from Well-Known Text representation or extended (WKT).

st_geometricmedian(geometry, double precision, integer, boolean) FUNCTION C true geometry INVOKER

args: g , tolerance , max_iter , fail_if_not_converged - Returns the geometric median of a MultiPoint.

st_rescale(raster, double precision, double precision, text, double precision) FUNCTION SQL true raster INVOKER

args: rast, scalex, scaley, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster by adjusting only its scale (or pixel size). New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

addrasterconstraints(name, name, text[]) FUNCTION SQL false boolean INVOKER

args: rasttable, rastcolumn, VARIADIC constraints - Adds raster constraints to a loaded raster table for a specific column that constrains spatial ref, scaling, blocksize, alignment, bands, band type and a flag to denote if raster column is regularly blocked. The table must be loaded with data for the constraints to be inferred. Returns true of the constraint setting was accomplished and if issues a notice.

_raster_constraint_out_db(raster) FUNCTION SQL true ARRAY INVOKER
st_approxquantile(text, text, double precision, double precision) FUNCTION SQL false double precision INVOKER
st_fromgdalraster(bytea, integer) FUNCTION C true raster INVOKER

args: gdaldata, srid=NULL - Returns a raster from a supported GDAL raster file.

_add_raster_constraint_coverage_tile(name, name, name) FUNCTION PLPGSQL false boolean INVOKER
st_endpoint(geometry) FUNCTION C true geometry INVOKER

args: g - Returns the last point of a LINESTRING or CIRCULARLINESTRING geometry as a POINT.

gbt_int2_same(internal, internal, internal) FUNCTION C true internal INVOKER
_drop_raster_constraint_blocksize(name, name, name, text) FUNCTION PLPGSQL false boolean INVOKER
_st_summarystats_transfn(internal, raster, integer, boolean) FUNCTION C true internal INVOKER
_st_summarystats_transfn(internal, raster, integer, boolean, double precision) FUNCTION C true internal INVOKER
postgis_type_name(character varying, integer, boolean) FUNCTION SQL true character varying INVOKER
st_intersection(text, text) FUNCTION SQL true geometry INVOKER
postgis_transform_geometry(geometry, text, text, integer) FUNCTION C true geometry INVOKER
geometry_gist_picksplit_2d(internal, internal) FUNCTION C false internal INVOKER
gin_extract_query_timetz(time with time zone, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
st_colormap(raster, text, text) FUNCTION SQL true raster INVOKER
st_asraster(geometry, double precision, double precision, text, double precision, double precision, double precision, double precision, double precision, double precision, boolean) FUNCTION SQL true raster INVOKER

args: geom, scalex, scaley, pixeltype, value=1, nodataval=0, upperleftx=NULL, upperlefty=NULL, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

st_collectionextract(geometry, integer) FUNCTION C true geometry INVOKER

args: collection, type - Given a (multi)geometry, return a (multi)geometry consisting only of elements of the specified type.

dblink_disconnect() FUNCTION C false text INVOKER
geography(bytea) FUNCTION C true geography INVOKER
st_quantile(text, text, integer, boolean, double precision[]) FUNCTION SQL false SETOF record INVOKER

args: rastertable, rastercolumn, nband=1, exclude_nodata_value=true, quantiles=NULL - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

st_pixelwidth(raster) FUNCTION C true double precision INVOKER

args: rast - Returns the pixel width in geometric units of the spatial reference system.

st_intersection(raster, integer, geometry) FUNCTION SQL true SETOF geomval INVOKER
st_pixelaspoint(raster, integer, integer) FUNCTION SQL true geometry INVOKER

args: rast, columnx, rowy - Returns a point geometry of the pixels upper-left corner.

overlaps_geog(gidx, gidx) FUNCTION C true boolean INVOKER
postgis_libprotobuf_version() FUNCTION C true text INVOKER
st_nearestvalue(raster, integer, geometry, boolean) FUNCTION C true double precision INVOKER

args: rast, bandnum, pt, exclude_nodata_value=true - Returns the nearest non-NODATA value of a given bands pixel specified by a columnx and rowy or a geometric point expressed in the same spatial reference coordinate system as the raster.

geography_lt(geography, geography) FUNCTION C true boolean INVOKER
postgis_raster_lib_build_date() FUNCTION C true text INVOKER

Reports full raster library build date.

st_multilinefromwkb(bytea) FUNCTION SQL true geometry INVOKER
gbt_bytea_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
gin_extract_value_float4(real, internal) FUNCTION C true internal INVOKER
_st_askml(integer, geometry, integer, text) FUNCTION C true text INVOKER
st_geometrytype(geometry) FUNCTION C true text INVOKER

args: g1 - Return the geometry type of the ST_Geometry value.

st_orderingequals(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: A, B - Returns true if the given geometries represent the same geometry and points are in the same directional order.

_st_asgeojson(integer, geometry, integer, integer) FUNCTION SQL true text INVOKER
st_valuepercent(text, text, double precision, double precision) FUNCTION SQL false double precision INVOKER
st_extent(geometry) AGGREGATE INTERNAL true box2d INVOKER

args: geomfield - an aggregate function that returns the bounding box that bounds rows of geometries.

st_rotatez(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians - Rotate a geometry rotRadians about the Z axis.

gin_compare_prefix_text(text, text, smallint, internal) FUNCTION C true integer INVOKER
st_quantile(text, text, double precision[]) FUNCTION SQL false SETOF record INVOKER
st_setbandnodatavalue(raster, double precision) FUNCTION SQL false raster INVOKER

args: rast, nodatavalue - Sets the value for the given band that represents no data. Band 1 is assumed if no band is specified. To mark a band as having no nodata value, set the nodata value = NULL.

st_addband(raster, text, integer[], integer, double precision) FUNCTION SQL true raster INVOKER

args: rast, outdbfile, outdbindex, index=at_end, nodataval=NULL - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

st_distance(geography, geography, boolean) FUNCTION SQL true double precision INVOKER

args: gg1, gg2, use_spheroid - For geometry type Returns the 2D Cartesian distance between two geometries in projected units (based on spatial ref). For geography type defaults to return minimum geodesic distance between two geographies in meters.

st_skewy(raster) FUNCTION C true double precision INVOKER

args: rast - Returns the georeference Y skew (or rotation parameter).

st_xmax(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns X maxima of a bounding box 2d or 3d or a geometry.

dblink_current_query() FUNCTION C false text INVOKER
checkauth(text, text, text) FUNCTION PLPGSQL false integer INVOKER

args: a_schema_name, a_table_name, a_key_column_name - Creates trigger on a table to prevent/allow updates and deletes of rows based on authorization token.

gin_extract_value_time(time without time zone, internal) FUNCTION C true internal INVOKER
postgis_svn_version() FUNCTION C true text INVOKER
st_valuepercent(raster, double precision[], double precision) FUNCTION SQL true SETOF record INVOKER
_raster_constraint_info_num_bands(name, name, name) FUNCTION SQL false integer INVOKER
_add_raster_constraint_blocksize(name, name, name, text) FUNCTION PLPGSQL false boolean INVOKER
gin_extract_value_bit(bit, internal) FUNCTION C true internal INVOKER
st_mapalgebraexpr(raster, raster, text, text, text, text, text, double precision) FUNCTION SQL true raster INVOKER
gbt_bytea_picksplit(internal, internal) FUNCTION C true internal INVOKER
st_azimuth(geography, geography) FUNCTION C true double precision INVOKER

args: pointA, pointB - Returns the north-based azimuth as the angle in radians measured clockwise from the vertical on pointA to pointB.

geometry(polygon) FUNCTION C true geometry INVOKER
st_3dshortestline(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns the 3-dimensional shortest line between two geometries

st_npoints(geometry) FUNCTION C true integer INVOKER

args: g1 - Return the number of points (vertexes) in a geometry.

st_rastertoworldcoordy(raster, integer) FUNCTION SQL true double precision INVOKER

args: rast, yrow - Returns the geometric Y coordinate upper left corner of a raster, column and row. Numbering of columns and rows starts at 1.

get_proj4_from_srid(integer) FUNCTION PLPGSQL true text INVOKER
st_setscale(raster, double precision, double precision) FUNCTION C true raster INVOKER

args: rast, x, y - Sets the X and Y size of pixels in units of coordinate reference system. Number units/pixel width/height.

_postgis_pgsql_version() FUNCTION SQL false text INVOKER
geometry_gist_union_2d(bytea, internal) FUNCTION C false internal INVOKER
dblink_open(text, text, text, boolean) FUNCTION C false text INVOKER
updategeometrysrid(character varying, character varying, character varying, character varying, integer) FUNCTION PLPGSQL false text INVOKER

args: catalog_name, schema_name, table_name, column_name, srid - Updates the SRID of all features in a geometry column, geometry_columns metadata and srid. If it was enforced with constraints, the constraints will be updated with new srid constraint. If the old was enforced by type definition, the type definition will be changed.

raster_out(raster) FUNCTION C true cstring INVOKER
_st_dwithin(raster, integer, raster, integer, double precision) FUNCTION C true boolean INVOKER
st_collect(geometry[]) FUNCTION C true geometry INVOKER

args: g1_array - Return a specified ST_Geometry value from a collection of other geometries.

st_find_extent(text, text, text) FUNCTION SQL true box2d INVOKER
gbt_numeric_same(internal, internal, internal) FUNCTION C true internal INVOKER
gserialized_gist_sel_2d(internal, oid, internal, integer) FUNCTION C false double precision INVOKER
st_isvalidreason(geometry, integer) FUNCTION SQL true text INVOKER

args: geomA, flags - Returns text stating if a geometry is valid or not and if not valid, a reason why.

st_polyfromtext(text, integer) FUNCTION SQL true geometry INVOKER
st_summarystats(raster, integer, boolean) FUNCTION SQL true summarystats INVOKER

args: rast, nband, exclude_nodata_value - Returns summarystats consisting of count, sum, mean, stddev, min, max for a given raster band of a raster or raster coverage. Band 1 is assumed is no band is specified.

st_flipcoordinates(geometry) FUNCTION C true geometry INVOKER

args: geom - Returns a version of the given geometry with X and Y axis flipped. Useful for people who have built latitude/longitude features and need to fix them.

st_sum4ma(double precision[], text, text[]) FUNCTION PLPGSQL true double precision INVOKER
st_summarystats(raster, boolean) FUNCTION SQL true summarystats INVOKER

args: rast, exclude_nodata_value - Returns summarystats consisting of count, sum, mean, stddev, min, max for a given raster band of a raster or raster coverage. Band 1 is assumed is no band is specified.

gbtreekey4_in(cstring) FUNCTION C true gbtreekey4 INVOKER
st_approxsummarystats(text, text, integer, boolean, double precision) FUNCTION SQL false summarystats INVOKER
st_contains(raster, raster) FUNCTION SQL true boolean INVOKER

args: rastA, rastB - Return true if no points of raster rastB lie in the exterior of raster rastA and at least one point of the interior of rastB lies in the interior of rastA.

overlaps_nd(gidx, gidx) FUNCTION C true boolean INVOKER
st_expand(box3d, double precision, double precision, double precision) FUNCTION C true box3d INVOKER

args: box, dx, dy, dz=0 - Returns bounding box expanded in all directions from the bounding box of the input geometry. Uses double-precision

gbtreekey8_in(cstring) FUNCTION C true gbtreekey8 INVOKER
st_addband(raster, text, double precision, double precision) FUNCTION SQL true raster INVOKER

args: rast, pixeltype, initialvalue=0, nodataval=NULL - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

geometry_gist_distance_2d(internal, geometry, integer) FUNCTION C false double precision INVOKER
st_simplify(geometry, double precision) FUNCTION C true geometry INVOKER
geometry_gist_penalty_2d(internal, internal, internal) FUNCTION C false internal INVOKER
gtrgm_union(bytea, internal) FUNCTION C true ARRAY INVOKER
st_valuepercent(raster, integer, boolean, double precision[], double precision) FUNCTION SQL true SETOF record INVOKER
dblink_get_result(text) FUNCTION C false SETOF record INVOKER
st_approxcount(text, text, integer, boolean, double precision) FUNCTION SQL false bigint INVOKER
st_ndims(geometry) FUNCTION C true smallint INVOKER

args: g1 - Returns coordinate dimension of the geometry as a small int. Values are: 2,3 or 4.

st_setvalue(raster, integer, geometry, double precision) FUNCTION SQL true raster INVOKER

args: rast, bandnum, geom, newvalue - Returns modified raster resulting from setting the value of a given band in a given columnx, rowy pixel or the pixels that intersect a particular geometry. Band numbers start at 1 and assumed to be 1 if not specified.

_st_union_transfn(internal, raster, unionarg[]) FUNCTION C true internal INVOKER
_drop_raster_constraint_spatially_unique(name, name, name) FUNCTION PLPGSQL false boolean INVOKER
ginint4_queryextract(internal, internal, smallint, internal, internal, internal, internal) FUNCTION C true internal INVOKER
st_neighborhood(raster, integer, integer, integer, integer, integer, boolean) FUNCTION SQL true ARRAY INVOKER

args: rast, bandnum, columnX, rowY, distanceX, distanceY, exclude_nodata_value=true - Returns a 2-D double precision array of the non-NODATA values around a given bands pixel specified by either a columnX and rowY or a geometric point expressed in the same spatial reference coordinate system as the raster.

dblink_error_message(text) FUNCTION C false text INVOKER
gin_compare_prefix_int4(integer, integer, smallint, internal) FUNCTION C true integer INVOKER
gin_extract_query_int8(bigint, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
st_setvalues(raster, integer, integer, integer, double precision[], double precision, boolean) FUNCTION SQL true raster INVOKER

args: rast, nband, columnx, rowy, newvalueset, nosetvalue, keepnodata=FALSE - Returns modified raster resulting from setting the values of a given band.

st_asgml(text) FUNCTION SQL true text INVOKER
ts_dist(timestamp without time zone, timestamp without time zone) FUNCTION C true interval INVOKER
box3d(geometry) FUNCTION C true box3d INVOKER

args: geomA - Returns a BOX3D representing the maximum extents of the geometry.

geometry_gist_consistent_2d(internal, geometry, integer) FUNCTION C false boolean INVOKER
_st_tile(raster, integer, integer, integer[], boolean, double precision) FUNCTION C true SETOF raster INVOKER
_int_contained(integer[], integer[]) FUNCTION C true boolean INVOKER

contained in

g_intbig_compress(internal) FUNCTION C true internal INVOKER
st_collect(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Return a specified ST_Geometry value from a collection of other geometries.

st_3dintersects(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: geomA, geomB - Returns TRUE if the Geometries “spatially intersect” in 3d - only for points, linestrings, polygons, polyhedral surface (area). With SFCGAL backend enabled also supports TINS

st_locatebetween(geometry, double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: geomA, measure_start, measure_end, offset - Return a derived geometry collection value with elements that match the specified range of measures inclusively. Polygonal elements are not supported.

st_summarystatsagg(raster, integer, boolean) AGGREGATE INTERNAL true summarystats INVOKER

args: rast, nband, exclude_nodata_value - Aggregate. Returns summarystats consisting of count, sum, mean, stddev, min, max for a given raster band of a set of raster. Band 1 is assumed is no band is specified.

st_setskew(raster, double precision, double precision) FUNCTION C true raster INVOKER

args: rast, skewx, skewy - Sets the georeference X and Y skew (or rotation parameter). If only one is passed in, sets X and Y to the same value.

st_skewx(raster) FUNCTION C true double precision INVOKER

args: rast - Returns the georeference X skew (or rotation parameter).

st_intersects(geometry, raster, integer) FUNCTION SQL true boolean INVOKER

args: geommin, rast, nband=NULL - Return true if raster rastA spatially intersects raster rastB.

raster_right(raster, raster) FUNCTION SQL true boolean INVOKER
st_estimatedextent(text, text) FUNCTION C true box2d DEFINER

args: table_name, geocolumn_name - Return the estimated extent of the given spatial table. The estimated is taken from the geometry columns statistics. The current schema will be used if not specified.

_st_countagg_transfn(agg_count, raster, integer, boolean) FUNCTION PLPGSQL true agg_count INVOKER
dropoverviewconstraints(name, name) FUNCTION SQL false boolean INVOKER

args: ovtable, ovcolumn - Untag a raster column from being an overview of another.

st_dwithin(raster, raster, double precision) FUNCTION SQL true boolean INVOKER

args: rastA, rastB, distance_of_srid - Return true if rasters rastA and rastB are within the specified distance of each other.

gbt_cash_union(bytea, internal) FUNCTION C true gbtreekey8 INVOKER
st_addband(raster, integer, text, integer[], double precision) FUNCTION C true raster INVOKER

args: rast, index, outdbfile, outdbindex, nodataval=NULL - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

st_force3d(geometry) FUNCTION C true geometry INVOKER

args: geomA - Force the geometries into XYZ mode. This is an alias for ST_Force3DZ.

g_int_picksplit(internal, internal) FUNCTION C true internal INVOKER
gin_extract_value_varbit(bit varying, internal) FUNCTION C true internal INVOKER
st_force_3dm(geometry) FUNCTION SQL true geometry INVOKER
st_intersection(geometry, geometry) FUNCTION C true geometry INVOKER

args: geomA, geomB - (T)Returns a geometry that represents the shared portion of geomA and geomB.

st_nearestvalue(raster, geometry, boolean) FUNCTION SQL true double precision INVOKER

args: rast, pt, exclude_nodata_value=true - Returns the nearest non-NODATA value of a given bands pixel specified by a columnx and rowy or a geometric point expressed in the same spatial reference coordinate system as the raster.

st_3ddwithin(geometry, geometry, double precision) FUNCTION SQL true boolean INVOKER

args: g1, g2, distance_of_srid - For 3d (z) geometry type Returns true if two geometries 3d distance is within number of units.

_st_gdalwarp(raster, text, double precision, integer, double precision, double precision, double precision, double precision, double precision, double precision, integer, integer) FUNCTION C true raster INVOKER
st_contains(raster, integer, raster, integer) FUNCTION SQL true boolean INVOKER

args: rastA, nbandA, rastB, nbandB - Return true if no points of raster rastB lie in the exterior of raster rastA and at least one point of the interior of rastB lies in the interior of rastA.

gbt_bpchar_consistent(internal, character, smallint, oid, internal) FUNCTION C true boolean INVOKER
geometry_raster_contain(geometry, raster) FUNCTION SQL true boolean INVOKER
gbt_text_consistent(internal, text, smallint, oid, internal) FUNCTION C true boolean INVOKER
gbt_time_consistent(internal, time without time zone, smallint, oid, internal) FUNCTION C true boolean INVOKER
g_int_compress(internal) FUNCTION C true internal INVOKER
st_asgeojson(integer, geometry, integer, integer) FUNCTION SQL true text INVOKER

args: gj_version, geom, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

st_affine(geometry, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: geomA, a, b, c, d, e, f, g, h, i, xoff, yoff, zoff - Apply a 3d affine transformation to a geometry.

st_aspng(raster, integer[], integer) FUNCTION PLPGSQL true bytea INVOKER

args: rast, nbands, compression - Return the raster tile selected bands as a single portable network graphics (PNG) image (byte array). If 1, 3, or 4 bands in raster and no bands are specified, then all bands are used. If more 2 or more than 4 bands and no bands specified, then only band 1 is used. Bands are mapped to RGB or RGBA space.

st_astwkb(geometry[], bigint[], integer, integer, integer, boolean, boolean) FUNCTION C true bytea INVOKER

args: geometries, unique_ids, decimaldigits_xy=0, decimaldigits_z=0, decimaldigits_m=0, include_sizes=false, include_bounding_boxes=false - Returns the geometry as TWKB, aka “Tiny Well-Known Binary”

st_quantile(raster, integer, double precision) FUNCTION SQL true double precision INVOKER

args: rast, nband, quantile - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

st_makepoint(double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: x, y, z - Creates a 2D,3DZ or 4D point geometry.

int2_dist(smallint, smallint) FUNCTION C true smallint INVOKER
st_mapalgebrafct(raster, integer, text, regprocedure) FUNCTION SQL true raster INVOKER
st_makebox2d(geometry, geometry) FUNCTION C true box2d INVOKER

args: pointLowLeft, pointUpRight - Creates a BOX2D defined by the given point geometries.

gbt_float4_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
st_approxquantile(raster, integer, double precision, double precision[]) FUNCTION SQL true SETOF record INVOKER
st_mlinefromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Return a specified ST_MultiLineString value from WKT representation.

gbt_text_picksplit(internal, internal) FUNCTION C true internal INVOKER
gbt_cash_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
geometry_typmod_out(integer) FUNCTION C true cstring INVOKER
gbt_int8_union(bytea, internal) FUNCTION C true gbtreekey16 INVOKER
st_polygonfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
gidx_in(cstring) FUNCTION C true gidx INVOKER
st_approxhistogram(text, text, integer, boolean, double precision, integer, double precision[], boolean) FUNCTION SQL false SETOF record INVOKER
st_numinteriorring(geometry) FUNCTION C true integer INVOKER

args: a_polygon - Return the number of interior rings of a polygon in the geometry. Synonym for ST_NumInteriorRings.

st_simplify(geometry, double precision, boolean) FUNCTION C true geometry INVOKER

args: geomA, tolerance, preserveCollapsed - Returns a “simplified” version of the given geometry using the Douglas-Peucker algorithm.

gbt_int2_distance(internal, smallint, smallint, oid) FUNCTION C true double precision INVOKER
st_asgeojson(text) FUNCTION SQL true text INVOKER
st_find_extent(text, text) FUNCTION SQL true box2d INVOKER
st_snaptogrid(raster, double precision, double precision, double precision, double precision, text, double precision) FUNCTION SQL true raster INVOKER

args: rast, gridx, gridy, scalex, scaley, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster by snapping it to a grid. New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

gbt_macad_compress(internal) FUNCTION C true internal INVOKER
gbt_oid_union(bytea, internal) FUNCTION C true gbtreekey8 INVOKER
st_mapalgebrafct(raster, text, regprocedure) FUNCTION SQL true raster INVOKER
st_rotatex(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians - Rotate a geometry rotRadians about the X axis.

st_union(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: g1field - Returns a geometry that represents the point set union of the Geometries.

gbt_float4_picksplit(internal, internal) FUNCTION C true internal INVOKER
_st_dfullywithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER
st_geotransform(raster) FUNCTION C true record INVOKER
geography(geography, integer, boolean) FUNCTION C true geography INVOKER
st_exteriorring(geometry) FUNCTION C true geometry INVOKER

args: a_polygon - Returns a line string representing the exterior ring of the POLYGON geometry. Return NULL if the geometry is not a polygon. Will not work with MULTIPOLYGON

st_minimumboundingradius(geometry) FUNCTION C true record INVOKER

args: geom - Returns the center point and radius of the smallest circle that can fully contain a geometry.

st_patchn(geometry, integer) FUNCTION SQL true geometry INVOKER

args: geomA, n - Return the 1-based Nth geometry (face) if the geometry is a POLYHEDRALSURFACE, POLYHEDRALSURFACEM. Otherwise, return NULL.

st_quantile(text, text, integer, boolean, double precision) FUNCTION SQL false double precision INVOKER
st_accum(geometry) AGGREGATE INTERNAL true ARRAY INVOKER

args: geomfield - Aggregate. Constructs an array of geometries.

st_makeline(geometry, geometry) FUNCTION C true geometry INVOKER

args: geom1, geom2 - Creates a Linestring from point, multipoint, or line geometries.

box3d(box2d) FUNCTION C true box3d INVOKER
st_aspng(raster, text[]) FUNCTION PLPGSQL true bytea INVOKER

args: rast, options=NULL - Return the raster tile selected bands as a single portable network graphics (PNG) image (byte array). If 1, 3, or 4 bands in raster and no bands are specified, then all bands are used. If more 2 or more than 4 bands and no bands specified, then only band 1 is used. Bands are mapped to RGB or RGBA space.

boolop(integer[], query_int) FUNCTION C true boolean INVOKER

boolean operation with array

st_force_2d(geometry) FUNCTION SQL true geometry INVOKER
dblink_open(text, text) FUNCTION C false text INVOKER
st_dwithin(geography, geography, double precision) FUNCTION SQL true boolean INVOKER

args: gg1, gg2, distance_meters - Returns true if the geometries are within the specified distance of one another. For geometry units are in those of spatial reference and For geography units are in meters and measurement is defaulted to use_spheroid=true (measure around spheroid), for faster check, use_spheroid=false to measure along sphere.

st_isvalidreason(geometry) FUNCTION C true text INVOKER

args: geomA - Returns text stating if a geometry is valid or not and if not valid, a reason why.

st_shift_longitude(geometry) FUNCTION SQL true geometry INVOKER
st_bdpolyfromtext(text, integer) FUNCTION PLPGSQL true geometry INVOKER

args: WKT, srid - Construct a Polygon given an arbitrary collection of closed linestrings as a MultiLineString Well-Known text representation.

st_containsproperly(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: geomA, geomB - Returns true if B intersects the interior of A but not the boundary (or exterior). A does not contain properly itself, but does contain itself.

_st_samealignment_finalfn(agg_samealignment) FUNCTION SQL true boolean INVOKER
postgis_dropbbox(geometry) FUNCTION C true geometry INVOKER

args: geomA - Drop the bounding box cache from the geometry.

st_resample(raster, integer, integer, double precision, double precision, double precision, double precision, text, double precision) FUNCTION SQL true raster INVOKER

args: rast, width, height, gridx=NULL, gridy=NULL, skewx=0, skewy=0, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster using a specified resampling algorithm, new dimensions, an arbitrary grid corner and a set of raster georeferencing attributes defined or borrowed from another raster.

_st_dfullywithin(raster, integer, raster, integer, double precision) FUNCTION C true boolean INVOKER
gin_extract_query_numeric(numeric, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
st_asgeojson(integer, geography, integer, integer) FUNCTION SQL true text INVOKER

args: gj_version, geog, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

_st_containsproperly(raster, integer, raster, integer) FUNCTION C true boolean INVOKER
_st_intersects(geometry, geometry) FUNCTION C true boolean INVOKER
_st_summarystats_finalfn(internal) FUNCTION C true summarystats INVOKER
st_approxhistogram(text, text, integer, double precision, integer, boolean) FUNCTION SQL false SETOF record INVOKER
dblink_exec(text, text) FUNCTION C false text INVOKER
st_aslatlontext(geometry, text) FUNCTION C true text INVOKER

args: pt, format=’ - Return the Degrees, Minutes, Seconds representation of the given point.

st_coveredby(raster, integer, raster, integer) FUNCTION SQL true boolean INVOKER

args: rastA, nbandA, rastB, nbandB - Return true if no points of raster rastA lie outside raster rastB.

_intbig_out(intbig_gkey) FUNCTION C true cstring INVOKER
st_boundingdiagonal(geometry, boolean) FUNCTION C true geometry INVOKER

args: geom, fits=false - Returns the diagonal of the supplied geometrys bounding box.

box2d_in(cstring) FUNCTION C true box2d INVOKER
geometry_overright(geometry, geometry) FUNCTION C true boolean INVOKER
st_expand(geometry, double precision, double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: geom, dx, dy, dz=0, dm=0 - Returns bounding box expanded in all directions from the bounding box of the input geometry. Uses double-precision

st_multilinestringfromtext(text, integer) FUNCTION SQL true geometry INVOKER
st_valuecount(text, text, integer, double precision[], double precision) FUNCTION SQL false SETOF record INVOKER

args: rastertable, rastercolumn, nband, searchvalues, roundto=0, OUT value, OUT count - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

gbt_oid_same(internal, internal, internal) FUNCTION C true internal INVOKER
gbt_float8_union(bytea, internal) FUNCTION C true gbtreekey16 INVOKER
gbt_oid_picksplit(internal, internal) FUNCTION C true internal INVOKER
st_asjpeg(raster, integer, integer) FUNCTION SQL true bytea INVOKER

args: rast, nband, quality - Return the raster tile selected bands as a single Joint Photographic Exports Group (JPEG) image (byte array). If no band is specified and 1 or more than 3 bands, then only the first band is used. If only 3 bands then all 3 bands are used and mapped to RGB.

gin_compare_prefix_oid(oid, oid, smallint, internal) FUNCTION C true integer INVOKER
_raster_constraint_info_alignment(name, name, name) FUNCTION SQL false boolean INVOKER
st_force3dz(geometry) FUNCTION C true geometry INVOKER

args: geomA - Force the geometries into XYZ mode.

_st_union_transfn(internal, raster, integer) FUNCTION C true internal INVOKER
gin_compare_prefix_macaddr(macaddr, macaddr, smallint, internal) FUNCTION C true integer INVOKER
geometry_contains(geometry, geometry) FUNCTION C true boolean INVOKER
st_resize(raster, double precision, double precision, text, double precision) FUNCTION PLPGSQL true raster INVOKER

args: rast, percentwidth, percentheight, algorithm=NearestNeighbor, maxerr=0.125 - Resize a raster to a new width/height

geometry_gist_decompress_nd(internal) FUNCTION C false internal INVOKER
st_linelocatepoint(geometry, geometry) FUNCTION C true double precision INVOKER

args: a_linestring, a_point - Returns a float between 0 and 1 representing the location of the closest point on LineString to the given Point, as a fraction of total 2d line length.

st_asgml(geography, integer, integer) FUNCTION SQL true text INVOKER

args: geog, maxdecimaldigits=15, options=0 - Return the geometry as a GML version 2 or 3 element.

st_forcepolygonccw(geometry) FUNCTION SQL true geometry INVOKER

args: geom - Orients all exterior rings counter-clockwise and all interior rings clockwise.

st_makeemptyraster(integer, integer, double precision, double precision, double precision, double precision, double precision, double precision, integer) FUNCTION C true raster INVOKER

args: width, height, upperleftx, upperlefty, scalex, scaley, skewx, skewy, srid=unknown - Returns an empty raster (having no bands) of given dimensions (width & height), upperleft X and Y, pixel size and rotation (scalex, scaley, skewx & skewy) and reference system (srid). If a raster is passed in, returns a new raster with the same size, alignment and SRID. If srid is left out, the spatial ref is set to unknown (0).

st_centroid(text) FUNCTION SQL true geometry INVOKER
st_count(raster, boolean) FUNCTION SQL true bigint INVOKER

args: rast, exclude_nodata_value - Returns the number of pixels in a given band of a raster or raster coverage. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the nodata value.

gbt_ts_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
g_intbig_decompress(internal) FUNCTION C true internal INVOKER
st_setvalues(raster, integer, integer, integer, integer, double precision, boolean) FUNCTION PLPGSQL true raster INVOKER

args: rast, columnx, rowy, width, height, newvalue, keepnodata=FALSE - Returns modified raster resulting from setting the values of a given band.

st_approxhistogram(raster, integer, boolean, double precision, integer, boolean) FUNCTION SQL true SETOF record INVOKER
st_linefromencodedpolyline(text, integer) FUNCTION C true geometry INVOKER

args: polyline, precision=5 - Creates a LineString from an Encoded Polyline.

gbt_inet_union(bytea, internal) FUNCTION C true gbtreekey16 INVOKER
st_relatematch(text, text) FUNCTION C true boolean INVOKER

args: intersectionMatrix, intersectionMatrixPattern - Returns true if intersectionMattrixPattern1 implies intersectionMatrixPattern2

gbt_int8_compress(internal) FUNCTION C true internal INVOKER
st_addband(raster, raster, integer, integer) FUNCTION C true raster INVOKER

args: torast, fromrast, fromband=1, torastindex=at_end - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

st_geometryfromtext(text) FUNCTION C true geometry INVOKER

args: WKT - Return a specified ST_Geometry value from Well-Known Text representation (WKT). This is an alias name for ST_GeomFromText

st_polygonize(geometry[]) FUNCTION C true geometry INVOKER

args: geom_array - Aggregate. Creates a GeometryCollection containing possible polygons formed from the constituent linework of a set of geometries.

_raster_constraint_info_coverage_tile(name, name, name) FUNCTION SQL false boolean INVOKER
gin_extract_query_cidr(cidr, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
gbt_int4_union(bytea, internal) FUNCTION C true gbtreekey8 INVOKER
_st_orderingequals(geometry, geometry) FUNCTION C true boolean INVOKER
st_quantile(raster, integer, double precision[]) FUNCTION SQL true SETOF record INVOKER

args: rast, nband, quantiles - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

geography_gist_compress(internal) FUNCTION C false internal INVOKER
_st_askml(integer, geography, integer, text) FUNCTION C true text INVOKER
gin_compare_prefix_date(date, date, smallint, internal) FUNCTION C true integer INVOKER
_int_overlap(integer[], integer[]) FUNCTION C true boolean INVOKER

overlaps

gbt_int8_same(internal, internal, internal) FUNCTION C true internal INVOKER
st_intersection(geography, geography) FUNCTION SQL true geography INVOKER

args: geogA, geogB - (T)Returns a geometry that represents the shared portion of geomA and geomB.

dblink_connect(text, text) FUNCTION C false text INVOKER
st_makepoint(double precision, double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: x, y, z, m - Creates a 2D,3DZ or 4D point geometry.

st_ispolygonccw(geometry) FUNCTION C true boolean INVOKER

args: geom - Returns true if all exterior rings are oriented counter-clockwise and all interior rings are oriented clockwise.

st_asgdalraster(raster, text, text[], integer) FUNCTION C true bytea INVOKER

args: rast, format, options=NULL, srid=sameassource - Return the raster tile in the designated GDAL Raster format. Raster formats are one of those supported by your compiled library. Use ST_GDALDrivers() to get a list of formats supported by your library.

st_asraster(geometry, integer, integer, text, double precision, double precision, double precision, double precision, double precision, double precision, boolean) FUNCTION SQL true raster INVOKER

args: geom, width, height, pixeltype, value=1, nodataval=0, upperleftx=NULL, upperlefty=NULL, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

st_mpointfromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Makes a Geometry from WKT with the given SRID. If SRID is not given, it defaults to 0.

raster_same(raster, raster) FUNCTION SQL true boolean INVOKER
st_asewkb(geometry, text) FUNCTION C true bytea INVOKER

args: g1, NDR_or_XDR - Return the Well-Known Binary (WKB) representation of the geometry with SRID meta data.

st_zmin(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns Z minima of a bounding box 2d or 3d or a geometry.

g_int_consistent(internal, integer[], integer, oid, internal) FUNCTION C true boolean INVOKER
st_multi(geometry) FUNCTION C true geometry INVOKER

args: g1 - Return the geometry as a MULTI* geometry.

st_pixelascentroids(raster, integer, boolean) FUNCTION SQL true SETOF record INVOKER

args: rast, band=1, exclude_nodata_value=TRUE - Returns the centroid (point geometry) for each pixel of a raster band along with the value, the X and the Y raster coordinates of each pixel. The point geometry is the centroid of the area represented by a pixel.

g_int_union(internal, internal) FUNCTION C true ARRAY INVOKER
st_project(geography, double precision, double precision) FUNCTION C true geography INVOKER

args: g1, distance, azimuth - Returns a POINT projected from a start point using a distance in meters and bearing (azimuth) in radians.

bqarr_in(cstring) FUNCTION C true query_int INVOKER
st_intersection(raster, integer, raster, integer, double precision) FUNCTION SQL true raster INVOKER
st_linefrommultipoint(geometry) FUNCTION C true geometry INVOKER

args: aMultiPoint - Creates a LineString from a MultiPoint geometry.

gbt_bytea_consistent(internal, bytea, smallint, oid, internal) FUNCTION C true boolean INVOKER
st_gmltosql(text, integer) FUNCTION C true geometry INVOKER

args: geomgml, srid - Return a specified ST_Geometry value from GML representation. This is an alias name for ST_GeomFromGML

st_asmvt(anyelement) AGGREGATE INTERNAL true bytea INVOKER

args: row - Return a Mapbox Vector Tile representation of a set of rows.

_add_raster_constraint_out_db(name, name, name) FUNCTION PLPGSQL false boolean INVOKER
updaterastersrid(name, name, integer) FUNCTION SQL false boolean INVOKER

args: table_name, column_name, new_srid - Change the SRID of all rasters in the user-specified column and table.

st_bandpath(raster, integer) FUNCTION C true text INVOKER

args: rast, bandnum=1 - Returns system file path to a band stored in file system. If no bandnum specified, 1 is assumed.

st_multipointfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
st_countagg(raster, integer, boolean, double precision) AGGREGATE INTERNAL true bigint INVOKER

args: rast, nband, exclude_nodata_value, sample_percent - Aggregate. Returns the number of pixels in a given band of a set of rasters. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the NODATA value.

st_nearestvalue(raster, integer, integer, integer, boolean) FUNCTION SQL true double precision INVOKER

args: rast, bandnum, columnx, rowy, exclude_nodata_value=true - Returns the nearest non-NODATA value of a given bands pixel specified by a columnx and rowy or a geometric point expressed in the same spatial reference coordinate system as the raster.

raster_overbelow(raster, raster) FUNCTION SQL true boolean INVOKER
st_3dclosestpoint(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns the 3-dimensional point on g1 that is closest to g2. This is the first point of the 3D shortest line.

st_clusterdbscan(geometry, double precision, integer) WINDOW C true integer INVOKER

args: geom, eps, minpoints - Windowing function that returns integer id for the cluster each input geometry is in based on 2D implementation of Density-based spatial clustering of applications with noise (DBSCAN) algorithm.

box2d_out(box2d) FUNCTION C true cstring INVOKER
_raster_constraint_info_index(name, name, name) FUNCTION SQL false boolean INVOKER
_st_worldtorastercoord(raster, double precision, double precision) FUNCTION C true record INVOKER
st_minpossiblevalue(text) FUNCTION C true double precision INVOKER
_st_valuecount(raster, integer, boolean, double precision[], double precision) FUNCTION C true SETOF record INVOKER
disablelongtransactions() FUNCTION PLPGSQL false text INVOKER

Disable long transaction support. This function removes the long transaction support metadata tables, and drops all triggers attached to lock-checked tables.

st_distance_sphere(geometry, geometry) FUNCTION SQL true double precision INVOKER
st_3dlength_spheroid(geometry, spheroid) FUNCTION SQL true double precision INVOKER
st_mapalgebra(raster, integer, raster, integer, regprocedure, text, text, raster, integer, integer, text[]) FUNCTION SQL true raster INVOKER
addrasterconstraints(name, name, name, text[]) FUNCTION PLPGSQL false boolean INVOKER

args: rastschema, rasttable, rastcolumn, VARIADIC constraints - Adds raster constraints to a loaded raster table for a specific column that constrains spatial ref, scaling, blocksize, alignment, bands, band type and a flag to denote if raster column is regularly blocked. The table must be loaded with data for the constraints to be inferred. Returns true of the constraint setting was accomplished and if issues a notice.

st_mapalgebraexpr(raster, integer, raster, integer, text, text, text, text, text, double precision) FUNCTION C true raster INVOKER
gin_extract_query_varbit(bit varying, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
st_makepolygon(geometry, geometry[]) FUNCTION C true geometry INVOKER

args: outerlinestring, interiorlinestrings - Creates a Polygon formed by the given shell. Input geometries must be closed LINESTRINGS.

_add_overview_constraint(name, name, name, name, name, name, integer) FUNCTION PLPGSQL false boolean INVOKER
st_asbinary(geography, text) FUNCTION SQL true bytea INVOKER

args: g1, NDR_or_XDR - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

gin_extract_value_int2(smallint, internal) FUNCTION C true internal INVOKER
st_linecrossingdirection(geometry, geometry) FUNCTION SQL true integer INVOKER

args: linestringA, linestringB - Given 2 linestrings, returns a number between -3 and 3 denoting what kind of crossing behavior. 0 is no crossing.

box2d(geometry) FUNCTION C true box2d INVOKER

args: geomA - Returns a BOX2D representing the maximum extents of the geometry.

st_distance(text, text) FUNCTION SQL true double precision INVOKER
_st_touches(geometry, geometry) FUNCTION C true boolean INVOKER
st_linestringfromwkb(bytea) FUNCTION SQL true geometry INVOKER

args: WKB - Makes a geometry from WKB with the given SRID.

gbt_date_picksplit(internal, internal) FUNCTION C true internal INVOKER
st_value(raster, geometry, boolean) FUNCTION SQL true double precision INVOKER

args: rast, pt, exclude_nodata_value=true - Returns the value of a given band in a given columnx, rowy pixel or at a particular geometric point. Band numbers start at 1 and assumed to be 1 if not specified. If exclude_nodata_value is set to false, then all pixels include nodata pixels are considered to intersect and return value. If exclude_nodata_value is not passed in then reads it from metadata of raster.

dblink_disconnect(text) FUNCTION C false text INVOKER
raster_eq(raster, raster) FUNCTION SQL true boolean INVOKER
gbt_date_same(internal, internal, internal) FUNCTION C true internal INVOKER
gbt_int4_same(internal, internal, internal) FUNCTION C true internal INVOKER
geometry_gist_penalty_nd(internal, internal, internal) FUNCTION C false internal INVOKER
dblink_send_query(text, text) FUNCTION C false integer INVOKER
st_containsproperly(raster, raster) FUNCTION SQL true boolean INVOKER

args: rastA, rastB - Return true if rastB intersects the interior of rastA but not the boundary or exterior of rastA.

bytea(geometry) FUNCTION C true bytea INVOKER
find_srid(character varying, character varying, character varying) FUNCTION PLPGSQL true integer INVOKER

args: a_schema_name, a_table_name, a_geomfield_name - The syntax is find_srid(a_db_schema, a_table, a_column) and the function returns the integer SRID of the specified column by searching through the GEOMETRY_COLUMNS table.

spheroid_out(spheroid) FUNCTION C true cstring INVOKER
_st_histogram(text, text, integer, boolean, double precision, integer, double precision[], boolean) FUNCTION C true SETOF record INVOKER
st_perimeter2d(geometry) FUNCTION C true double precision INVOKER

args: geomA - Returns the 2-dimensional perimeter of the geometry, if it is a polygon or multi-polygon. This is currently an alias for ST_Perimeter.

box(box3d) FUNCTION C true box INVOKER
gin_compare_prefix_time(time without time zone, time without time zone, smallint, internal) FUNCTION C true integer INVOKER
st_estimated_extent(text, text, text) FUNCTION SQL true box2d INVOKER
st_findextent(text, text, text) FUNCTION PLPGSQL true box2d INVOKER
st_mapalgebrafct(raster, integer, regprocedure) FUNCTION SQL true raster INVOKER
st_range4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
gbt_intv_picksplit(internal, internal) FUNCTION C true internal INVOKER
geography_ge(geography, geography) FUNCTION C true boolean INVOKER
_raster_constraint_info_nodata_values(name, name, name) FUNCTION SQL false ARRAY INVOKER
st_mapalgebrafct(raster, integer, text, regprocedure, text[]) FUNCTION C true raster INVOKER
droprasterconstraints(name, name, text[]) FUNCTION SQL false boolean INVOKER
st_invdistweight4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
st_simplifyvw(geometry, double precision) FUNCTION C true geometry INVOKER

args: geomA, tolerance - Returns a “simplified” version of the given geometry using the Visvalingam-Whyatt algorithm

gtrgm_decompress(internal) FUNCTION C true internal INVOKER
postgis_scripts_released() FUNCTION C true text INVOKER

Returns the version number of the postgis.sql script released with the installed postgis lib.

st_length2d_spheroid(geometry, spheroid) FUNCTION SQL true double precision INVOKER

args: a_geometry, a_spheroid - Calculates the 2D length/perimeter of a geometry on an ellipsoid. This is useful if the coordinates of the geometry are in longitude/latitude and a length is desired without reprojection.

st_intersects(raster, integer, geometry) FUNCTION SQL true boolean INVOKER

args: rast, nband, geommin - Return true if raster rastA spatially intersects raster rastB.

st_srid(raster) FUNCTION C true integer INVOKER

args: rast - Returns the spatial reference identifier of the raster as defined in spatial_ref_sys table.

geometry_analyze(internal) FUNCTION C false boolean INVOKER
st_simplifypreservetopology(geometry, double precision) FUNCTION C true geometry INVOKER

args: geomA, tolerance - Returns a “simplified” version of the given geometry using the Douglas-Peucker algorithm. Will avoid creating derived geometries (polygons in particular) that are invalid.

st_srid(geography) FUNCTION C true integer INVOKER
subarray(integer[], integer, integer) FUNCTION C true ARRAY INVOKER
_postgis_stats(regclass, text, text) FUNCTION C false text INVOKER
postgis_typmod_type(integer) FUNCTION C true text INVOKER
_st_aspect4ma(double precision[], integer[], text[]) FUNCTION PLPGSQL true double precision INVOKER
gbt_numeric_consistent(internal, numeric, smallint, oid, internal) FUNCTION C true boolean INVOKER
pgis_geometry_accum_finalfn(pgis_abs) FUNCTION C false ARRAY INVOKER
st_assvg(geography, integer, integer) FUNCTION C true text INVOKER

args: geog, rel=0, maxdecimaldigits=15 - Returns a Geometry in SVG path data given a geometry or geography object.

_drop_raster_constraint_nodata_values(name, name, name) FUNCTION SQL false boolean INVOKER
st_isvaliddetail(geometry, integer) FUNCTION C true valid_detail INVOKER

args: geom, flags - Returns a valid_detail (valid,reason,location) row stating if a geometry is valid or not and if not valid, a reason why and a location where.

pgis_asmvt_transfn(internal, anyelement, text) FUNCTION C true internal INVOKER
st_coveredby(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: geomA, geomB - Returns 1 (TRUE) if no point in Geometry/Geography A is outside Geometry/Geography B

dblink_fetch(text, integer, boolean) FUNCTION C false SETOF record INVOKER
gbtreekey16_in(cstring) FUNCTION C true gbtreekey16 INVOKER
st_astiff(raster, integer[], text, integer) FUNCTION SQL true bytea INVOKER

args: rast, nbands, compression=’, srid=sameassource - Return the raster selected bands as a single TIFF image (byte array). If no band is specified, then will try to use all bands.

st_approxquantile(text, text, integer, double precision, double precision) FUNCTION SQL false double precision INVOKER
bytea(geography) FUNCTION C true bytea INVOKER
st_intersection(raster, geometry) FUNCTION SQL true SETOF geomval INVOKER
checkauthtrigger() FUNCTION C false trigger INVOKER
_st_asgml(integer, geometry, integer, integer, text, text) FUNCTION C true text INVOKER
_st_distancetree(geography, geography) FUNCTION SQL true double precision INVOKER
dblink_close(text, text) FUNCTION C false text INVOKER
st_numpoints(geometry) FUNCTION C true integer INVOKER

args: g1 - Return the number of points in an ST_LineString or ST_CircularString value.

st_overlaps(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: A, B - Returns TRUE if the Geometries share space, are of the same dimension, but are not completely contained by each other.

gbt_tstz_compress(internal) FUNCTION C true internal INVOKER
st_hasnoband(raster, integer) FUNCTION C true boolean INVOKER

args: rast, bandnum=1 - Returns true if there is no band with given band number. If no band number is specified, then band number 1 is assumed.

st_valuecount(raster, integer, double precision, double precision) FUNCTION SQL true integer INVOKER

args: rast, nband, searchvalue, roundto=0 - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

_st_asgml(integer, geography, integer, integer, text, text) FUNCTION C true text INVOKER
_raster_constraint_pixel_types(raster) FUNCTION SQL false ARRAY INVOKER
st_cpawithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER

args: track1, track2, maxdist - Returns true if the trajectories closest points of approachare within the specified distance.

st_clip(raster, geometry, double precision[], boolean) FUNCTION SQL true raster INVOKER
st_pointfromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Makes a point Geometry from WKT with the given SRID. If SRID is not given, it defaults to unknown.

st_rotate(geometry, double precision, geometry) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians, pointOrigin - Rotate a geometry rotRadians counter-clockwise about an origin.

droprasterconstraints(name, name, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) FUNCTION SQL false boolean INVOKER

args: rasttable, rastcolumn, srid, scale_x, scale_y, blocksize_x, blocksize_y, same_alignment, regular_blocking, num_bands=true, pixel_types=true, nodata_values=true, out_db=true, extent=true - Drops PostGIS raster constraints that refer to a raster table column. Useful if you need to reload data or update your raster column data.

st_polygon(geometry, integer) FUNCTION SQL true geometry INVOKER

args: aLineString, srid - Returns a polygon built from the specified linestring and SRID.

st_distinct4ma(double precision[], text, text[]) FUNCTION SQL true double precision INVOKER
st_asgeojson(geography, integer, integer) FUNCTION SQL true text INVOKER

args: geog, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

gbt_float8_distance(internal, double precision, smallint, oid) FUNCTION C true double precision INVOKER
gbt_int8_distance(internal, bigint, smallint, oid) FUNCTION C true double precision INVOKER
gin_compare_prefix_timetz(time with time zone, time with time zone, smallint, internal) FUNCTION C true integer INVOKER
st_relate(geometry, geometry) FUNCTION C true text INVOKER

args: geomA, geomB - Returns true if this Geometry is spatially related to anotherGeometry, by testing for intersections between the Interior, Boundary and Exterior of the two geometries as specified by the values in the intersectionMatrixPattern. If no intersectionMatrixPattern is passed in, then returns the maximum intersectionMatrixPattern that relates the 2 geometries.

box3d(raster) FUNCTION SQL true box3d INVOKER
gbt_ts_union(bytea, internal) FUNCTION C true gbtreekey16 INVOKER
st_transscale(geometry, double precision, double precision, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, deltaX, deltaY, XFactor, YFactor - Translate a geometry by given factors and offsets.

st_union(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns a geometry that represents the point set union of the Geometries.

st_width(raster) FUNCTION C true integer INVOKER

args: rast - Returns the width of the raster in pixels.

dblink_close(text) FUNCTION C false text INVOKER
gbt_intv_distance(internal, interval, smallint, oid) FUNCTION C true double precision INVOKER
gbt_numeric_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
gin_extract_value_float8(double precision, internal) FUNCTION C true internal INVOKER
_st_rastertoworldcoord(raster, integer, integer) FUNCTION C true record INVOKER
_drop_raster_constraint_scale(name, name, name, character) FUNCTION PLPGSQL false boolean INVOKER
gin_extract_query_float8(double precision, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
box2df_in(cstring) FUNCTION C true box2df INVOKER
point(geometry) FUNCTION C true point INVOKER
st_geomfromewkt(text) FUNCTION C true geometry INVOKER

args: EWKT - Return a specified ST_Geometry value from Extended Well-Known Text representation (EWKT).

st_mpointfromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Makes a Geometry from WKT with the given SRID. If SRID is not given, it defaults to 0.

bqarr_out(query_int) FUNCTION C true cstring INVOKER
geometry_overlaps(geometry, geometry) FUNCTION C true boolean INVOKER
st_mem_size(geometry) FUNCTION SQL true integer INVOKER
_add_raster_constraint_srid(name, name, name) FUNCTION PLPGSQL false boolean INVOKER
gbt_cash_picksplit(internal, internal) FUNCTION C true internal INVOKER
_st_concavehull(geometry) FUNCTION PLPGSQL true geometry INVOKER
st_height(raster) FUNCTION C true integer INVOKER

args: rast - Returns the height of the raster in pixels.

_st_histogram(raster, integer, boolean, double precision, integer, double precision[], boolean, double precision, double precision) FUNCTION C true SETOF record INVOKER
st_asgml(integer, geography, integer, integer, text, text) FUNCTION SQL true text INVOKER

args: version, geog, maxdecimaldigits=15, options=0, nprefix=null, id=null - Return the geometry as a GML version 2 or 3 element.

st_combine_bbox(box2d, geometry) FUNCTION SQL true box2d INVOKER
st_createoverview(regclass, name, integer, text) FUNCTION PLPGSQL false regclass INVOKER

args: tab, col, factor, algo=‘NearestNeighbor’ - Create an reduced resolution version of a given raster coverage.

st_interpolatepoint(geometry, geometry) FUNCTION C true double precision INVOKER

args: line, point - Return the value of the measure dimension of a geometry at the point closed to the provided point.

st_offsetcurve(geometry, double precision, text) FUNCTION C true geometry INVOKER

args: line, signed_distance, style_parameters=’ - Return an offset line at a given distance and side from an input line. Useful for computing parallel lines about a center line

st_setbandisnodata(raster, integer) FUNCTION C true raster INVOKER

args: rast, band=1 - Sets the isnodata flag of the band to TRUE.

gbt_time_same(internal, internal, internal) FUNCTION C true internal INVOKER
date_dist(date, date) FUNCTION C true integer INVOKER
querytree(query_int) FUNCTION C true text INVOKER
st_scalex(raster) FUNCTION C true double precision INVOKER

args: rast - Returns the X component of the pixel width in units of coordinate reference system.

gin_extract_query_timestamptz(timestamp with time zone, internal, smallint, internal, internal) FUNCTION C true internal INVOKER
st_mapalgebra(raster, integer, regprocedure, double precision[], boolean, text, text, raster, text[]) FUNCTION SQL true raster INVOKER
st_geomfromgml(text) FUNCTION SQL true geometry INVOKER

args: geomgml - Takes as input GML representation of geometry and outputs a PostGIS geometry object

st_pointonsurface(geometry) FUNCTION C true geometry INVOKER

args: g1 - Returns a POINT guaranteed to lie on the surface.

pg_stat_statements_reset() FUNCTION C false void INVOKER
dropgeometrytable(character varying, character varying, character varying) FUNCTION PLPGSQL false text INVOKER

args: catalog_name, schema_name, table_name - Drops a table and all its references in geometry_columns.

gbt_date_distance(internal, date, smallint, oid) FUNCTION C true double precision INVOKER
gin_extract_value_timestamptz(timestamp with time zone, internal) FUNCTION C true internal INVOKER
st_askml(geography, integer) FUNCTION SQL true text INVOKER

args: geog, maxdecimaldigits=15 - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

_st_crosses(geometry, geometry) FUNCTION C true boolean INVOKER
pgis_geometry_union_finalfn(pgis_abs) FUNCTION C false geometry INVOKER
postgis_lib_version() FUNCTION C true text INVOKER

Returns the version number of the PostGIS library.

gin_extract_value_text(text, internal) FUNCTION C true internal INVOKER
st_voronoilines(geometry, double precision, geometry) FUNCTION SQL true geometry INVOKER

args: g1, tolerance, extend_to - Returns the boundaries between the cells of the Voronoi diagram constructed from the vertices of a geometry.

st_frechetdistance(geometry, geometry, double precision) FUNCTION C true double precision INVOKER

args: g1, g2, densifyFrac = -1 - Returns the Fréchet distance between two geometries. This is a measure of similarity between curves that takes into account the location and ordering of the points along the curves. Units are in the units of the spatial reference system of the geometries.

gin_extract_query_char("char", internal, smallint, internal, internal) FUNCTION C true internal INVOKER
gbt_int4_compress(internal) FUNCTION C true internal INVOKER
st_intersects(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: geomA, geomB - Returns TRUE if the Geometries/Geography “spatially intersect in 2D” - (share any portion of space) and FALSE if they dont (they are Disjoint). For geography – tolerance is 0.00001 meters (so any points that close are considered to intersect)

st_approxcount(raster, boolean, double precision) FUNCTION SQL true bigint INVOKER
dblink_build_sql_delete(text, int2vector, integer, text[]) FUNCTION C false text INVOKER
box3d_out(box3d) FUNCTION C true cstring INVOKER
st_multipolygonfromtext(text) FUNCTION SQL true geometry INVOKER
_int_contains(integer[], integer[]) FUNCTION C true boolean INVOKER

contains

dblink_is_busy(text) FUNCTION C false integer INVOKER
st_resize(raster, integer, integer, text, double precision) FUNCTION SQL true raster INVOKER

args: rast, width, height, algorithm=NearestNeighbor, maxerr=0.125 - Resize a raster to a new width/height

st_covers(geometry, geometry) FUNCTION SQL true boolean INVOKER

args: geomA, geomB - Returns 1 (TRUE) if no point in Geometry B is outside Geometry A

st_stddev4ma(double precision[], text, text[]) FUNCTION SQL true double precision INVOKER
dblink_open(text, text, text) FUNCTION C false text INVOKER
st_geohash(geography, integer) FUNCTION C true text INVOKER
gin_extract_value_bytea(bytea, internal) FUNCTION C true internal INVOKER
st_linefromtext(text) FUNCTION SQL true geometry INVOKER

args: WKT - Makes a Geometry from WKT representation with the given SRID. If SRID is not given, it defaults to 0.

gbt_bit_consistent(internal, bit, smallint, oid, internal) FUNCTION C true boolean INVOKER
st_linefromwkb(bytea) FUNCTION SQL true geometry INVOKER

args: WKB - Makes a LINESTRING from WKB with the given SRID

geography_typmod_in(cstring[]) FUNCTION C true integer INVOKER
st_buffer(geometry, double precision) FUNCTION C true geometry INVOKER

args: g1, radius_of_buffer - (T)Returns a geometry covering all points within a given distancefrom the input geometry.

geography_cmp(geography, geography) FUNCTION C true integer INVOKER
st_transform(raster, integer, text, double precision, double precision, double precision) FUNCTION SQL true raster INVOKER

args: rast, srid, algorithm=NearestNeighbor, maxerr=0.125, scalex, scaley - Reprojects a raster in a known spatial reference system to another known spatial reference system using specified resampling algorithm. Options are NearestNeighbor, Bilinear, Cubic, CubicSpline, Lanczos defaulting to NearestNeighbor.

st_asjpeg(raster, integer, text[]) FUNCTION SQL true bytea INVOKER

args: rast, nband, options=NULL - Return the raster tile selected bands as a single Joint Photographic Exports Group (JPEG) image (byte array). If no band is specified and 1 or more than 3 bands, then only the first band is used. If only 3 bands then all 3 bands are used and mapped to RGB.

_st_linecrossingdirection(geometry, geometry) FUNCTION C true integer INVOKER
dropgeometrycolumn(character varying, character varying) FUNCTION PLPGSQL false text INVOKER

args: table_name, column_name - Removes a geometry column from a spatial table.

_st_pointoutside(geography) FUNCTION C true geography INVOKER
st_setrotation(raster, double precision) FUNCTION C true raster INVOKER

args: rast, rotation - Set the rotation of the raster in radian.

_drop_raster_constraint_coverage_tile(name, name, name) FUNCTION SQL false boolean INVOKER
ginint4_consistent(internal, smallint, internal, integer, internal, internal, internal, internal) FUNCTION C true boolean INVOKER
g_intbig_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
_st_covers(geometry, geometry) FUNCTION C true boolean INVOKER
st_histogram(text, text, integer, integer, boolean) FUNCTION SQL false SETOF record INVOKER

args: rastertable, rastercolumn, nband, bins, right - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

st_minconvexhull(raster, integer) FUNCTION C true geometry INVOKER
st_dumprings(geometry) FUNCTION C true SETOF geometry_dump INVOKER

args: a_polygon - Returns a set of geometry_dump rows, representing the exterior and interior rings of a polygon.

st_tpi(raster, integer, text, boolean) FUNCTION SQL true raster INVOKER
raster_contain(raster, raster) FUNCTION SQL true boolean INVOKER
st_approxhistogram(text, text, integer, boolean, double precision, integer, boolean) FUNCTION SQL false SETOF record INVOKER
st_area(text) FUNCTION SQL true double precision INVOKER
st_asgml(integer, geometry, integer, integer, text, text) FUNCTION SQL true text INVOKER

args: version, geom, maxdecimaldigits=15, options=0, nprefix=null, id=null - Return the geometry as a GML version 2 or 3 element.

_st_coveredby(geometry, geometry) FUNCTION C true boolean INVOKER
st_astiff(raster, text, integer) FUNCTION PLPGSQL true bytea INVOKER

args: rast, compression=’, srid=sameassource - Return the raster selected bands as a single TIFF image (byte array). If no band is specified, then will try to use all bands.

gbt_float8_consistent(internal, double precision, smallint, oid, internal) FUNCTION C true boolean INVOKER
st_union(raster, unionarg[]) AGGREGATE INTERNAL true raster INVOKER
_st_union_transfn(internal, raster) FUNCTION C true internal INVOKER
updategeometrysrid(character varying, character varying, character varying, integer) FUNCTION PLPGSQL false text INVOKER

args: schema_name, table_name, column_name, srid - Updates the SRID of all features in a geometry column, geometry_columns metadata and srid. If it was enforced with constraints, the constraints will be updated with new srid constraint. If the old was enforced by type definition, the type definition will be changed.

st_pointfromgeohash(text, integer) FUNCTION C true geometry INVOKER

args: geohash, precision=full_precision_of_geohash - Return a point from a GeoHash string.

gbt_macad_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
st_roughness(raster, integer, text, boolean) FUNCTION SQL true raster INVOKER
st_pixelheight(raster) FUNCTION C true double precision INVOKER

args: rast - Returns the pixel height in geometric units of the spatial reference system.

st_isempty(geometry) FUNCTION C true boolean INVOKER

args: geomA - Returns true if this Geometry is an empty geometrycollection, polygon, point etc.

st_ymin(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns Y minima of a bounding box 2d or 3d or a geometry.

st_dumpaspolygons(raster, integer, boolean) FUNCTION C true SETOF geomval INVOKER
st_setsrid(raster, integer) FUNCTION C true raster INVOKER

args: rast, srid - Sets the SRID of a raster to a particular integer srid defined in the spatial_ref_sys table.

st_clusterkmeans(geometry, integer) WINDOW C false integer INVOKER

args: geom, number_of_clusters - Windowing function that returns integer id for the cluster each input geometry is in.

checkauth(text, text) FUNCTION SQL false integer INVOKER

args: a_table_name, a_key_column_name - Creates trigger on a table to prevent/allow updates and deletes of rows based on authorization token.

gin_extract_query_trgm(text, internal, smallint, internal, internal, internal, internal) FUNCTION C true internal INVOKER
geography_gist_same(box2d, box2d, internal) FUNCTION C false internal INVOKER
st_collect(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: g1field - Return a specified ST_Geometry value from a collection of other geometries.

postgis_version() FUNCTION C true text INVOKER

Returns PostGIS version number and compile-time options.

geometry_ge(geometry, geometry) FUNCTION C true boolean INVOKER
geography_gist_picksplit(internal, internal) FUNCTION C false internal INVOKER
st_multipolyfromwkb(bytea) FUNCTION SQL true geometry INVOKER
st_shortestline(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns the 2-dimensional shortest line between two geometries

pgis_asgeobuf_finalfn(internal) FUNCTION C true bytea INVOKER
pgis_geometry_accum_transfn(pgis_abs, geometry) FUNCTION C false pgis_abs INVOKER
st_linefromtext(text, integer) FUNCTION SQL true geometry INVOKER

args: WKT, srid - Makes a Geometry from WKT representation with the given SRID. If SRID is not given, it defaults to 0.

_st_countagg_transfn(agg_count, raster, integer, boolean, double precision) FUNCTION PLPGSQL true agg_count INVOKER
st_x(geometry) FUNCTION C true double precision INVOKER

args: a_point - Return the X coordinate of the point, or NULL if not available. Input must be a point.

st_approxquantile(text, text, integer, boolean, double precision, double precision) FUNCTION SQL false double precision INVOKER
st_tri(raster, integer, raster, text, boolean) FUNCTION PLPGSQL true raster INVOKER
gbt_macad_consistent(internal, macaddr, smallint, oid, internal) FUNCTION C true boolean INVOKER
raster_hash(raster) FUNCTION INTERNAL true integer INVOKER
st_asmvt(anyelement, text) AGGREGATE INTERNAL true bytea INVOKER

args: row, name - Return a Mapbox Vector Tile representation of a set of rows.

st_coveredby(text, text) FUNCTION SQL true boolean INVOKER
st_gmltosql(text) FUNCTION SQL true geometry INVOKER

args: geomgml - Return a specified ST_Geometry value from GML representation. This is an alias name for ST_GeomFromGML

st_nrings(geometry) FUNCTION C true integer INVOKER

args: geomA - If the geometry is a polygon or multi-polygon returns the number of rings.

st_polygonize(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: geomfield - Aggregate. Creates a GeometryCollection containing possible polygons formed from the constituent linework of a set of geometries.

st_xmin(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns X minima of a bounding box 2d or 3d or a geometry.

st_intersection(geometry, raster, integer) FUNCTION PLPGSQL true SETOF geomval INVOKER
gbt_bit_compress(internal) FUNCTION C true internal INVOKER
gbt_float4_same(internal, internal, internal) FUNCTION C true internal INVOKER
st_asewkt(text) FUNCTION SQL true text INVOKER
gin_extract_value_int8(bigint, internal) FUNCTION C true internal INVOKER
st_isvaliddetail(geometry) FUNCTION C true valid_detail INVOKER

args: geom - Returns a valid_detail (valid,reason,location) row stating if a geometry is valid or not and if not valid, a reason why and a location where.

st_wkbtosql(bytea) FUNCTION C true geometry INVOKER

args: WKB - Return a specified ST_Geometry value from Well-Known Binary representation (WKB). This is an alias name for ST_GeomFromWKB that takes no srid

_overview_constraint_info(name, name, name) FUNCTION SQL false record INVOKER
st_snaptogrid(geometry, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, sizeX, sizeY - Snap all points of the input geometry to a regular grid.

st_makevalid(geometry) FUNCTION C true geometry INVOKER

args: input - Attempts to make an invalid geometry valid without losing vertices.

st_removerepeatedpoints(geometry, double precision) FUNCTION C true geometry INVOKER

args: geom, tolerance - Returns a version of the given geometry with duplicated points removed.

st_geometryn(geometry, integer) FUNCTION C true geometry INVOKER

args: geomA, n - Return the 1-based Nth geometry if the geometry is a GEOMETRYCOLLECTION, (MULTI)POINT, (MULTI)LINESTRING, MULTICURVE or (MULTI)POLYGON, POLYHEDRALSURFACE Otherwise, return NULL.

st_setvalues(raster, integer, integer, integer, integer, integer, double precision, boolean) FUNCTION PLPGSQL true raster INVOKER

args: rast, nband, columnx, rowy, width, height, newvalue, keepnodata=FALSE - Returns modified raster resulting from setting the values of a given band.

_st_union_transfn(internal, raster, text) FUNCTION C true internal INVOKER
st_aspect(raster, integer, text, text, boolean) FUNCTION SQL true raster INVOKER
polygon(geometry) FUNCTION C true polygon INVOKER
st_y(geometry) FUNCTION C true double precision INVOKER

args: a_point - Return the Y coordinate of the point, or NULL if not available. Input must be a point.

geometry_gt(geometry, geometry) FUNCTION C true boolean INVOKER
overlaps_2d(box2df, box2df) FUNCTION C true boolean INVOKER
st_disjoint(raster, raster) FUNCTION SQL true boolean INVOKER

args: rastA, rastB - Return true if raster rastA does not spatially intersect rastB.

gbt_macad_same(internal, internal, internal) FUNCTION C true internal INVOKER
st_approxquantile(text, text, double precision, double precision[]) FUNCTION SQL false SETOF record INVOKER
gbt_text_penalty(internal, internal, internal) FUNCTION C true internal INVOKER
st_multilinestringfromtext(text) FUNCTION SQL true geometry INVOKER
st_summarystats(text, text, integer, boolean) FUNCTION SQL false summarystats INVOKER

args: rastertable, rastercolumn, nband=1, exclude_nodata_value=true - Returns summarystats consisting of count, sum, mean, stddev, min, max for a given raster band of a raster or raster coverage. Band 1 is assumed is no band is specified.

st_snaptogrid(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, size - Snap all points of the input geometry to a regular grid.

intarray_del_elem(integer[], integer) FUNCTION C true ARRAY INVOKER
gbt_int8_consistent(internal, bigint, smallint, oid, internal) FUNCTION C true boolean INVOKER
gbtreekey8_out(gbtreekey8) FUNCTION C true cstring INVOKER
st_rotatey(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians - Rotate a geometry rotRadians about the Y axis.

similarity_dist(text, text) FUNCTION C true real INVOKER
st_mlinefromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
gbt_time_compress(internal) FUNCTION C true internal INVOKER
gbt_oid_consistent(internal, oid, smallint, oid, internal) FUNCTION C true boolean INVOKER
st_mapalgebrafct(raster, text, regprocedure, text[]) FUNCTION SQL true raster INVOKER
st_covers(text, text) FUNCTION SQL true boolean INVOKER
geomfromewkb(bytea) FUNCTION C true geometry INVOKER
pgis_asmvt_finalfn(internal) FUNCTION C true bytea INVOKER
_st_setvalues(raster, integer, integer, integer, double precision[], boolean[], boolean, double precision, boolean) FUNCTION C true raster INVOKER
st_length(geometry) FUNCTION C true double precision INVOKER

args: a_2dlinestring - Returns the 2D length of the geometry if it is a LineString or MultiLineString. geometry are in units of spatial reference and geography are in meters (default spheroid)

st_bandisnodata(raster, boolean) FUNCTION SQL true boolean INVOKER

args: rast, forceChecking=true - Returns true if the band is filled with only nodata values.

st_rescale(raster, double precision, text, double precision) FUNCTION SQL true raster INVOKER

args: rast, scalexy, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster by adjusting only its scale (or pixel size). New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

st_isvalid(geometry) FUNCTION C true boolean INVOKER

args: g - Returns true if the ST_Geometry is well formed.