|
◆ 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] | gs | Geometry/geography |
[in] | option | Option |
[in] | precision | Maximum number of decimal digits |
[in] | srs | Spatial reference system |
- Note
- PostGIS function:
LWGEOM_asGeoJson(PG_FUNCTION_ARGS)
|