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

◆ geo_as_geojson()

char * geo_as_geojson ( const GSERIALIZED gs,
int  option,
int  precision,
const char *  srs 
)

Return the GeoJSON representation of a geometry/geography.

Parameters
[in]gsGeometry/geography
[in]optionOption
[in]precisionMaximum number of decimal digits
[in]srsSpatial reference system
Note
PostGIS function: LWGEOM_asGeoJson(PG_FUNCTION_ARGS)