Routines

Routines

Name Type Language Deterministic Return Type Security Restriction Comments
path FUNCTION C true path INVOKER
updategeometrysrid 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.

st_collectionhomogenize FUNCTION C true geometry INVOKER

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

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

geometry_gist_distance_nd FUNCTION C false double precision INVOKER
gbt_uuid_compress FUNCTION C true internal INVOKER
gbt_int4_same FUNCTION C true internal INVOKER
geometry_gist_consistent_2d FUNCTION C false boolean INVOKER
st_memcollect AGGREGATE INTERNAL true geometry INVOKER
gbt_macad8_union FUNCTION C true gbtreekey16 INVOKER
st_removerepeatedpoints FUNCTION C true geometry INVOKER

args: geom, tolerance - Returns a version of the given geometry with duplicated points removed.

st_forcecollection FUNCTION C true geometry INVOKER

args: geomA - Convert the geometry into a GEOMETRYCOLLECTION.

gtrgm_distance FUNCTION C true double precision INVOKER
gbt_time_fetch FUNCTION C true internal INVOKER
st_addpoint FUNCTION C true geometry INVOKER

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

gbt_text_same FUNCTION C true internal INVOKER
st_clusterkmeans 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.

gbt_oid_consistent FUNCTION C true boolean INVOKER
geomfromewkt FUNCTION C true geometry INVOKER
geometry_gist_penalty_2d FUNCTION C false internal INVOKER
_postgis_stats FUNCTION C false text INVOKER
geography_typmod_out FUNCTION C true cstring INVOKER
postgis_version FUNCTION C true text INVOKER

Returns PostGIS version number and compile-time options.

strict_word_similarity_op FUNCTION C false boolean INVOKER
_st_dfullywithin FUNCTION C true boolean INVOKER
st_issimple FUNCTION C true boolean INVOKER

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

gbt_enum_fetch FUNCTION C true internal INVOKER
st_asgml FUNCTION C true text INVOKER
gbt_int8_union FUNCTION C true gbtreekey16 INVOKER
st_project FUNCTION C true geography INVOKER

args: g1, distance, azimuth - Returns a point projected from a start point by a distance and bearing (azimuth).

st_lineinterpolatepoints FUNCTION C true geometry INVOKER

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

gbt_ts_consistent FUNCTION C true boolean INVOKER
gettransactionid FUNCTION C false xid INVOKER
st_linefromencodedpolyline FUNCTION C true geometry INVOKER
st_linefromtext FUNCTION SQL true geometry INVOKER
gbt_time_compress FUNCTION C true internal INVOKER
gbt_time_distance FUNCTION C true double precision INVOKER
st_wkbtosql FUNCTION C true geometry INVOKER
st_numgeometries FUNCTION C true integer INVOKER

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

st_geomcollfromwkb FUNCTION SQL true geometry INVOKER
gbt_ts_distance FUNCTION C true double precision INVOKER
gbt_intv_consistent FUNCTION C true boolean INVOKER
geometry_gist_union_nd FUNCTION C false internal INVOKER
gtrgm_compress FUNCTION C true internal INVOKER
gbt_enum_same FUNCTION C true internal INVOKER
st_geometryn FUNCTION C true geometry INVOKER

args: geomA, n - Return the Nth geometry element of a geometry collection.

st_symdifference 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_combinebbox FUNCTION C true box3d INVOKER
st_tileenvelope FUNCTION C true geometry INVOKER

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

st_forcerhr FUNCTION C true geometry INVOKER

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

st_chaikinsmoothing FUNCTION C true geometry INVOKER

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

st_geomcollfromtext FUNCTION SQL true geometry INVOKER
levenshtein FUNCTION C true integer INVOKER
st_makeenvelope FUNCTION C true geometry INVOKER

args: xmin, ymin, xmax, ymax, srid=unknown - Creates a rectangular Polygon from minimum and maximum coordinates.

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

geometry_contained_3d FUNCTION C true boolean INVOKER
jsonb FUNCTION C true jsonb INVOKER
st_pointfromgeohash FUNCTION C true geometry INVOKER
similarity_dist FUNCTION C true real INVOKER
geom3d_brin_inclusion_add_value FUNCTION C false boolean INVOKER
st_isempty FUNCTION C true boolean INVOKER

args: geomA - Tests if a geometry is empty.

is_contained_2d FUNCTION SQL true boolean INVOKER
get_proj4_from_srid FUNCTION PLPGSQL true text INVOKER
dmetaphone FUNCTION C true text INVOKER
postgis_typmod_type FUNCTION C true text INVOKER
geography_gist_union FUNCTION C false internal INVOKER
unaccent_init FUNCTION C false internal INVOKER
gbt_cash_union FUNCTION C true gbtreekey16 INVOKER
geom2d_brin_inclusion_add_value FUNCTION C false boolean INVOKER
st_mpolyfromwkb FUNCTION SQL true geometry INVOKER
_st_asgml FUNCTION C true text INVOKER
st_boundary FUNCTION C true geometry INVOKER

args: geomA - Returns the boundary of a geometry.

st_geographyfromtext FUNCTION C true geography INVOKER
geometry_typmod_in FUNCTION C true integer INVOKER
gbt_date_distance FUNCTION C true double precision INVOKER
st_makepoint FUNCTION C true geometry INVOKER

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

st_equals FUNCTION C true boolean INVOKER
st_3dintersects FUNCTION C true boolean INVOKER
gbt_inet_consistent FUNCTION C true boolean INVOKER
_st_3ddfullywithin FUNCTION C true boolean INVOKER
gbt_bit_picksplit FUNCTION C true internal INVOKER
gbt_float8_picksplit FUNCTION C true internal INVOKER
st_asgeojson FUNCTION C true text INVOKER
st_geometricmedian FUNCTION C true geometry INVOKER

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

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.

