Expand description
I/O and serialization functions.
ST_AsText, ST_AsEWKT, ST_AsBinary, ST_AsEWKB, ST_AsGeoJSON, ST_GeomFromText, ST_GeomFromWKB, ST_GeomFromEWKB, ST_GeomFromGeoJSON
Functionsยง
- as_
binary - Convert an EWKB blob to ISO WKB bytes (strips SRID).
- as_ewkb
- Return the EWKB blob as-is (identity for well-formed input).
- as_ewkt
- Convert an EWKB blob to EWKT text (
SRID=n;WKT). - as_
geojson - Convert an EWKB blob to GeoJSON text.
- as_text
- Convert an EWKB blob to WKT text.
- geom_
from_ ewkb - Validate and pass through an EWKB blob without rewriting bytes.
- geom_
from_ geojson - Parse a GeoJSON string into an EWKB blob (SRID = 4326 by default, per spec).
- geom_
from_ text - Parse WKT (optionally with an SRID) into an EWKB blob.
- geom_
from_ wkb - Parse ISO WKB bytes (optionally override SRID) into an EWKB blob.