GeoSpatial Functions
Aggregations
ST_Union(geometry[] g1_array) → Geometry
Constructors
ST_GeomFromText(String wkt) → Geometry
ST_GeomFromWKB(bytes wkb) → Geometry
ST_Point(double x, double y) → Point
ST_Polygon(String wkt) → Polygon
ST_GeogFromWKB(bytes wkb) → Geography
ST_GeogFromText(String wkt) → Geography
Measurements
ST_Area(Geometry/Geography g) → double
ST_Distance(Geometry/Geography g1, Geometry/Geography g2) → double
ST_GeometryType(Geometry g) → String
Outputs
ST_AsBinary(Geometry/Geography g) → bytes
ST_AsText(Geometry/Geography g) → string
Conversion
toSphericalGeography(Geometry g) → Geography
toGeometry(Geography g) → Geometry
Relationship
ST_Contains(Geometry/Geography, Geometry/Geography) → boolean
ST_Equals(Geometry, Geometry) → boolean
ST_Within(Geometry, Geometry) → boolean
Last updated
Was this helpful?