geometry_gist_picksplit_nd FUNCTION C false internal INVOKER
geography_gist_decompress FUNCTION C false internal INVOKER
gbt_ts_compress FUNCTION C true internal INVOKER
st_asx3d FUNCTION SQL true text INVOKER
_st_distanceuncached FUNCTION C true double precision INVOKER
float8_dist FUNCTION C true double precision INVOKER
gbt_macad_same FUNCTION C true internal INVOKER
int4_dist FUNCTION C true integer INVOKER
geometry_recv FUNCTION C true geometry INVOKER
_st_containsproperly FUNCTION C true boolean INVOKER
_st_dwithinuncached FUNCTION C true boolean INVOKER
pgis_geometry_clusterwithin_finalfn FUNCTION C false ARRAY INVOKER
gin_extract_query_trgm FUNCTION C true internal INVOKER
geometry_gist_union_2d FUNCTION C false internal INVOKER
postgis_geos_noop FUNCTION C true geometry INVOKER
gbt_intv_penalty FUNCTION C true internal INVOKER
st_startpoint FUNCTION C true geometry INVOKER

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

gbt_int4_fetch FUNCTION C true internal INVOKER
st_shiftlongitude FUNCTION C true geometry INVOKER

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

geometry_cmp FUNCTION C true integer INVOKER
gbt_time_penalty FUNCTION C true internal INVOKER
geometry_overabove FUNCTION C true boolean INVOKER
pgis_asmvt_deserialfn FUNCTION C true internal INVOKER
postgis_dropbbox FUNCTION C true geometry INVOKER

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

gbt_bit_compress FUNCTION C true internal INVOKER
st_shortestline FUNCTION C true geometry INVOKER

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

postgis_wagyu_version FUNCTION C true text INVOKER

Returns the version number of the internal Wagyu library.

gbt_oid_same FUNCTION C true internal INVOKER
contains_2d FUNCTION C true boolean INVOKER
geomfromewkb FUNCTION C true geometry INVOKER
json FUNCTION C true json INVOKER
st_astwkb FUNCTION C true bytea INVOKER
st_geogfromwkb FUNCTION C true geography INVOKER
st_numinteriorrings FUNCTION C true integer INVOKER

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

st_polygon FUNCTION SQL true geometry INVOKER

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

gserialized_gist_sel_2d FUNCTION C false double precision INVOKER
geography_send FUNCTION C true bytea INVOKER
postgis_transform_geometry FUNCTION C true geometry INVOKER
gbt_timetz_compress FUNCTION C true internal INVOKER
gbt_time_consistent FUNCTION C true boolean INVOKER
gbt_inet_picksplit FUNCTION C true internal INVOKER
addgeometrycolumn 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 FUNCTION C true geography INVOKER
pgis_geometry_makeline_finalfn FUNCTION C false geometry INVOKER
geometry FUNCTION C true geometry INVOKER
gbt_intv_compress FUNCTION C true internal INVOKER
st_setsrid FUNCTION C true geography INVOKER
st_clusterdbscan WINDOW C true integer INVOKER

args: geom, eps, minpoints - Window function that returns a cluster id for each input geometry using the DBSCAN algorithm.

gbt_bytea_compress FUNCTION C true internal INVOKER
st_unaryunion FUNCTION C true geometry INVOKER

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

st_geomfromkml FUNCTION C true geometry INVOKER
st_linemerge FUNCTION C true geometry INVOKER

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

st_swapordinates FUNCTION C true geometry INVOKER

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

geometry_typmod_out FUNCTION C true cstring INVOKER
geography_typmod_in FUNCTION C true integer INVOKER
gbt_cash_distance FUNCTION C true double precision INVOKER
gbt_macad_fetch FUNCTION C true internal INVOKER
gin_trgm_triconsistent FUNCTION C true "char" INVOKER
st_overlaps FUNCTION C true boolean INVOKER
st_containsproperly FUNCTION C true boolean INVOKER
postgis_type_name FUNCTION SQL true character varying INVOKER
geography_spgist_picksplit_nd FUNCTION C true void INVOKER
gbt_numeric_penalty FUNCTION C true internal INVOKER
st_3dlength FUNCTION C true double precision INVOKER

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

st_generatepoints FUNCTION C false geometry INVOKER

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

gbt_int4_compress FUNCTION C true internal INVOKER
gbt_tstz_compress FUNCTION C true internal INVOKER
st_buildarea FUNCTION C true geometry INVOKER

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

st_area FUNCTION C true double precision INVOKER
st_seteffectivearea 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.

postgis_proj_version FUNCTION C true text INVOKER

Returns the version number of the PROJ4 library.

st_pointfromtext FUNCTION SQL true geometry INVOKER
gbt_inet_union FUNCTION C true gbtreekey16 INVOKER
st_geomfromtext FUNCTION C true geometry INVOKER
st_patchn FUNCTION SQL true geometry INVOKER

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

gbt_date_same FUNCTION C true internal INVOKER
st_rotate FUNCTION SQL true geometry INVOKER

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

text FUNCTION C true text INVOKER
st_hasarc FUNCTION C true boolean INVOKER

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

st_relatematch FUNCTION C true boolean INVOKER
_st_longestline FUNCTION C true geometry INVOKER
gbt_cash_consistent FUNCTION C true boolean INVOKER
st_snaptogrid FUNCTION C true geometry INVOKER

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

gbt_numeric_consistent FUNCTION C true boolean INVOKER
st_segmentize FUNCTION C true geography INVOKER

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

geom4d_brin_inclusion_add_value FUNCTION C false boolean INVOKER
st_pointinsidecircle FUNCTION C true boolean INVOKER
st_setpoint FUNCTION C true geometry INVOKER

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

enablelongtransactions FUNCTION PLPGSQL false text INVOKER

Enables long transaction support.

geometry_overlaps_nd FUNCTION C true boolean INVOKER
_st_3ddwithin FUNCTION C true boolean INVOKER
gbt_time_picksplit FUNCTION C true internal INVOKER
st_linefromwkb FUNCTION SQL true geometry INVOKER
gbt_numeric_union FUNCTION C true gbtreekey_var INVOKER
geometry_same FUNCTION C true boolean INVOKER
gbt_timetz_consistent FUNCTION C true boolean INVOKER
gbt_oid_union FUNCTION C true gbtreekey8 INVOKER
geometry_distance_centroid FUNCTION C true double precision INVOKER
st_makebox2d FUNCTION C true box2d INVOKER

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

