Routines

Routines

Name Type Language Deterministic Return Type Security Restriction Comments
unnest(anyarray) FUNCTION SQL true SETOF anyelement INVOKER
longtransactionsenabled() FUNCTION PLPGSQL false boolean INVOKER
geography_overlaps(geography, geography) FUNCTION C true boolean INVOKER
contains_2d(box2df, geometry) FUNCTION C true boolean INVOKER
st_asbinary(geometry, text) FUNCTION C true bytea INVOKER
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
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 - Returns the Z coordinate of a Point.

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

args: box, units_to_expand - Returns a bounding box expanded from another bounding box or a geometry.

st_polyfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
st_estimatedextent(text, text, text, boolean) FUNCTION C false box2d DEFINER

args: schema_name, table_name, geocolumn_name, parent_only - Return the estimated extent of a spatial table.

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

Returns build date of the PostGIS scripts.

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: geom - Shifts the longitude coordinates of a geometry between -180..180 and 0..360.

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
geometry_spgist_inner_consistent_3d(internal, internal) FUNCTION C true void INVOKER
_st_distanceuncached(geography, geography, double precision, boolean) FUNCTION C true double precision INVOKER
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 bounding box of a geometry.

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

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

box3dtobox(box3d) FUNCTION C true box INVOKER
postgis_liblwgeom_version() FUNCTION C true text INVOKER

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

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 a polygonal geometry.

st_geomcollfromtext(text, integer) FUNCTION SQL true geometry INVOKER
is_contained_2d(box2df, box2df) FUNCTION C true boolean INVOKER
st_3dextent(geometry) AGGREGATE INTERNAL true box3d INVOKER

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

st_contains(geometry, geometry) FUNCTION C true boolean INVOKER
pgis_asmvt_combinefn(internal, internal) FUNCTION C true internal INVOKER
unlockrows(text) FUNCTION PLPGSQL false integer INVOKER

args: auth_token - Removes all locks held by an authorization token.

st_askml(geography, integer, text) 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.

st_asewkt(geometry) FUNCTION C true text 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.

st_geomfromtext(text, integer) FUNCTION C true geometry INVOKER
st_hasarc(geometry) FUNCTION C true boolean INVOKER

args: geomA - Tests if a geometry contains a circular arc

geometry_distance_cpa(geometry, geometry) FUNCTION C true double precision INVOKER
postgis_index_supportfn(internal) FUNCTION C false internal INVOKER
geography_spgist_config_nd(internal, internal) FUNCTION C true void INVOKER
st_unaryunion(geometry, double precision) FUNCTION C true geometry INVOKER

args: geom, gridSize = -1 - Computes the union of the components of a single geometry.

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

args: g, distance - Aggregate function that clusters the input geometries by separation distance.

st_asmvt(anyelement, text, integer, text) AGGREGATE INTERNAL true bytea INVOKER
geometrytype(geography) FUNCTION C true text INVOKER
st_zmflag(geometry) FUNCTION C true smallint INVOKER

args: geomA - Returns a code indicating the ZM coordinate dimension of a geometry.

_st_dwithin(geography, geography, double precision, boolean) FUNCTION C true boolean INVOKER
st_expand(box2d, double precision, double precision) FUNCTION C true box2d INVOKER

args: box, dx, dy - Returns a bounding box expanded from another bounding box or a geometry.

_st_geomfromgml(text, integer) FUNCTION C true geometry INVOKER
st_polyfromtext(text) FUNCTION SQL true geometry 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 using a spheroidal earth model.

st_numinteriorrings(geometry) FUNCTION C true integer INVOKER

args: a_polygon - Returns the number of interior rings (holes) of a Polygon.

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
st_convexhull(geometry) FUNCTION C true geometry INVOKER

args: geomA - Computes the convex hull of a geometry.

st_geomfromgml(text, integer) FUNCTION C true geometry INVOKER
geography_spgist_compress_nd(internal) FUNCTION C true internal INVOKER
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 C true boolean INVOKER
st_maxdistance(geometry, geometry) FUNCTION SQL true double precision INVOKER

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

geometry_spgist_leaf_consistent_nd(internal, internal) FUNCTION C true boolean INVOKER
st_asbinary(geometry) FUNCTION C true bytea INVOKER
spheroid_in(cstring) FUNCTION C true spheroid INVOKER
addauth(text) FUNCTION PLPGSQL false boolean INVOKER

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

st_geomfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
_st_within(geometry, geometry) FUNCTION SQL true boolean INVOKER
geometry_overbelow(geometry, geometry) FUNCTION C true boolean INVOKER
pgis_geometry_makeline_finalfn(internal) FUNCTION C false geometry INVOKER
geom2d_brin_inclusion_add_value(internal, internal, internal, internal) FUNCTION C false boolean INVOKER
geometry_send(geometry) FUNCTION C true bytea INVOKER
st_minimumclearanceline(geometry) FUNCTION C true geometry INVOKER

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

st_memcollect(geometry) AGGREGATE INTERNAL true geometry INVOKER
geom4d_brin_inclusion_add_value(internal, internal, internal, internal) FUNCTION C false boolean INVOKER
geometry_spgist_inner_consistent_2d(internal, internal) FUNCTION C true void INVOKER
box2df_out(box2df) FUNCTION C true cstring INVOKER
st_within(geometry, geometry) FUNCTION C true boolean 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 from minimum and maximum coordinates.

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

args: a_linestring, a_fraction, repeat - Returns one or more points interpolated along a line.

pgis_asmvt_deserialfn(bytea, internal) FUNCTION C true internal INVOKER
st_asgeojson(geometry, integer, integer) FUNCTION C true text INVOKER
gserialized_gist_joinsel_2d(internal, oid, internal, smallint) FUNCTION C false double precision INVOKER
pgis_geometry_clusterintersecting_finalfn(internal) FUNCTION C false ARRAY INVOKER
st_geomfromkml(text) FUNCTION C true geometry INVOKER
geography_gt(geography, geography) FUNCTION C true boolean INVOKER
st_points(geometry) FUNCTION C true geometry INVOKER

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

st_summary(geometry) FUNCTION C true text INVOKER

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

_st_dwithinuncached(geography, geography, double precision) FUNCTION SQL true boolean 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.

st_setsrid(geometry, integer) FUNCTION C true geometry INVOKER

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

geography_recv(internal, oid, integer) FUNCTION C true geography INVOKER
postgis_wagyu_version() FUNCTION C true text INVOKER

Returns the version number of the internal Wagyu library.

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_assvg(text) FUNCTION SQL true text INVOKER
st_translate(geometry, double precision, double precision) FUNCTION SQL true geometry INVOKER

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

st_geomfromgeojson(text) FUNCTION C true geometry INVOKER
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.

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

args: g, gridsize - Returns a valid geometry with all points rounded to the provided grid tolerance.

st_asmvt(anyelement, text, integer, text, text) AGGREGATE INTERNAL true bytea 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 a polygonal geometry.

st_linemerge(geometry) FUNCTION C true geometry INVOKER

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

