Geometry Output


func.ST_GeoHash

Return a GeoHash representation (http://en.wikipedia.org/wiki/Geohash) of the geometry

func.ST_AsX3D

Returns a geometry as an X3D xml formatted node element

func.ST_AsSVG

Return the geometry as Scalar Vector Graphics (SVG) path data

func.ST_AsTWKB

Returns the geometry in TWKB (Tiny Well-Known Binary) format

func.ST_AsLatLonText

Returns the Degrees, Minutes, Seconds representation of the point

func.ST_AsKML

Return the geometry as a Keyhole Markup Language (KML) element

func.ST_AsGML

Return the geometry as a Geography Markup Language (GML) element

func.ST_AsGeoJSON

Return the geometry as a GeoJSON "geometry" object, or the row as a GeoJSON "feature" object

func.ST_AsEncodedPolyline

Returns the geometry as an Encoded Polyline

func.ST_AsHEXEWKB

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

func.ST_AsEWKB

Returns the Well-Known Binary representation of the geometry with SRID metadata

func.ST_AsBinary

Returns the Well-Known Binary representation of the geometry

func.ST_AsText

Returns the Well-Known Text representation of the geometry/geography

func.ST_AsEWKT

Returns the Well-Known Text representation of the geometry prefixed with the SRID

Last modified April 06, 2022 at 10:08 AM EST: Initial Documentation Commit (371ae8f)