st_buffer FUNCTION SQL true geography INVOKER
metaphone FUNCTION C true text INVOKER
gbt_ts_same FUNCTION C true internal INVOKER
gbt_date_union FUNCTION C true gbtreekey8 INVOKER
gbt_bit_union FUNCTION C true gbtreekey_var INVOKER
geometry_in FUNCTION C true geometry INVOKER
st_ymin FUNCTION C true double precision INVOKER

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

gbtreekey8_in FUNCTION C true gbtreekey8 INVOKER
postgis_constraint_dims FUNCTION SQL false integer INVOKER
geometry_contains FUNCTION C true boolean INVOKER
gbt_date_picksplit FUNCTION C true internal INVOKER
st_addmeasure 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.

geometry_contains_3d FUNCTION C true boolean INVOKER
st_orientedenvelope FUNCTION C true geometry INVOKER

args: geom - Returns a minimum rotated rectangle enclosing a geometry.

st_askml FUNCTION C true text INVOKER
st_estimatedextent FUNCTION C false box2d DEFINER

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

gbt_uuid_fetch FUNCTION C true internal INVOKER
geography_gist_penalty FUNCTION C false internal INVOKER
geometry_le FUNCTION C true boolean INVOKER
st_orderingequals FUNCTION C true boolean INVOKER
populate_geometry_columns FUNCTION PLPGSQL false text INVOKER

args: relation_oid, use_typmod=true - Ensures geometry columns are defined with type modifiers or have appropriate spatial constraints.

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

gbt_text_penalty FUNCTION C true internal INVOKER
st_asewkt FUNCTION C true text INVOKER
geometry_gist_penalty_nd FUNCTION C false internal INVOKER
st_dwithin FUNCTION C true boolean INVOKER
st_summary FUNCTION C true text INVOKER

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

st_forcecurve FUNCTION C true geometry INVOKER

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

_st_concavehull FUNCTION PLPGSQL true geometry INVOKER
geometry_same_nd FUNCTION C true boolean INVOKER
gbt_cash_fetch FUNCTION C true internal INVOKER
geometry_lt FUNCTION C true boolean INVOKER
st_simplifyvw FUNCTION C true geometry INVOKER

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

box3dtobox FUNCTION C true box INVOKER
dmetaphone_alt FUNCTION C true text INVOKER
gtrgm_penalty FUNCTION C true internal INVOKER
word_similarity_dist_commutator_op FUNCTION C true real INVOKER
_st_linecrossingdirection FUNCTION C true integer INVOKER
gbt_macad_picksplit FUNCTION C true internal INVOKER
geography_spgist_choose_nd FUNCTION C true void INVOKER
gtrgm_options FUNCTION C true void INVOKER
gidx_in FUNCTION C true gidx INVOKER
st_dimension FUNCTION C true integer INVOKER

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

_postgis_scripts_pgsql_version FUNCTION SQL true text INVOKER
st_forcepolygoncw FUNCTION C true geometry INVOKER

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

gbtreekey_var_in FUNCTION C true gbtreekey_var INVOKER
st_3dmaxdistance 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.

gbt_cash_same FUNCTION C true internal INVOKER
st_pointonsurface FUNCTION C true geometry INVOKER

args: g1 - Returns a POINT guaranteed to lie on the surface.

gbt_intv_picksplit FUNCTION C true internal INVOKER
geog_brin_inclusion_add_value FUNCTION C false boolean INVOKER
st_wrapx FUNCTION C true geometry INVOKER

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

_st_3dintersects FUNCTION C true boolean INVOKER
st_symmetricdifference FUNCTION C true geometry INVOKER
st_memsize FUNCTION C true integer INVOKER

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

st_translate FUNCTION SQL true geometry INVOKER

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

_st_coveredby FUNCTION C true boolean INVOKER
gbtreekey32_out FUNCTION C true cstring INVOKER
st_dumprings 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.

st_length2dspheroid FUNCTION C true double precision INVOKER
gbt_macad8_fetch FUNCTION C true internal INVOKER
geometry_gist_distance_2d FUNCTION C false double precision INVOKER
_st_geomfromgml FUNCTION C true geometry INVOKER
geometry_gist_consistent_nd FUNCTION C false boolean INVOKER
_st_voronoi FUNCTION C true geometry INVOKER
geometry_spgist_leaf_consistent_nd FUNCTION C true boolean INVOKER
st_distancecpa FUNCTION C true double precision INVOKER

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

st_asewkb FUNCTION C true bytea INVOKER
gbt_int4_penalty FUNCTION C true internal INVOKER
geography_gist_same FUNCTION C false internal INVOKER
gbt_macad_compress FUNCTION C true internal INVOKER
gbt_tstz_distance FUNCTION C true double precision INVOKER
st_polyfromtext FUNCTION SQL true geometry INVOKER
st_clusterwithin FUNCTION INTERNAL true ARRAY INVOKER
st_srid FUNCTION C true integer INVOKER
gbt_float4_compress FUNCTION C true internal INVOKER
st_ashexewkb FUNCTION C true text INVOKER
geometry_hash FUNCTION C true integer INVOKER
gbt_uuid_union FUNCTION C true gbtreekey32 INVOKER
word_similarity_op FUNCTION C false boolean INVOKER
show_trgm FUNCTION C true ARRAY INVOKER
_st_asx3d FUNCTION C true text INVOKER
geometry_spgist_compress_nd FUNCTION C true internal INVOKER
geometry_distance_centroid_nd FUNCTION C true double precision INVOKER
st_dfullywithin FUNCTION C true boolean INVOKER
st_scale FUNCTION C true geometry INVOKER

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

gbt_oid_picksplit FUNCTION C true internal INVOKER
st_makepolygon FUNCTION C true geometry INVOKER

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