st_coveredby(geography, geography) FUNCTION C true boolean INVOKER
st_asmvtgeom(geometry, box2d, integer, integer, boolean) FUNCTION C true geometry INVOKER
st_makeline(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: geoms - Creates a Linestring from Point, MultiPoint, or LineString geometries.

st_minimumboundingcircle(geometry, integer) FUNCTION C true geometry INVOKER

args: geomA, num_segs_per_qt_circ=48 - Returns the smallest circle polygon that contains a geometry.

st_3dmakebox(geometry, geometry) FUNCTION C true box3d INVOKER

args: point3DLowLeftBottom, point3DUpRightTop - Creates a BOX3D defined by two 3D point geometries.

_st_asx3d(integer, geometry, integer, integer, text) FUNCTION C true text INVOKER
st_3dlineinterpolatepoint(geometry, double precision) FUNCTION C true geometry INVOKER

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

st_ymax(box3d) FUNCTION C true double precision INVOKER

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

geometry_within_nd(geometry, geometry) FUNCTION C true boolean INVOKER
st_startpoint(geometry) FUNCTION C true geometry INVOKER

args: geomA - Returns the first point of a LineString.

st_isring(geometry) FUNCTION C true boolean INVOKER

args: g - Tests if a LineString is closed and simple.

st_dwithin(geography, geography, double precision, boolean) FUNCTION C true boolean INVOKER
_st_distanceuncached(geography, geography, boolean) FUNCTION SQL true double precision INVOKER
gserialized_gist_sel_nd(internal, oid, internal, integer) FUNCTION C false double precision INVOKER
st_makepolygon(geometry) FUNCTION C true geometry INVOKER

args: linestring - Creates a Polygon from a shell and optional list of holes.

st_dumppoints(geometry) FUNCTION C true SETOF geometry_dump INVOKER

args: geom - Returns a set of geometry_dump rows for the points in a geometry.

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
_st_dwithinuncached(geography, geography, double precision, boolean) FUNCTION C true boolean INVOKER
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 system.

geometry_overlaps_nd(geometry, geometry) FUNCTION C true boolean INVOKER
st_area2d(geometry) FUNCTION C true double precision INVOKER
st_isvalid(geometry, integer) FUNCTION SQL true boolean INVOKER

args: g, flags - Tests if a geometry is well-formed in 2D.

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

args: geom, elevation_start, elevation_end - Return a derived geometry (collection) value with elements that intersect the specified range of elevations inclusively.

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_eq(geometry, geometry) FUNCTION C true boolean INVOKER
geometry_overabove(geometry, geometry) FUNCTION C true boolean INVOKER
st_asgeobuf(anyelement) AGGREGATE INTERNAL true bytea INVOKER
st_intersects(geography, geography) FUNCTION C true boolean INVOKER
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
geometry_spgist_config_2d(internal, internal) FUNCTION C true void INVOKER
geometry_overleft(geometry, geometry) FUNCTION C true boolean INVOKER
gserialized_gist_joinsel_nd(internal, oid, internal, smallint) FUNCTION C false double precision 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 2D length of a linear geometry. Alias for ST_Length

jsonb(geometry) FUNCTION C true jsonb INVOKER
st_forcepolygoncw(geometry) FUNCTION C true geometry INVOKER

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

st_mpolyfromwkb(bytea) FUNCTION SQL true geometry INVOKER
_st_containsproperly(geometry, geometry) FUNCTION C true boolean INVOKER
geography_analyze(internal) FUNCTION C false boolean 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 - Sets lock/authorization for a row in a table.

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

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

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.

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

args: a_3dlinestring - Returns the 3D length of a linear geometry.

geometry_gist_compress_nd(internal) FUNCTION C false internal INVOKER
st_summary(geography) FUNCTION C true text INVOKER

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

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

args: geomlonlatA, geomlonlatB - Returns minimum distance in meters between two lon/lat geometries using a spherical earth model.

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
geometry_same_3d(geometry, geometry) FUNCTION C true boolean 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 linear geometry to a curved geometry.

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

args: geom, nIterations = 1, preserveEndPoints = false - Returns a smoothed version of a geometry, using the Chaikin algorithm

geometrytype(geometry) FUNCTION C true text INVOKER

args: geomA - Returns the type of a geometry as text.

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.

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, and the table metadata.

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

args: g1, radius_of_buffer, buffer_style_parameters = ’ - Returns a geometry covering all points within a given distance from a geometry.

st_clipbybox2d(geometry, box2d) FUNCTION C true geometry INVOKER

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

_st_expand(geography, double precision) FUNCTION C true geography INVOKER
equals(geometry, geometry) FUNCTION C true boolean INVOKER
st_makeline(geometry[]) FUNCTION C true geometry INVOKER

args: geoms_array - Creates a Linestring from Point, MultiPoint, or LineString geometries.

st_multipolyfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
st_voronoipolygons(geometry, double precision, geometry) FUNCTION SQL true geometry INVOKER

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

st_asbinary(geography) FUNCTION C true bytea INVOKER
st_3ddistance(geometry, geometry) FUNCTION C true double precision INVOKER

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

st_box2dfromgeohash(text, integer) FUNCTION C true box2d INVOKER
text(geometry) FUNCTION C true text INVOKER
st_isclosed(geometry) FUNCTION C true boolean INVOKER

args: g - Tests if a LineStringss start and end points are coincident. For a PolyhedralSurface tests if it is closed (volumetric).

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

args: g1, radius_of_buffer, buffer_style_parameters - Returns a geometry covering all points within a given distance from a geometry.

st_length2dspheroid(geometry, spheroid) FUNCTION C true double precision INVOKER
st_assvg(geometry, integer, integer) FUNCTION C true text INVOKER
st_geomcollfromtext(text) FUNCTION SQL true geometry INVOKER
st_geographyfromtext(text) FUNCTION C true geography INVOKER
st_geometricmedian(geometry, double precision, integer, boolean) FUNCTION C true geometry INVOKER

args: geom, tolerance = NULL, max_iter = 10000, fail_if_not_converged = false - Returns the geometric median of a MultiPoint.

st_crosses(geometry, geometry) FUNCTION C true boolean 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 from X, Y and M values.

st_endpoint(geometry) FUNCTION C true geometry INVOKER

args: g - Returns the last point of a LineString or CircularLineString.

geometry_distance_centroid_nd(geometry, geometry) FUNCTION C true double precision INVOKER
json(geometry) FUNCTION C true json INVOKER
geography_out(geography) FUNCTION C true cstring INVOKER
postgis_type_name(character varying, integer, boolean) FUNCTION SQL true character varying INVOKER
st_multipointfromwkb(bytea) FUNCTION SQL true geometry INVOKER
st_intersection(text, text) FUNCTION SQL true geometry INVOKER
_st_distanceuncached(geography, geography) FUNCTION SQL true double precision INVOKER
postgis_transform_geometry(geometry, text, text, integer) FUNCTION C true geometry INVOKER
geometry_gist_picksplit_2d(internal, internal) FUNCTION C false internal INVOKER
st_linefromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
gettransactionid() FUNCTION C false xid INVOKER
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.

st_forcecurve(geometry) FUNCTION C true geometry INVOKER

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

geography(bytea) FUNCTION C true geography INVOKER
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.

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.

overlaps_geog(gidx, gidx) FUNCTION C true boolean INVOKER
postgis_libprotobuf_version() FUNCTION C true text INVOKER
st_symdifference(geometry, geometry, double precision) FUNCTION C true geometry INVOKER

args: geomA, geomB, gridSize = -1 - Returns a geometry representing the portions of geometries A and B that do not intersect.

geography_lt(geography, geography) FUNCTION C true boolean INVOKER
geometry_gist_same_2d(geometry, geometry, internal) FUNCTION C false internal INVOKER
st_multilinefromwkb(bytea) FUNCTION SQL true geometry INVOKER
st_geometrytype(geometry) FUNCTION C true text INVOKER

args: g1 - Returns the SQL-MM type of a geometry as text.

st_orderingequals(geometry, geometry) FUNCTION C true boolean INVOKER
geomfromewkt(text) FUNCTION C true geometry 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 - Rotates a geometry about the Z axis.

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

args: geog1, geog2, use_spheroid=true - Returns the distance between two geometry or geography values.

st_xmax(box3d) FUNCTION C true double precision INVOKER

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

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

args: a_geometry, a_spheroid - Returns the 2D or 3D length/perimeter of a lon/lat geometry on a spheroid.

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

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

dropgeometrytable(character varying) FUNCTION SQL false text INVOKER

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

st_pointinsidecircle(geometry, double precision, double precision, double precision) FUNCTION C true boolean INVOKER
postgis_svn_version() FUNCTION SQL true text INVOKER
pgis_geometry_accum_transfn(internal, geometry, double precision, integer) FUNCTION C false internal INVOKER
st_ispolygoncw(geometry) FUNCTION C true boolean INVOKER

args: geom - Tests if Polygons have exterior rings oriented clockwise and interior rings oriented counter-clockwise.

postgis_constraint_srid(text, text, text) FUNCTION SQL false integer INVOKER
st_astwkb(geometry, integer, integer, integer, boolean, boolean) FUNCTION C true bytea 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.

pgis_asmvt_transfn(internal, anyelement, text, integer) FUNCTION C true internal INVOKER
st_rotate(geometry, double precision, double precision, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians, x0, y0 - Rotates a geometry about an origin point.

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

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

_st_overlaps(geometry, geometry) FUNCTION C true boolean INVOKER
st_npoints(geometry) FUNCTION C true integer INVOKER

args: g1 - Returns the number of points (vertices) in a geometry.

st_square(double precision, integer, integer, geometry) FUNCTION C true geometry INVOKER

args: size, cell_i, cell_j, origin - Returns a single square, using the provided edge size and cell coordinate within the hexagon grid space.

get_proj4_from_srid(integer) FUNCTION PLPGSQL true text INVOKER
_postgis_pgsql_version() FUNCTION SQL false text INVOKER
st_dump(geometry) FUNCTION C true SETOF geometry_dump INVOKER

args: g1 - Returns a set of geometry_dump rows for the components of a geometry.

geometry_gist_union_2d(bytea, internal) FUNCTION C false internal 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, and the table metadata.

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.

st_collect(geometry[]) FUNCTION C true geometry INVOKER

args: g1_array - Creates a GeometryCollection or Multi* geometry from a set of geometries.

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.

lockrow(text, text, text) FUNCTION SQL false integer INVOKER

args: a_table_name, a_row_key, an_auth_token - Sets lock/authorization for a row in a table.

overlaps_2d(box2df, geometry) FUNCTION C true boolean INVOKER
gserialized_gist_sel_2d(internal, oid, internal, integer) FUNCTION C false double precision INVOKER
st_longestline(geometry, geometry) FUNCTION SQL true geometry INVOKER

args: g1, g2 - Returns the 2D longest line between two geometries.

st_isvalidreason(geometry, integer) FUNCTION SQL true text INVOKER

args: geomA, flags - Returns text stating if a geometry is valid, or a reason for invalidity.

st_polyfromtext(text, integer) FUNCTION SQL true geometry INVOKER
st_flipcoordinates(geometry) FUNCTION C true geometry INVOKER

args: geom - Returns a version of a geometry with X and Y axis flipped.

geometry_lt(geometry, geometry) FUNCTION C true boolean INVOKER
overlaps_nd(gidx, gidx) FUNCTION C true boolean INVOKER
geometry_spgist_choose_2d(internal, internal) FUNCTION C true void INVOKER
st_polyfromwkb(bytea) FUNCTION SQL true geometry INVOKER
st_asewkt(geometry, integer) FUNCTION C true text INVOKER
st_expand(box3d, double precision, double precision, double precision) FUNCTION C true box3d INVOKER

args: box, dx, dy, dz=0 - Returns a bounding box expanded from another bounding box or a geometry.

_st_longestline(geometry, geometry) FUNCTION C true geometry INVOKER
geometry_in(cstring) FUNCTION C true geometry INVOKER
geometry_spgist_inner_consistent_nd(internal, internal) FUNCTION C true void INVOKER
st_geomcollfromwkb(bytea) FUNCTION SQL true geometry INVOKER
geography_le(geography, geography) FUNCTION C true boolean INVOKER
geometry_gist_distance_2d(internal, geometry, integer) FUNCTION C false double precision INVOKER
st_translate(geometry, double precision, double precision, double precision) FUNCTION SQL true geometry INVOKER

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

st_buffer(text, double precision, text) FUNCTION SQL true geometry INVOKER
st_simplify(geometry, double precision) FUNCTION C true geometry INVOKER
geometry_gist_penalty_2d(internal, internal, internal) FUNCTION C false internal INVOKER
st_force3dz(geometry, double precision) FUNCTION C true geometry INVOKER

args: geomA, Zvalue = 0.0 - Force the geometries into XYZ mode.

box2d(box3d) FUNCTION C true box2d INVOKER
st_hexagongrid(double precision, geometry) FUNCTION C true SETOF record INVOKER

args: size, bounds - Returns a set of hexagons and cell indices that completely cover the bounds of the geometry argument.

st_ndims(geometry) FUNCTION C true smallint INVOKER

args: g1 - Returns the coordinate dimension of a geometry.

st_pointn(geometry, integer) FUNCTION C true geometry INVOKER

args: a_linestring, n - Returns the Nth point in the first LineString or circular LineString in a geometry.

geometry(box2d) FUNCTION C true geometry INVOKER
st_asgml(text) FUNCTION SQL true text INVOKER
box3d(geometry) FUNCTION C true box3d INVOKER

args: geomA - Returns a BOX3D representing the 3D extent of the geometry.

geometry_gist_consistent_2d(internal, geometry, integer) FUNCTION C false boolean INVOKER
geometry_spgist_compress_3d(internal) FUNCTION C true internal INVOKER
st_force4d(geometry, double precision, double precision) FUNCTION C true geometry INVOKER

args: geomA, Zvalue = 0.0, Mvalue = 0.0 - Force the geometries into XYZM mode.

st_collect(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Creates a GeometryCollection or Multi* geometry from a set of geometries.

postgis_cache_bbox() FUNCTION C false trigger INVOKER
st_3dintersects(geometry, geometry) FUNCTION C true boolean INVOKER
st_curvetoline(geometry, double precision, integer, integer) FUNCTION C true geometry INVOKER

args: curveGeom, tolerance, tolerance_type, flags - Converts a geometry containing curves to a linear geometry.

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

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

st_estimatedextent(text, text) FUNCTION C false box2d DEFINER

args: table_name, geocolumn_name - Return the estimated extent of a spatial table.

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 system.

geometry_right(geometry, geometry) FUNCTION C true boolean INVOKER
st_3ddwithin(geometry, geometry, double precision) FUNCTION C true boolean 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, using the Visvalingam-Whyatt algorithm.

st_geomcollfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
geometry_same_nd(geometry, geometry) FUNCTION C true boolean INVOKER
st_geomfromewkb(bytea) FUNCTION C true geometry INVOKER
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_clusterwithin(geometry[], double precision) FUNCTION C true ARRAY INVOKER
st_astwkb(geometry[], bigint[], integer, integer, integer, boolean, boolean) FUNCTION C true bytea INVOKER
st_geomfromgeojson(json) FUNCTION SQL true geometry INVOKER
st_dimension(geometry) FUNCTION C true integer INVOKER

args: g - Returns the topological dimension of a geometry.

st_setsrid(geography, integer) FUNCTION C true geography INVOKER
st_makepoint(double precision, double precision, double precision) FUNCTION C true geometry INVOKER

args: x, y, z - Creates a 2D, 3DZ or 4D Point.

st_normalize(geometry) FUNCTION C true geometry INVOKER

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

st_asewkt(geography, integer) FUNCTION C true text INVOKER
st_buffer(geometry, double precision, integer) FUNCTION SQL true geometry INVOKER

args: g1, radius_of_buffer, num_seg_quarter_circle - Returns a geometry covering all points within a given distance from a 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_makebox2d(geometry, geometry) FUNCTION C true box2d INVOKER

args: pointLowLeft, pointUpRight - Creates a BOX2D defined by two 2D point geometries.

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

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

st_mlinefromtext(text) FUNCTION SQL true geometry INVOKER
st_reverse(geometry) FUNCTION C true geometry INVOKER

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

geometry_typmod_out(integer) FUNCTION C true cstring INVOKER
st_wkttosql(text) FUNCTION C true geometry INVOKER
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 representing the point-set union of the input geometries.

geometry(geography) FUNCTION C true geometry INVOKER
postgis_lib_revision() FUNCTION C true text INVOKER
st_polygonfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
gidx_in(cstring) FUNCTION C true gidx INVOKER
st_collectionextract(geometry) FUNCTION C true geometry INVOKER

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

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

args: g, prec_x, prec_y, prec_z, prec_m - Sets least significant bits of coordinates to zero

st_numinteriorring(geometry) FUNCTION C true integer INVOKER

args: a_polygon - Returns the number of interior rings (holes) of a Polygon. Aias for ST_NumInteriorRings

st_relate(geometry, geometry, integer) FUNCTION C true text INVOKER
st_simplify(geometry, double precision, boolean) FUNCTION C true geometry INVOKER

args: geomA, tolerance, preserveCollapsed - Returns a simplified version of a geometry, using the Douglas-Peucker algorithm.

_postgis_index_extent(regclass, text) FUNCTION C false box2d INVOKER
st_filterbym(geometry, double precision, double precision, boolean) FUNCTION C true geometry INVOKER

args: geom, min, max = null, returnM = false - Removes vertices based on their M value

geometry_spgist_picksplit_3d(internal, internal) FUNCTION C true void INVOKER
st_scale(geometry, geometry, geometry) FUNCTION C true geometry INVOKER

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

st_asgeojson(text) FUNCTION SQL true text INVOKER
_postgis_deprecate(text, text, text) FUNCTION PLPGSQL true void INVOKER
st_combinebbox(box3d, box3d) FUNCTION C true box3d INVOKER
st_rotatex(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians - Rotates a geometry about the X axis.

st_union(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: g1field - Returns a geometry representing the point-set union of the input geometries.

geometry_contains_nd(geometry, geometry) FUNCTION C true boolean INVOKER
_st_dfullywithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER
st_generatepoints(geometry, integer, integer) FUNCTION C true geometry INVOKER

args: g, npoints, seed - Generates random points contained in a Polygon or MultiPolygon.

geography(geography, integer, boolean) FUNCTION C true geography INVOKER
geography_distance_knn(geography, geography) FUNCTION C true double precision INVOKER
st_pointfromtext(text) FUNCTION SQL true geometry INVOKER
st_exteriorring(geometry) FUNCTION C true geometry INVOKER

args: a_polygon - Returns a LineString representing the exterior ring of a Polygon.

st_minimumboundingradius(geometry) FUNCTION C true record INVOKER

args: geom - Returns the center point and radius of the smallest circle that contains a geometry.

st_patchn(geometry, integer) FUNCTION SQL true geometry INVOKER

args: geomA, n - Returns the Nth geometry (face) of a PolyhedralSurface.

is_contained_2d(geometry, box2df) FUNCTION SQL true boolean INVOKER
st_clusterintersecting(geometry[]) FUNCTION C true ARRAY INVOKER
st_makeline(geometry, geometry) FUNCTION C true geometry INVOKER

args: geom1, geom2 - Creates a Linestring from Point, MultiPoint, or LineString geometries.

st_astext(geography, integer) FUNCTION C true text INVOKER
st_maximuminscribedcircle(geometry) FUNCTION C true record INVOKER

args: geom - Computes the largest circle that is fully contained within a geometry.

box3d(box2d) FUNCTION C true box3d INVOKER
geometry_le(geometry, geometry) FUNCTION C true boolean INVOKER
st_squaregrid(double precision, geometry) FUNCTION C true SETOF record INVOKER

args: size, bounds - Returns a set of grid squares and cell indices that completely cover the bounds of the geometry argument.

pgis_geometry_union_finalfn(internal) FUNCTION C false geometry INVOKER
st_isvalidreason(geometry) FUNCTION C true text INVOKER

args: geomA - Returns text stating if a geometry is valid, or a reason for invalidity.

st_bdpolyfromtext(text, integer) FUNCTION PLPGSQL true geometry INVOKER
st_containsproperly(geometry, geometry) FUNCTION C true boolean INVOKER
postgis_dropbbox(geometry) FUNCTION C true geometry INVOKER

args: geomA - Drop the bounding box cache from the geometry.

st_pointfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
_st_voronoi(geometry, geometry, double precision, boolean) FUNCTION C true geometry INVOKER
contains_2d(geometry, box2df) FUNCTION SQL true boolean 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.

pgis_geometry_accum_transfn(internal, geometry) FUNCTION C false internal INVOKER
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.

_st_intersects(geometry, geometry) FUNCTION C true boolean INVOKER
st_aslatlontext(geometry, text) FUNCTION C true text INVOKER
ecl_remove_reject_submission(integer) FUNCTION PLPGSQL false boolean INVOKER
geometry(geometry, integer, boolean) FUNCTION C true geometry INVOKER
_st_contains(geometry, geometry) FUNCTION C true boolean INVOKER
pgis_geometry_clusterwithin_finalfn(internal) FUNCTION C false ARRAY INVOKER
st_boundingdiagonal(geometry, boolean) FUNCTION C true geometry INVOKER

args: geom, fits=false - Returns the diagonal of a 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 a bounding box expanded from another bounding box or a geometry.

st_multilinestringfromtext(text, integer) FUNCTION SQL true geometry INVOKER
geometry_overlaps_3d(geometry, geometry) FUNCTION C true boolean INVOKER
st_symmetricdifference(geometry, geometry) FUNCTION SQL false geometry INVOKER
geometry_distance_centroid(geometry, geometry) FUNCTION C true double precision INVOKER
st_geomfromgeojson(jsonb) FUNCTION SQL true geometry INVOKER
postgis_constraint_dims(text, text, text) FUNCTION SQL false integer INVOKER
st_equals(geometry, geometry) FUNCTION C true boolean INVOKER
box3d_in(cstring) FUNCTION C true box3d INVOKER
st_mpolyfromtext(text) FUNCTION SQL true geometry INVOKER
st_perimeter(geometry) FUNCTION C true double precision INVOKER

args: g1 - Returns the length of the boundary of a polygonal geometry or geography.

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

args: geomA, Zvalue = 0.0 - Force the geometries into XYZ mode. This is an alias for ST_Force3DZ.

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

args: line1, line2 - Returns the angle between 3 points, or between 2 vectors (4 points or 2 lines).

st_dwithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER
geometry_contains(geometry, geometry) FUNCTION C true boolean INVOKER
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_forcepolygonccw(geometry) FUNCTION SQL true geometry INVOKER

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

st_centroid(text) FUNCTION SQL true geometry INVOKER
st_hausdorffdistance(geometry, geometry, double precision) FUNCTION C true double precision INVOKER

args: g1, g2, densifyFrac - Returns the Hausdorff distance between two geometries.

st_tileenvelope(integer, integer, integer, geometry, double precision) FUNCTION C true geometry INVOKER

args: tileZoom, tileX, tileY, bounds=SRID=3857;LINESTRING(-20037508.342789 -20037508.342789,20037508.342789 20037508.342789), margin=0.0 - Creates a rectangular Polygon in Web Mercator (SRID:3857) using the XYZ tile system.

st_linestringfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
st_linefromencodedpolyline(text, integer) FUNCTION C true geometry INVOKER
_st_3dintersects(geometry, geometry) FUNCTION C true boolean INVOKER
st_relatematch(text, text) FUNCTION C true boolean INVOKER
_st_equals(geometry, geometry) FUNCTION C true boolean INVOKER
st_geometryfromtext(text) FUNCTION C true geometry INVOKER
geometry_spgist_compress_nd(internal) FUNCTION C true internal INVOKER
geometry_spgist_leaf_consistent_3d(internal, internal) FUNCTION C true boolean INVOKER
st_polygonize(geometry[]) FUNCTION C true geometry INVOKER

args: geom_array - Computes a collection of polygons formed from the linework of a set of geometries.

st_addpoint(geometry, geometry) FUNCTION C true geometry INVOKER

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

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

args: g - Tests if a geometry is a geometry collection type.

geography_gist_compress(internal) FUNCTION C false internal INVOKER
st_asencodedpolyline(geometry, integer) FUNCTION C true text INVOKER
geometry_gist_picksplit_nd(internal, internal) FUNCTION C false internal INVOKER
pgis_asmvt_serialfn(internal) FUNCTION C true bytea INVOKER
st_intersection(geography, geography) FUNCTION SQL true geography INVOKER

args: geogA, geogB - Returns a geometry representing the shared portion of geometries A and B.

st_polygonfromtext(text) FUNCTION SQL true geometry INVOKER
st_removepoint(geometry, integer) FUNCTION C true geometry INVOKER

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

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_spgist_leaf_consistent_2d(internal, internal) FUNCTION C true boolean INVOKER
st_ispolygonccw(geometry) FUNCTION C true boolean INVOKER

args: geom - Tests if Polygons have exterior rings oriented counter-clockwise and interior rings oriented clockwise.

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 system.

geometry_spgist_choose_nd(internal, internal) FUNCTION C true void INVOKER
_st_maxdistance(geometry, geometry) FUNCTION C true double precision INVOKER
st_distance(geometry, geometry) FUNCTION C true double precision INVOKER

args: g1, g2 - Returns the distance between two geometry or geography values.

st_hexagon(double precision, integer, integer, geometry) FUNCTION C true geometry INVOKER

args: size, cell_i, cell_j, origin - Returns a single hexagon, using the provided edge size and cell coordinate within the hexagon grid space.

st_mpointfromtext(text) FUNCTION SQL true geometry INVOKER
st_asewkb(geometry, text) FUNCTION C true bytea INVOKER
st_asgeobuf(anyelement, text) AGGREGATE INTERNAL true bytea INVOKER
st_interiorringn(geometry, integer) FUNCTION C true geometry INVOKER

args: a_polygon, n - Returns the Nth interior ring (hole) of a Polygon.

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

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

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

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

st_multi(geometry) FUNCTION C true geometry INVOKER

args: g1 - Return the geometry as a MULTI* geometry.

st_relate(geometry, geometry, text) FUNCTION C true boolean 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 by a distance and bearing (azimuth).

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
st_buffer(text, double precision, integer) FUNCTION SQL true geometry INVOKER
st_geomfromtwkb(bytea) FUNCTION C true geometry INVOKER
box(geometry) FUNCTION C true box INVOKER
st_linefrommultipoint(geometry) FUNCTION C true geometry INVOKER

args: aMultiPoint - Creates a LineString from a MultiPoint geometry.

st_asgml(geometry, integer, integer) FUNCTION C true text INVOKER
st_hausdorffdistance(geometry, geometry) FUNCTION C true double precision INVOKER

args: g1, g2 - Returns the Hausdorff distance between two 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.

st_gmltosql(text, integer) FUNCTION C true geometry INVOKER
st_asmvt(anyelement) AGGREGATE INTERNAL true bytea INVOKER
geometry_spgist_picksplit_nd(internal, internal) FUNCTION C true void INVOKER
st_astext(geometry) FUNCTION C true text INVOKER
st_isvalidtrajectory(geometry) FUNCTION C true boolean INVOKER

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

postgis_geos_noop(geometry) FUNCTION C true geometry INVOKER
geometry_sortsupport(internal) FUNCTION C true void INVOKER
st_buffer(geography, double precision, integer) FUNCTION SQL true geography INVOKER

args: g1, radius_of_buffer, num_seg_quarter_circle - Returns a geometry covering all points within a given distance from a geometry.

st_mpointfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
geometry_spgist_config_nd(internal, internal) FUNCTION C true void INVOKER
st_multipointfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
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.

ecl_remove_dataset_file_list_id(integer, integer) FUNCTION PLPGSQL false boolean INVOKER
overlaps_geog(gidx, geography) FUNCTION C true boolean INVOKER
st_askml(text) FUNCTION SQL true text INVOKER
st_3dclosestpoint(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns the 3D 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 - Window function that returns a cluster id for each input geometry using the DBSCAN algorithm.

box2d_out(box2d) FUNCTION C true cstring 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 the Z maxima of a 2D or 3D bounding box or a geometry.

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

args: g1, g2, gridSize - Returns a geometry representing the point-set union of the input geometries.

st_mpolyfromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
disablelongtransactions() FUNCTION PLPGSQL false text INVOKER

Disables long transaction support.

postgis_geos_version() FUNCTION C true text INVOKER

Returns the version number of the GEOS library.

_st_covers(geography, geography) FUNCTION C true boolean INVOKER
geography_eq(geography, geography) FUNCTION C true boolean INVOKER
geometry_within(geometry, geometry) FUNCTION C true boolean 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.

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

args: geom, units_to_expand - Returns a bounding box expanded from another bounding box or a geometry.

geometry_below(geometry, geometry) FUNCTION C true boolean INVOKER
pgis_asmvt_transfn(internal, anyelement, text, integer, text, text) FUNCTION C true internal INVOKER
st_makepolygon(geometry, geometry[]) FUNCTION C true geometry INVOKER

args: outerlinestring, interiorlinestrings - Creates a Polygon from a shell and optional list of holes.

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

args: point1, point2, point3, point4 - Returns the angle between 3 points, or between 2 vectors (4 points or 2 lines).

st_asbinary(geography, text) FUNCTION C true bytea INVOKER
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.

geometry_left(geometry, geometry) FUNCTION C true boolean INVOKER
st_3ddfullywithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER
st_issimple(geometry) FUNCTION C true boolean INVOKER

args: geomA - Tests if a geometry has no points of self-intersection or self-tangency.

st_disjoint(geometry, geometry) FUNCTION C true boolean INVOKER
st_linecrossingdirection(geometry, geometry) FUNCTION C true integer INVOKER
st_asewkb(geometry) FUNCTION C true bytea INVOKER
_st_touches(geometry, geometry) FUNCTION C true boolean INVOKER
box2d(geometry) FUNCTION C true box2d INVOKER

args: geomA - Returns a BOX2D representing the 2D extent of the geometry.

st_distance(text, text) FUNCTION SQL true double precision INVOKER
st_linestringfromwkb(bytea) FUNCTION SQL true geometry INVOKER
st_mlinefromwkb(bytea) FUNCTION SQL true geometry INVOKER
st_askml(geometry, integer, text) FUNCTION C true text INVOKER
st_bdmpolyfromtext(text, integer) FUNCTION PLPGSQL true geometry INVOKER
geometry_contains_3d(geometry, geometry) FUNCTION C true boolean INVOKER
geometry_hash(geometry) FUNCTION C true integer INVOKER
geometry_gist_penalty_nd(internal, internal, internal) FUNCTION C false internal INVOKER
st_force3dm(geometry, double precision) FUNCTION C true geometry INVOKER

args: geomA, Mvalue = 0.0 - Force the geometries into XYM mode.

bytea(geometry) FUNCTION C true bytea INVOKER
find_srid(character varying, character varying, character varying) FUNCTION PLPGSQL false integer INVOKER

args: a_schema_name, a_table_name, a_geomfield_name - Returns the SRID defined for a geometry column.

st_geohash(geometry, integer) FUNCTION C true text INVOKER
spheroid_out(spheroid) FUNCTION C true cstring INVOKER
array_agg(anyelement) AGGREGATE INTERNAL true anyarray INVOKER
st_perimeter2d(geometry) FUNCTION C true double precision INVOKER

args: geomA - Returns the 2D perimeter of a polygonal geometry. Alias for ST_Perimeter.

geography_spgist_inner_consistent_nd(internal, internal) FUNCTION C true void INVOKER
box(box3d) FUNCTION C true box INVOKER
st_findextent(text, text, text) FUNCTION PLPGSQL false box2d INVOKER
geography_ge(geography, geography) FUNCTION C true boolean INVOKER
st_generatepoints(geometry, integer) FUNCTION C false geometry INVOKER

args: g, npoints - Generates random points contained in a Polygon or MultiPolygon.

st_pointfromwkb(bytea) FUNCTION SQL true geometry INVOKER
geography_gist_consistent(internal, geography, integer) FUNCTION C false boolean INVOKER
st_simplifyvw(geometry, double precision) FUNCTION C true geometry INVOKER

args: geomA, tolerance - Returns a simplified version of a geometry, using the Visvalingam-Whyatt algorithm

postgis_scripts_released() FUNCTION C true text INVOKER

Returns the version number of the postgis.sql script released with the installed postgis lib.

geometry_analyze(internal) FUNCTION C false boolean INVOKER
st_simplifypreservetopology(geometry, double precision) FUNCTION C true geometry INVOKER

args: geomA, tolerance - Returns a simplified and valid version of a geometry, using the Douglas-Peucker algorithm.

geography_spgist_picksplit_nd(internal, internal) FUNCTION C true void INVOKER
geometry_distance_box(geometry, geometry) FUNCTION C true double precision INVOKER
st_srid(geography) FUNCTION C true integer INVOKER
_postgis_stats(regclass, text, text) FUNCTION C false text INVOKER
postgis_typmod_type(integer) FUNCTION C true text INVOKER
st_memsize(geometry) FUNCTION C true integer INVOKER

args: geomA - Returns the amount of memory space a geometry takes.

geometry_gist_consistent_nd(internal, geometry, integer) FUNCTION C false boolean INVOKER
status_migrate() FUNCTION PLPGSQL false void INVOKER
st_assvg(geography, integer, integer) FUNCTION C true text INVOKER
st_isvaliddetail(geometry, integer) FUNCTION C true valid_detail INVOKER

args: geom, flags - Returns a valid_detail row stating if a geometry is valid, and if not a reason why and a location.

st_mpolyfromtext(text, integer) FUNCTION SQL true geometry INVOKER
pgis_asmvt_transfn(internal, anyelement, text) FUNCTION C true internal INVOKER
st_coveredby(geometry, geometry) FUNCTION C true boolean INVOKER
geometry_spgist_picksplit_2d(internal, internal) FUNCTION C true void INVOKER
geometry_contained_3d(geometry, geometry) FUNCTION C true boolean INVOKER
st_geogfromwkb(bytea) FUNCTION C true geography INVOKER
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 system.

st_scale(geometry, geometry) FUNCTION C true geometry INVOKER

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

bytea(geography) FUNCTION C true bytea INVOKER
st_closestpoint(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns the 2D 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
_st_asgml(integer, geometry, integer, integer, text, text) FUNCTION C true text INVOKER
_st_distancetree(geography, geography) FUNCTION SQL true double precision INVOKER
checkauthtrigger() FUNCTION C false trigger INVOKER
st_numpoints(geometry) FUNCTION C true integer INVOKER

args: g1 - Returns the number of points in a LineString or CircularString.

st_touches(geometry, geometry) FUNCTION C true boolean INVOKER
st_overlaps(geometry, geometry) FUNCTION C true boolean INVOKER
st_orientedenvelope(geometry) FUNCTION C true geometry INVOKER

args: geom - Returns a minimum-area rectangle containing a geometry.

st_asx3d(geometry, integer, integer) FUNCTION SQL true text INVOKER
path(geometry) FUNCTION C true path INVOKER
st_cpawithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER

args: track1, track2, maxdist - Returns true if the closest point of approach of two trajectoriesis within the specified distance.

st_pointfromtext(text, integer) FUNCTION SQL true geometry INVOKER
st_rotate(geometry, double precision, geometry) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians, pointOrigin - Rotates a geometry about an origin point.

st_polygon(geometry, integer) FUNCTION SQL true geometry INVOKER

args: lineString, srid - Creates a Polygon from a LineString with a specified SRID.

st_asgeojson(geography, integer, integer) FUNCTION C true text INVOKER
st_dfullywithin(geometry, geometry, double precision) FUNCTION C true boolean INVOKER
postgis_constraint_type(text, text, text) FUNCTION SQL false character varying INVOKER
st_relate(geometry, geometry) FUNCTION C true text INVOKER
st_delaunaytriangles(geometry, double precision, integer) FUNCTION C true geometry INVOKER

args: g1, tolerance, flags - Returns the Delaunay triangulation of the vertices of a geometry.

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

args: geomA, deltaX, deltaY, XFactor, YFactor - Translates and scales a geometry by given offsets and factors.

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_union(geometry, geometry) FUNCTION C true geometry INVOKER

args: g1, g2 - Returns a geometry representing the point-set union of the input geometries.

box2df_in(cstring) FUNCTION C true box2df 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 - Returns the length of the boundary of a polygonal geometry or geography.

point(geometry) FUNCTION C true point INVOKER
st_geomfromewkt(text) FUNCTION C true geometry INVOKER
st_mpointfromtext(text, integer) FUNCTION SQL true geometry INVOKER
_st_bestsrid(geography) FUNCTION C true integer INVOKER
st_length(geography, boolean) FUNCTION C true double precision INVOKER

args: geog, use_spheroid=true - Returns the 2D length of a linear geometry.

geometry_overlaps(geometry, geometry) FUNCTION C true boolean INVOKER
geography_typmod_out(integer) FUNCTION C true cstring INVOKER
geometry_cmp(geometry, geometry) FUNCTION C true integer INVOKER
_st_concavehull(geometry) FUNCTION PLPGSQL true geometry INVOKER
geometry_typmod_in(cstring[]) FUNCTION C true integer INVOKER
st_expand(box3d, double precision) FUNCTION C true box3d INVOKER

args: box, units_to_expand - Returns a bounding box expanded from another bounding box or a geometry.

st_asgml(integer, geography, integer, integer, text, text) FUNCTION C true text INVOKER
st_intersection(geometry, geometry, double precision) FUNCTION C true geometry INVOKER

args: geomA, geomB, gridSize = -1 - Returns a geometry representing the shared portion of geometries A and B.

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=’ - Returns an offset line at a given distance and side from an input line.

geometry_spgist_compress_2d(internal) FUNCTION C true internal INVOKER
geography_gist_distance(internal, geography, integer) FUNCTION C false double precision INVOKER
st_union(geometry, double precision) AGGREGATE INTERNAL true geometry INVOKER

args: g1field, gridSize - Returns a geometry representing the point-set union of the input geometries.

pgis_asmvt_transfn(internal, anyelement) FUNCTION C true internal INVOKER
st_point(double precision, double precision) FUNCTION C true geometry INVOKER

args: x, y - Creates a Point with the given coordinate values. Alias for ST_MakePoint.

st_geomfromgml(text) FUNCTION SQL true geometry INVOKER
st_pointonsurface(geometry) FUNCTION C true geometry INVOKER

args: g1 - Returns a point guaranteed to lie in a polygon or on a geometry.

geometry(point) FUNCTION C true geometry INVOKER
geometry_spgist_choose_3d(internal, internal) FUNCTION C true void INVOKER
pgis_geometry_polygonize_finalfn(internal) FUNCTION C false geometry 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.

st_boundary(geometry) FUNCTION C true geometry INVOKER

args: geomA - Returns the boundary of a geometry.

postgis_noop(geometry) FUNCTION C true geometry INVOKER
st_memunion(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: geomfield - Aggregate function which unions geometry in a memory-efficent but slower way

_st_crosses(geometry, geometry) FUNCTION C true boolean INVOKER
st_clusterintersecting(geometry) AGGREGATE INTERNAL true ARRAY INVOKER

args: g - Aggregate function that clusters the input geometries into connected sets.

postgis_lib_version() FUNCTION C true text INVOKER

Returns the version number of the PostGIS library.

st_node(geometry) FUNCTION C true geometry INVOKER

args: geom - Nodes a collection of lines.

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

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

overlaps_nd(geometry, gidx) FUNCTION SQL true boolean INVOKER
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.

st_minimumclearance(geometry) FUNCTION C true double precision INVOKER

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

st_split(geometry, geometry) FUNCTION C true geometry INVOKER

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

st_intersects(geometry, geometry) FUNCTION C true boolean INVOKER
geography_send(geography) FUNCTION C true bytea INVOKER
st_buffer(text, double precision) FUNCTION SQL true geometry INVOKER
box3d_out(box3d) FUNCTION C true cstring INVOKER
st_multipolygonfromtext(text) FUNCTION SQL true geometry INVOKER
postgis_addbbox(geometry) FUNCTION C true geometry INVOKER

args: geomA - Add bounding box to the geometry.

is_contained_2d(box2df, geometry) FUNCTION C true boolean INVOKER
pgis_geometry_collect_finalfn(internal) FUNCTION C false geometry INVOKER
st_multipolygonfromtext(text, integer) FUNCTION SQL true geometry INVOKER
st_covers(geometry, geometry) FUNCTION C true boolean INVOKER
st_geohash(geography, integer) FUNCTION C true text INVOKER
st_3dlongestline(geometry, geometry) FUNCTION C true geometry INVOKER

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

st_linefromtext(text) FUNCTION SQL true geometry INVOKER
geography_spgist_leaf_consistent_nd(internal, internal) FUNCTION C true boolean INVOKER
st_linefromwkb(bytea) FUNCTION SQL true geometry INVOKER
geography_typmod_in(cstring[]) FUNCTION C true integer INVOKER
geography_cmp(geography, geography) FUNCTION C true integer INVOKER
_postgis_selectivity(regclass, text, geometry, text) FUNCTION C false double precision INVOKER
_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
enablelongtransactions() FUNCTION PLPGSQL false text INVOKER

Enables long transaction support.

st_numgeometries(geometry) FUNCTION C true integer INVOKER

args: geom - Returns the number of elements in a geometry collection.

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

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

_st_covers(geometry, geometry) FUNCTION C true boolean INVOKER
st_findextent(text, text) FUNCTION PLPGSQL false box2d INVOKER
st_asewkt(geography) FUNCTION C true text INVOKER
st_dumprings(geometry) FUNCTION C true SETOF geometry_dump INVOKER

args: a_polygon - Returns a set of geometry_dump rows for the exterior and interior rings of a Polygon.

pgis_asgeobuf_transfn(internal, anyelement) FUNCTION C true internal INVOKER
st_area(text) FUNCTION SQL true double precision INVOKER
st_asgml(integer, geometry, integer, integer, text, text) FUNCTION C true text INVOKER
_st_coveredby(geometry, geometry) FUNCTION C true boolean 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, and the table metadata.

geometry_recv(internal) FUNCTION C true geometry INVOKER
pgis_geometry_accum_transfn(internal, geometry, double precision) FUNCTION C false internal INVOKER
postgis_extensions_upgrade() FUNCTION PLPGSQL false text INVOKER

Packages and upgrades postgis extensions (e.g. postgis_raster,postgis_topology, postgis_sfcgal) to latest available version.

st_ashexewkb(geometry) FUNCTION C true text INVOKER
st_pointfromgeohash(text, integer) FUNCTION C true geometry INVOKER
st_difference(geometry, geometry, double precision) FUNCTION C true geometry INVOKER

args: geomA, geomB, gridSize = -1 - Returns a geometry representing the part of geometry A that does not intersect geometry B.

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
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_asgml(geography, integer, integer, text, text) FUNCTION C true text INVOKER
st_isempty(geometry) FUNCTION C true boolean INVOKER

args: geomA - Tests if a geometry is empty.

st_ashexewkb(geometry, text) FUNCTION C true text INVOKER
st_intersects(text, text) FUNCTION SQL true boolean INVOKER
st_ymin(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns the Y minima of a 2D or 3D bounding box or a geometry.

st_astext(geometry, integer) FUNCTION C true text INVOKER
_st_sortablehash(geometry) FUNCTION C true bigint INVOKER
st_clusterkmeans(geometry, integer) WINDOW C false integer INVOKER

args: geom, number_of_clusters - Window function that returns a cluster id for each input geometry using the K-means algorithm.

checkauth(text, text) FUNCTION SQL false integer INVOKER

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

st_geogfromtext(text) FUNCTION C true geography INVOKER
geography_gist_same(box2d, box2d, internal) FUNCTION C false internal INVOKER
st_collect(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: g1field - Creates a GeometryCollection or Multi* geometry from a set of geometries.

st_coorddim(geometry) FUNCTION C true smallint INVOKER

args: geomA - Return the coordinate dimension of a geometry.

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 2D shortest line between two geometries

geometry_same(geometry, geometry) FUNCTION C true boolean INVOKER
pgis_asgeobuf_finalfn(internal) FUNCTION C true bytea INVOKER
st_asgeojson(record, text, integer, boolean) FUNCTION C false text INVOKER
st_estimatedextent(text, text, text) FUNCTION C false box2d DEFINER

args: schema_name, table_name, geocolumn_name - Return the estimated extent of a spatial table.

st_forcecollection(geometry) FUNCTION C true geometry INVOKER

args: geomA - Convert the geometry into a GEOMETRYCOLLECTION.

st_linefromtext(text, integer) FUNCTION SQL true geometry INVOKER
geography_gist_penalty(internal, internal, internal) FUNCTION C false internal INVOKER
st_x(geometry) FUNCTION C true double precision INVOKER

args: a_point - Returns the X coordinate of a Point.

st_asmvt(anyelement, text) AGGREGATE INTERNAL true bytea INVOKER
st_coveredby(text, text) FUNCTION SQL true boolean INVOKER
geometry(text) FUNCTION C true geometry INVOKER
st_centroid(geography, boolean) FUNCTION C true geography INVOKER

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

st_gmltosql(text) FUNCTION SQL true geometry INVOKER
postgis_libjson_version() FUNCTION C true text INVOKER
st_nrings(geometry) FUNCTION C true integer INVOKER

args: geomA - Returns the number of rings in a polygonal geometry.

st_polygonize(geometry) AGGREGATE INTERNAL true geometry INVOKER

args: geomfield - Computes a collection of polygons formed from the linework of a set of geometries.

st_xmin(box3d) FUNCTION C true double precision INVOKER

args: aGeomorBox2DorBox3D - Returns the X minima of a 2D or 3D bounding box or a geometry.

_postgis_scripts_pgsql_version() FUNCTION SQL true text INVOKER
st_asewkt(text) FUNCTION SQL true text INVOKER
st_wkbtosql(bytea) FUNCTION C true geometry 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_buildarea(geometry) FUNCTION C true geometry INVOKER

args: geom - Creates a polygonal geometry formed by the linework of a geometry.

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 Nth geometry element of a geometry collection.

geometry(path) FUNCTION C true geometry INVOKER
st_astext(geography) FUNCTION C true text INVOKER
polygon(geometry) FUNCTION C true polygon INVOKER
st_rotate(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians - Rotates a geometry about an origin point.

st_y(geometry) FUNCTION C true double precision INVOKER

args: a_point - Returns the Y coordinate of a Point.

geometry_gt(geometry, geometry) FUNCTION C true boolean INVOKER
overlaps_2d(box2df, box2df) FUNCTION C true boolean INVOKER
st_m(geometry) FUNCTION C true double precision INVOKER

args: a_point - Returns the M coordinate of a Point.

st_concavehull(geometry, double precision, boolean) FUNCTION PLPGSQL true geometry INVOKER

args: geom, target_percent, allow_holes = false - Computes a possibly concave geometry that encloses all input geometry vertices

st_multilinestringfromtext(text) FUNCTION SQL true geometry 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.

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

args: geomA, size - Snap all points of the input geometry to a regular grid.

contains_2d(box2df, box2df) FUNCTION C true boolean INVOKER
st_geomfromgeohash(text, integer) FUNCTION SQL true geometry INVOKER
st_rotatey(geometry, double precision) FUNCTION SQL true geometry INVOKER

args: geomA, rotRadians - Rotates a geometry about the Y axis.

pgis_asmvt_transfn(internal, anyelement, text, integer, text) FUNCTION C true internal INVOKER
_st_coveredby(geography, geography) FUNCTION C true boolean INVOKER
overlaps_2d(geometry, box2df) FUNCTION SQL true boolean INVOKER
st_mlinefromwkb(bytea, integer) FUNCTION SQL true geometry INVOKER
geometry_spgist_config_3d(internal, internal) FUNCTION C true void INVOKER
overlaps_geog(geography, gidx) FUNCTION SQL true boolean INVOKER
ecl_add_submission_mission_id(character varying) FUNCTION PLPGSQL false boolean INVOKER
geography_spgist_choose_nd(internal, internal) FUNCTION C true void INVOKER
st_covers(text, text) FUNCTION SQL true boolean INVOKER
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 - Sets lock/authorization for a row in a table.

_st_bestsrid(geography, geography) FUNCTION C true integer INVOKER
geomfromewkb(bytea) FUNCTION C true geometry INVOKER
pgis_asgeobuf_transfn(internal, anyelement, text) FUNCTION C true internal INVOKER
pgis_asmvt_finalfn(internal) FUNCTION C true bytea 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
st_astext(text) FUNCTION SQL true text INVOKER
st_length(geometry) FUNCTION C true double precision INVOKER

args: a_2dlinestring - Returns the 2D length of a linear geometry.

st_3dperimeter(geometry) FUNCTION C true double precision INVOKER

args: geomA - Returns the 3D perimeter of a polygonal geometry.

st_isvalid(geometry) FUNCTION C true boolean INVOKER

args: g - Tests if a geometry is well-formed in 2D.

st_subdivide(geometry, integer, double precision) FUNCTION C true SETOF geometry INVOKER

args: geom, max_vertices=256, gridSize = -1 - Computes a rectilinear subdivision of a geometry.