MobilityDB 1.3
Loading...
Searching...
No Matches
Functions

Input and output functions for static geometries. More...

Functions

uint8_t * geo_as_ewkb (const GSERIALIZED *gs, const char *endian, size_t *size)
 Return the Extended Well-Known Binary (EWKB) representation of a geometry/geography. More...
 
char * geo_as_ewkt (const GSERIALIZED *gs, int precision)
 Return the Extended Well-Known Text (EWKT) representation of a geometry/geography. More...
 
char * geo_as_geojson (const GSERIALIZED *gs, int option, int precision, const char *srs)
 Return the GeoJSON representation of a geometry/geography. More...
 
char * geo_as_hexewkb (const GSERIALIZED *gs, const char *endian)
 Return the ASCII hex-encoded Well-Known Binary (HexWKB) representation of a geometry/geography. More...
 
char * geo_as_text (const GSERIALIZED *gs, int precision)
 Return the Well-Known Text (WKT) representation of a geometry/geography. More...
 
GSERIALIZEDgeo_from_ewkb (const uint8_t *wkb, size_t wkb_size, int32 srid)
 Return a geometry/geography from its EWKB representation. More...
 
GSERIALIZEDgeo_from_geojson (const char *geojson)
 Return a geometry/geography from its GeoJSON representation. More...
 
GSERIALIZEDgeo_from_text (const char *wkt, int32_t srid)
 Return a geometry/geography from its WKT representation (and optionally a SRID) More...
 
char * geo_out (const GSERIALIZED *gs)
 Return the ASCII hex-encoded Well-Known Binary (HexWKB) representation of a geometry/geography. More...
 
GSERIALIZEDgeog_from_binary (const char *wkb_bytea)
 Return a geography from its binary representation. More...
 
GSERIALIZEDgeog_from_hexewkb (const char *wkt)
 Return a geography from its ASCII hex-encoded Well-Known Binary (HexEWKB) representation. More...
 
GSERIALIZEDgeog_in (const char *str, int32 typmod)
 Return a geography from its Well-Known Text or Binary (WKT or Binary) representation. More...
 
GSERIALIZEDgeom_from_hexewkb (const char *wkt)
 Return a geometry from its ASCII hex-encoded Well-Known Binary (HexEWKB) representation. More...
 
GSERIALIZEDgeom_in (const char *str, int32 typmod)
 Return a geometry from its Well-Known Text (WKT), Well-Known Binary (WKB) or GeoJSON representation. More...
 

Detailed Description

Input and output functions for static geometries.