st_polygonfromwkb FUNCTION SQL true geometry INVOKER
st_3dextent AGGREGATE INTERNAL true box3d INVOKER

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

gbt_text_union FUNCTION C true gbtreekey_var INVOKER
gbt_int8_distance FUNCTION C true double precision INVOKER
dropgeometrytable FUNCTION PLPGSQL false text INVOKER

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

dropgeometrycolumn FUNCTION PLPGSQL false text INVOKER

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

st_geomfromgeohash FUNCTION SQL true geometry INVOKER
st_asmvt AGGREGATE INTERNAL true bytea INVOKER
geometry_sortsupport FUNCTION C true void INVOKER
st_geomfromewkb FUNCTION C true geometry INVOKER
gtrgm_consistent FUNCTION C true boolean INVOKER
gbt_oid_distance FUNCTION C true double precision INVOKER
st_length FUNCTION SQL true double precision INVOKER
gbt_ts_penalty FUNCTION C true internal INVOKER
box FUNCTION C true box INVOKER
gbt_int2_distance FUNCTION C true double precision INVOKER
postgis_scripts_installed FUNCTION SQL true text INVOKER

Returns version of the postgis scripts installed in this database.

gbt_numeric_picksplit FUNCTION C true internal INVOKER
box2d_out FUNCTION C true cstring INVOKER
word_similarity_dist_op FUNCTION C true real INVOKER
st_geomfromewkt FUNCTION C true geometry INVOKER
st_asmvtgeom FUNCTION C true geometry INVOKER
st_geogfromtext FUNCTION C true geography INVOKER
st_geomfromgeojson FUNCTION C true geometry INVOKER
gtrgm_out FUNCTION C true cstring INVOKER
st_multi FUNCTION C true geometry INVOKER

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

st_snap FUNCTION C true geometry INVOKER

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

st_minimumclearance FUNCTION C true double precision INVOKER

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

gbt_var_decompress FUNCTION C true internal INVOKER
gbt_bytea_same FUNCTION C true internal INVOKER
st_ispolygoncw FUNCTION C true boolean INVOKER

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

_st_pointoutside FUNCTION C true geography INVOKER
gbt_ts_union FUNCTION C true gbtreekey16 INVOKER
st_interiorringn FUNCTION C true geometry INVOKER

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

gbt_int8_same FUNCTION C true internal INVOKER
gbtreekey32_in FUNCTION C true gbtreekey32 INVOKER
overlaps_2d FUNCTION SQL true boolean INVOKER
geography_spgist_compress_nd FUNCTION C true internal INVOKER
_postgis_index_extent FUNCTION C false box2d INVOKER
geometry_within_nd FUNCTION C true boolean INVOKER
st_m FUNCTION C true double precision INVOKER

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

st_wkttosql FUNCTION C true geometry INVOKER
st_makepointm FUNCTION C true geometry INVOKER

args: x, y, m - Creates a Point from X, Y and M values.

st_reverse FUNCTION C true geometry INVOKER

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

st_touches FUNCTION C true boolean INVOKER
checkauthtrigger FUNCTION C false trigger INVOKER
st_isvalidreason FUNCTION C true text INVOKER

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

st_distancespheroid 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_zmin FUNCTION C true double precision INVOKER

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

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

geometry_above FUNCTION C true boolean INVOKER
st_z FUNCTION C true double precision INVOKER

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

pgis_geometry_accum_transfn FUNCTION C false internal INVOKER
time_dist FUNCTION C true interval INVOKER
st_y FUNCTION C true double precision INVOKER

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

st_x FUNCTION C true double precision INVOKER

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

gbt_oid_fetch FUNCTION C true internal INVOKER
st_3dlongestline FUNCTION C true geometry INVOKER

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

st_mpointfromtext FUNCTION SQL true geometry INVOKER
geography_spgist_leaf_consistent_nd FUNCTION C true boolean INVOKER
st_collectionextract 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_3ddwithin FUNCTION C true boolean INVOKER
st_box2dfromgeohash FUNCTION C true box2d INVOKER
st_makevalid FUNCTION C true geometry INVOKER

args: input - Attempts to make an invalid geometry valid without losing vertices.

rename_column_if_exists FUNCTION PLPGSQL false void INVOKER
equals FUNCTION C true boolean INVOKER
geometry_overlaps FUNCTION C true boolean INVOKER
geography_overlaps FUNCTION C true boolean INVOKER
geography_out FUNCTION C true cstring INVOKER
st_coveredby FUNCTION C true boolean INVOKER
ts_dist FUNCTION C true interval INVOKER
spheroid_in FUNCTION C true spheroid INVOKER
show_limit FUNCTION C false real INVOKER
st_asbinary FUNCTION C true bytea INVOKER
st_simplifypreservetopology 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.

geometrytype FUNCTION C true text 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_convexhull FUNCTION C true geometry INVOKER

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

postgis_geos_version FUNCTION C true text INVOKER

Returns the version number of the GEOS library.

gbt_int2_consistent FUNCTION C true boolean INVOKER
gbtreekey8_out FUNCTION C true cstring INVOKER
point FUNCTION C true point INVOKER
pgis_geometry_collect_finalfn FUNCTION C false geometry INVOKER
st_dumppoints FUNCTION C true SETOF geometry_dump INVOKER

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

gbt_uuid_picksplit FUNCTION C true internal INVOKER
_st_distancetree FUNCTION C true double precision INVOKER
st_points FUNCTION C true geometry INVOKER

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

geometry_send FUNCTION C true bytea INVOKER
polygon FUNCTION C true polygon INVOKER
geometry_gist_same_nd FUNCTION C false internal INVOKER
st_expand FUNCTION C true box3d INVOKER

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

unaccent FUNCTION C false text INVOKER
geometry_spgist_inner_consistent_3d FUNCTION C true void INVOKER
pgis_asmvt_serialfn FUNCTION C true bytea INVOKER
st_ymax FUNCTION C true double precision INVOKER

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

_st_dwithin FUNCTION C true boolean INVOKER
box2df_in FUNCTION C true box2df INVOKER
st_transscale FUNCTION SQL true geometry INVOKER

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

