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

◆ geom_in()

GSERIALIZED * geom_in ( const char *  str,
int32  typmod 
)

Return a geometry from its Well-Known Text (WKT), Well-Known Binary (WKB) or GeoJSON representation.

The format is '[SRID=#;]wkt|wkb'. Examples of input are as follows:

'SRID=99;POINT(0 0)'
'POINT(0 0)' --> assumes SRID=SRID_UNKNOWN
'SRID=99;0101000000000000000000F03F000000000000004'
'0101000000000000000000F03F000000000000004'
'{"type":"Point","coordinates":[1,1]}'
Parameters
[in]strString
[in]typmodTypmod
Note
PostGIS function: LWGEOM_in(PG_FUNCTION_ARGS)