geometry_overright FUNCTION C true boolean INVOKER
geometry_spgist_compress_2d FUNCTION C true internal INVOKER
gbt_macad8_penalty FUNCTION C true internal INVOKER
st_iscollection FUNCTION C true boolean INVOKER

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

disablelongtransactions FUNCTION PLPGSQL false text INVOKER

Disables long transaction support.

st_assvg FUNCTION C true text INVOKER
gbt_bytea_penalty FUNCTION C true internal INVOKER
gbt_var_fetch FUNCTION C true internal INVOKER
gbt_float4_fetch FUNCTION C true internal INVOKER
gbt_intv_decompress FUNCTION C true internal INVOKER
st_removepoint FUNCTION C true geometry INVOKER

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

postgis_libjson_version FUNCTION C true text INVOKER
geometry_spgist_config_3d FUNCTION C true void INVOKER
st_simplify FUNCTION C true geometry INVOKER
gbt_inet_same FUNCTION C true internal INVOKER
st_mpolyfromtext FUNCTION SQL true geometry INVOKER
st_3dshortestline FUNCTION C true geometry INVOKER

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

_st_covers FUNCTION C true boolean INVOKER
_st_orderingequals FUNCTION C true boolean INVOKER
st_point FUNCTION C true geometry INVOKER

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

st_mpointfromwkb FUNCTION SQL true geometry INVOKER
geometry_spgist_leaf_consistent_3d FUNCTION C true boolean INVOKER
st_intersects FUNCTION C true boolean INVOKER
st_area2d FUNCTION C true double precision INVOKER
st_within FUNCTION C true boolean INVOKER
st_3dlineinterpolatepoint FUNCTION C true geometry INVOKER
st_locatebetween 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.

geography_in FUNCTION C true geography INVOKER
geometry_spgist_compress_3d FUNCTION C true internal INVOKER
st_disjoint FUNCTION C true boolean INVOKER
geometry_same_3d FUNCTION C true boolean INVOKER
gbt_int2_same FUNCTION C true internal INVOKER
st_angle FUNCTION SQL true double precision INVOKER

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

gbt_enum_compress FUNCTION C true internal INVOKER
postgis_hasbbox FUNCTION C true boolean INVOKER

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

st_polyfromwkb FUNCTION SQL true geometry INVOKER
gbt_bit_same FUNCTION C true internal INVOKER
gbt_bytea_union FUNCTION C true gbtreekey_var INVOKER
postgis_svn_version FUNCTION C true text INVOKER
overlaps_geog FUNCTION C true boolean INVOKER
geometry_spgist_picksplit_nd FUNCTION C true void INVOKER
geography_spgist_inner_consistent_nd FUNCTION C true void INVOKER
postgis_constraint_srid FUNCTION SQL false integer INVOKER
st_dump FUNCTION C true SETOF geometry_dump INVOKER

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

st_clipbybox2d FUNCTION C true geometry INVOKER

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

st_polygonize FUNCTION INTERNAL true geometry INVOKER

args: geom_array - Aggregate. Creates a GeometryCollection containing possible polygons formed from the constituent linework of a set of geometries.

st_difference 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_contains FUNCTION C true boolean INVOKER
st_cleangeometry FUNCTION C true geometry INVOKER
gidx_out FUNCTION C true cstring INVOKER
strict_word_similarity_dist_commutator_op FUNCTION C true real INVOKER
st_3ddistance 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_offsetcurve 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_subdivide 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.

lockrow FUNCTION SQL false integer INVOKER
geometry_overlaps_3d FUNCTION C true boolean INVOKER
gbt_bit_consistent FUNCTION C true boolean INVOKER
gbt_inet_compress FUNCTION C true internal INVOKER
unaccent_lexize FUNCTION C false internal INVOKER
st_polygonfromtext FUNCTION SQL true geometry INVOKER
st_numpatches FUNCTION SQL true integer INVOKER

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

geometry_within FUNCTION C true boolean INVOKER
st_numinteriorring FUNCTION C true integer INVOKER

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

gbt_float4_same FUNCTION C true internal INVOKER
gbt_decompress FUNCTION C true internal INVOKER
st_hausdorffdistance FUNCTION C true double precision INVOKER

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

pgis_asgeobuf_transfn FUNCTION C true internal INVOKER
st_centroid FUNCTION C true geography INVOKER
st_rotatex FUNCTION SQL true geometry INVOKER

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

longtransactionsenabled FUNCTION PLPGSQL false boolean INVOKER
st_intersection FUNCTION SQL true geography INVOKER
st_length2d FUNCTION C true double precision INVOKER

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

gbt_int8_penalty FUNCTION C true internal INVOKER
gbt_int4_picksplit FUNCTION C true internal INVOKER
geography_ge FUNCTION C true boolean INVOKER
st_3dperimeter FUNCTION C true double precision INVOKER

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

st_xmax FUNCTION C true double precision INVOKER

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

gbt_float4_penalty FUNCTION C true internal INVOKER
st_azimuth 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.

overlaps_nd FUNCTION C true boolean INVOKER
geometry_spgist_inner_consistent_2d FUNCTION C true void INVOKER
postgis_lib_build_date FUNCTION C true text INVOKER

Returns build date of the PostGIS library.

spheroid_out FUNCTION C true cstring INVOKER
st_filterbym FUNCTION C true geometry INVOKER

args: geom, min, max = null, returnM = false - Filters vertex points based on their m-value

gserialized_gist_joinsel_2d FUNCTION C false double precision INVOKER
geometry_right FUNCTION C true boolean INVOKER
int2_dist FUNCTION C true smallint INVOKER
_st_maxdistance FUNCTION C true double precision INVOKER
geography_gt FUNCTION C true boolean INVOKER
geography_gist_compress FUNCTION C false internal INVOKER
st_node FUNCTION C true geometry INVOKER

args: geom - Node a set of linestrings.

geometry_spgist_config_2d FUNCTION C true void INVOKER
st_asencodedpolyline FUNCTION C true text INVOKER
st_linefrommultipoint FUNCTION C true geometry INVOKER

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

set_limit FUNCTION C false real INVOKER
geometry_out FUNCTION C true cstring INVOKER
gbt_float8_distance FUNCTION C true double precision INVOKER
gbt_text_picksplit FUNCTION C true internal INVOKER
geometry_left FUNCTION C true boolean INVOKER
st_extent AGGREGATE INTERNAL true box2d INVOKER

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

geometry_gist_compress_2d FUNCTION C false internal INVOKER
tstz_dist FUNCTION C true interval INVOKER
gtrgm_picksplit FUNCTION C true internal INVOKER
oid_dist FUNCTION C true oid INVOKER
st_affine FUNCTION C true geometry INVOKER

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

gbt_uuid_penalty FUNCTION C true internal INVOKER
pgis_geometry_clusterintersecting_finalfn FUNCTION C false ARRAY INVOKER
st_xmin FUNCTION C true double precision INVOKER

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

geometry_gist_same_2d FUNCTION C false internal INVOKER
st_forcepolygonccw FUNCTION SQL true geometry INVOKER

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

pgis_geometry_union_finalfn FUNCTION C false geometry INVOKER
gbt_intv_union FUNCTION C true gbtreekey32 INVOKER
box3d FUNCTION C true box3d INVOKER
st_memunion AGGREGATE INTERNAL true geometry INVOKER

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

_st_intersects FUNCTION C true boolean INVOKER
st_rotatey FUNCTION SQL true geometry INVOKER

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

st_rotatez FUNCTION SQL true geometry INVOKER

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

unlockrows FUNCTION PLPGSQL false integer INVOKER

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

_postgis_selectivity FUNCTION C false double precision INVOKER
geometry_distance_cpa FUNCTION C true double precision INVOKER
text_soundex FUNCTION C true text INVOKER
gbt_macad8_picksplit FUNCTION C true internal INVOKER
geography_eq FUNCTION C true boolean INVOKER
postgis_libprotobuf_version FUNCTION C true text INVOKER
st_zmax FUNCTION C true double precision INVOKER

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

gbt_numeric_compress FUNCTION C true internal INVOKER
st_numpoints FUNCTION C true integer INVOKER

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

geography_distance_knn FUNCTION C true double precision INVOKER
postgis_typmod_dims FUNCTION C true integer INVOKER
geography_recv FUNCTION C true geography INVOKER
gbt_tstz_consistent FUNCTION C true boolean INVOKER
st_3dclosestpoint 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.

geometry_eq FUNCTION C true boolean INVOKER
geometry_below FUNCTION C true boolean INVOKER
postgis_addbbox FUNCTION C true geometry INVOKER

args: geomA - Add bounding box to the geometry.

st_cpawithin FUNCTION C true boolean INVOKER

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

postgis_constraint_type FUNCTION SQL false character varying INVOKER
_st_equals FUNCTION C true boolean INVOKER
geometry_spgist_inner_consistent_nd FUNCTION C true void INVOKER
st_locatebetweenelevations 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_perimeter2d FUNCTION C true double precision INVOKER

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

postgis_scripts_build_date FUNCTION SQL true text INVOKER

Returns build date of the PostGIS scripts.

gbt_inet_penalty FUNCTION C true internal INVOKER
gbt_time_same FUNCTION C true internal INVOKER
geography_gist_consistent FUNCTION C false boolean INVOKER
st_linecrossingdirection FUNCTION C true integer INVOKER
gbt_float8_union FUNCTION C true gbtreekey16 INVOKER
st_ndims FUNCTION C true smallint INVOKER

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

st_bdmpolyfromtext FUNCTION PLPGSQL true geometry INVOKER
gbtreekey16_out FUNCTION C true cstring INVOKER
difference FUNCTION C true integer INVOKER
gbt_int2_picksplit FUNCTION C true internal INVOKER
postgis_cache_bbox FUNCTION C false trigger INVOKER
gserialized_gist_joinsel_nd FUNCTION C false double precision INVOKER
geometry_spgist_leaf_consistent_2d FUNCTION C true boolean INVOKER
gbt_ts_fetch FUNCTION C true internal INVOKER
geometry_spgist_picksplit_2d FUNCTION C true void INVOKER
st_astext FUNCTION C true text INVOKER
box3d_in FUNCTION C true box3d INVOKER
column_exists FUNCTION SQL false boolean INVOKER
gbt_float8_consistent FUNCTION C true boolean INVOKER
geography_gist_distance FUNCTION C false double precision INVOKER
box2df_out FUNCTION C true cstring INVOKER
geometry_spgist_config_nd FUNCTION C true void INVOKER
_st_bestsrid FUNCTION C true integer INVOKER
gtrgm_same FUNCTION C true internal INVOKER
_st_crosses FUNCTION C true boolean INVOKER
geometry_ge FUNCTION C true boolean INVOKER
geometry_contains_nd FUNCTION C true boolean INVOKER
gbt_int2_penalty FUNCTION C true internal INVOKER
pgis_asmvt_combinefn FUNCTION C true internal INVOKER
gbt_int2_fetch FUNCTION C true internal INVOKER
st_mlinefromwkb FUNCTION SQL true geometry INVOKER
geometry_spgist_picksplit_3d FUNCTION C true void INVOKER
box2d FUNCTION C true box2d INVOKER
gbt_int8_picksplit FUNCTION C true internal INVOKER
st_pointn FUNCTION C true geometry INVOKER

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

geometry_gt FUNCTION C true boolean INVOKER
gbt_cash_picksplit FUNCTION C true internal INVOKER
geometry_overbelow FUNCTION C true boolean INVOKER
st_geohash FUNCTION C true text INVOKER
geometry_gist_decompress_nd FUNCTION C false internal INVOKER
levenshtein_less_equal FUNCTION C true integer INVOKER
st_frechetdistance FUNCTION C true double precision INVOKER

args: g1, g2, densifyFrac = -1 - Returns the Fréchet distance between two geometries.

st_bdpolyfromtext FUNCTION PLPGSQL true geometry INVOKER
gbt_enum_consistent FUNCTION C true boolean INVOKER
postgis_getbbox FUNCTION C true box2d INVOKER
word_similarity_commutator_op FUNCTION C false boolean INVOKER
gtrgm_union FUNCTION C true gtrgm INVOKER
word_similarity FUNCTION C true real INVOKER
st_sharedpaths FUNCTION C true geometry INVOKER

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

_st_touches FUNCTION C true boolean INVOKER
gbt_float4_consistent FUNCTION C true boolean INVOKER
st_collect AGGREGATE C true geometry INVOKER

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

_st_contains FUNCTION C true boolean INVOKER
st_isclosed 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).

gbt_enum_union FUNCTION C true gbtreekey8 INVOKER
postgis_index_supportfn FUNCTION C false internal INVOKER
st_pointfromwkb FUNCTION SQL true geometry INVOKER
gbt_oid_penalty FUNCTION C true internal INVOKER
st_geometrytype FUNCTION C true text INVOKER

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

st_curvetoline FUNCTION C true geometry INVOKER

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

gbt_time_union FUNCTION C true gbtreekey16 INVOKER
geography_gist_picksplit FUNCTION C false internal INVOKER
st_geomfromtwkb FUNCTION C true geometry INVOKER
st_geomfromwkb FUNCTION C true geometry INVOKER
gbt_macad8_same FUNCTION C true internal INVOKER
st_npoints FUNCTION C true integer INVOKER

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

st_union FUNCTION C true geometry INVOKER

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

st_3ddfullywithin FUNCTION C true boolean INVOKER
geography_analyze FUNCTION C false boolean INVOKER
gbt_enum_picksplit FUNCTION C true internal INVOKER
st_isring FUNCTION C true boolean INVOKER

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

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

gbt_macad_penalty FUNCTION C true internal INVOKER
gbt_float4_distance FUNCTION C true double precision INVOKER
st_perimeter FUNCTION C true double precision INVOKER

args: geog, use_spheroid=true - Returns the length of the boundary of a polygonal geometry or geography.

st_aslatlontext FUNCTION C true text INVOKER
_postgis_join_selectivity FUNCTION C false double precision INVOKER
st_lineinterpolatepoint 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_geometryfromtext FUNCTION C true geometry INVOKER
geometry_spgist_choose_nd FUNCTION C true void INVOKER
gbt_int8_compress FUNCTION C true internal INVOKER
box2d_in FUNCTION C true box2d INVOKER
st_force2d FUNCTION C true geometry INVOKER

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

int8_dist FUNCTION C true bigint INVOKER
gbt_bit_penalty FUNCTION C true internal INVOKER
pgis_asmvt_transfn FUNCTION C true internal INVOKER
pgis_asgeobuf_finalfn FUNCTION C true bytea INVOKER
gbt_enum_penalty FUNCTION C true internal INVOKER
st_distancesphere FUNCTION SQL true double precision INVOKER

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

gbt_float4_union FUNCTION C true gbtreekey8 INVOKER
float4_dist FUNCTION C true real INVOKER
gserialized_gist_sel_nd FUNCTION C false double precision INVOKER
geography_spgist_config_nd FUNCTION C true void INVOKER
st_multilinestringfromtext FUNCTION SQL true geometry INVOKER
gbtreekey_var_out FUNCTION C true cstring INVOKER
st_transform FUNCTION C true geometry INVOKER

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

pgis_asmvt_finalfn FUNCTION C true bytea INVOKER
strict_word_similarity_commutator_op FUNCTION C false boolean INVOKER
postgis_liblwgeom_version FUNCTION C true text INVOKER

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

gbtreekey16_in FUNCTION C true gbtreekey16 INVOKER
pgis_geometry_polygonize_finalfn FUNCTION C false geometry INVOKER
st_covers FUNCTION C true boolean INVOKER
gbt_intv_same FUNCTION C true internal INVOKER
st_distance FUNCTION C true double precision INVOKER
date_dist FUNCTION C true integer INVOKER
st_multipolyfromwkb FUNCTION SQL true geometry INVOKER
st_multipolygonfromtext FUNCTION SQL true geometry INVOKER
gbt_bpchar_consistent FUNCTION C true boolean INVOKER
st_force3dm FUNCTION C true geometry INVOKER

args: geomA - Force the geometries into XYM mode.

checkauth FUNCTION PLPGSQL 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_nrings FUNCTION C true integer INVOKER

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

st_clusterintersecting FUNCTION INTERNAL true ARRAY INVOKER
st_mlinefromtext FUNCTION SQL true geometry INVOKER
gbt_bytea_consistent FUNCTION C true boolean INVOKER
st_crosses FUNCTION C true boolean INVOKER
gin_extract_value_trgm FUNCTION C true internal INVOKER
gin_trgm_consistent FUNCTION C true boolean INVOKER
geometry_gist_picksplit_2d FUNCTION C false internal INVOKER
gbt_intv_fetch FUNCTION C true internal INVOKER
gbt_float8_penalty FUNCTION C true internal INVOKER
gbt_uuid_same FUNCTION C true internal INVOKER
st_force3dz FUNCTION C true geometry INVOKER

args: geomA - Force the geometries into XYZ mode.

st_findextent FUNCTION PLPGSQL false box2d INVOKER
geometry_distance_box FUNCTION C true double precision INVOKER
st_isvalidtrajectory FUNCTION C true boolean INVOKER

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

gbt_int4_distance FUNCTION C true double precision INVOKER
st_multipointfromtext FUNCTION SQL true geometry INVOKER
st_coorddim FUNCTION C true smallint INVOKER

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

gbt_cash_compress FUNCTION C true internal INVOKER
st_force4d FUNCTION C true geometry INVOKER

args: geomA - Force the geometries into XYZM mode.

st_linetocurve FUNCTION C true geometry INVOKER

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

interval_dist FUNCTION C true interval INVOKER
gbt_int4_union FUNCTION C true gbtreekey8 INVOKER
postgis_libxml_version FUNCTION C true text INVOKER

Returns the version number of the libxml2 library.

geometry_spgist_choose_3d FUNCTION C true void INVOKER
gbt_macad_consistent FUNCTION C true boolean INVOKER
geography_lt FUNCTION C true boolean INVOKER
gbt_intv_distance FUNCTION C true double precision INVOKER
st_closestpointofapproach FUNCTION C true double precision INVOKER

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

st_ispolygonccw FUNCTION C true boolean INVOKER

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

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

st_normalize FUNCTION C true geometry INVOKER

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

gbt_int8_consistent FUNCTION C true boolean INVOKER
st_concavehull 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.

geometry_gist_decompress_2d FUNCTION C false internal INVOKER
gbt_date_penalty FUNCTION C true internal INVOKER
gbt_numeric_same FUNCTION C true internal INVOKER
_st_overlaps FUNCTION C true boolean INVOKER
st_endpoint FUNCTION C true geometry INVOKER

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

st_longestline FUNCTION SQL true geometry INVOKER

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

gbt_text_compress FUNCTION C true internal INVOKER
soundex FUNCTION C true text INVOKER
geometry_spgist_choose_2d FUNCTION C true void INVOKER
postgis_noop FUNCTION C true geometry INVOKER
gbt_macad8_compress FUNCTION C true internal INVOKER
st_force3d FUNCTION C true geometry INVOKER

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

st_relate FUNCTION C true text INVOKER
gbt_date_consistent FUNCTION C true boolean INVOKER
gbt_bytea_picksplit FUNCTION C true internal INVOKER
strict_word_similarity_dist_op FUNCTION C true real INVOKER
st_quantizecoordinates FUNCTION C true geometry INVOKER

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

_postgis_deprecate FUNCTION PLPGSQL true void INVOKER
gbt_date_fetch FUNCTION C true internal INVOKER
st_delaunaytriangles FUNCTION C true geometry INVOKER

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

gbt_oid_compress FUNCTION C true internal INVOKER
gbt_cash_penalty FUNCTION C true internal INVOKER
gbt_uuid_consistent FUNCTION C true boolean INVOKER
st_flipcoordinates 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_minimumboundingradius FUNCTION C true record INVOKER

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

st_multipointfromwkb FUNCTION SQL true geometry INVOKER
gbtreekey4_in FUNCTION C true gbtreekey4 INVOKER
st_makeline AGGREGATE INTERNAL true geometry INVOKER

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

gbtreekey4_out FUNCTION C true cstring INVOKER
st_boundingdiagonal FUNCTION C true geometry INVOKER

args: geom, fits=false - Returns the diagonal of a geometrys bounding box.

gtrgm_in FUNCTION C true gtrgm INVOKER
cash_dist FUNCTION C true money INVOKER
st_envelope FUNCTION C true geometry INVOKER

args: g1 - Returns a geometry representing the bounding box of a geometry.

st_minimumclearanceline FUNCTION C true geometry INVOKER

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

_st_expand FUNCTION C true geography INVOKER
st_gmltosql FUNCTION SQL true geometry INVOKER
similarity_op FUNCTION C false boolean INVOKER
st_zmflag FUNCTION C true smallint INVOKER

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

st_3dmakebox FUNCTION C true box3d INVOKER

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

postgis_lib_version FUNCTION C true text INVOKER

Returns the version number of the PostGIS library.

st_linestringfromwkb FUNCTION SQL true geometry INVOKER
gbt_int2_compress FUNCTION C true internal INVOKER
gbt_macad_union FUNCTION C true gbtreekey16 INVOKER
gbt_int4_consistent FUNCTION C true boolean INVOKER
st_forcesfs FUNCTION C true geometry INVOKER

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

st_voronoipolygons FUNCTION SQL true geometry INVOKER

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

geometry_overleft FUNCTION C true boolean INVOKER
gbt_float8_compress FUNCTION C true internal INVOKER
st_isvaliddetail 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.

postgis_full_version FUNCTION PLPGSQL true text INVOKER

Reports full postgis version and build configuration infos.

geometry_analyze FUNCTION C false boolean INVOKER
gbt_macad8_consistent FUNCTION C true boolean INVOKER
st_asgeobuf AGGREGATE INTERNAL true bytea INVOKER
gbt_int2_union FUNCTION C true gbtreekey4 INVOKER
st_exteriorring FUNCTION C true geometry INVOKER

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

gbt_int8_fetch FUNCTION C true internal INVOKER
geography_cmp FUNCTION C true integer INVOKER
st_geomfromgml FUNCTION C true geometry INVOKER
st_isvalid FUNCTION C true boolean INVOKER

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

gbt_float4_picksplit FUNCTION C true internal INVOKER
gbt_text_consistent FUNCTION C true boolean INVOKER
st_multilinefromwkb FUNCTION SQL true geometry INVOKER
geometry_gist_compress_nd FUNCTION C false internal INVOKER
postgis_typmod_srid FUNCTION C true integer INVOKER
strict_word_similarity FUNCTION C true real INVOKER
_st_within FUNCTION SQL true boolean INVOKER
gbt_bpchar_compress FUNCTION C true internal INVOKER
st_voronoilines 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.

addauth FUNCTION PLPGSQL false boolean INVOKER

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

bytea FUNCTION C true bytea INVOKER
gbt_float8_same FUNCTION C true internal INVOKER
gtrgm_decompress FUNCTION C true internal INVOKER
st_closestpoint 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.

gbt_ts_picksplit FUNCTION C true internal INVOKER
gbt_float8_fetch FUNCTION C true internal INVOKER
_postgis_pgsql_version FUNCTION SQL false text INVOKER
st_maxdistance FUNCTION SQL true double precision INVOKER

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

gbt_date_compress FUNCTION C true internal INVOKER
geography_le FUNCTION C true boolean INVOKER
st_split FUNCTION C true geometry INVOKER

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

similarity FUNCTION C true real INVOKER
box3d_out FUNCTION C true cstring INVOKER
find_srid FUNCTION PLPGSQL false integer INVOKER

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