geos.GEOSGetSRID ⇒ number
⏏
Returns the Spatial Reference System ID (SRID) of a geometry.
Kind: Exported member
Returns: number
- The SRID of the geometry, or 0 if not set.
Param | Type | Description |
---|---|---|
g | number | A pointer to a GEOSGeometry object. |
geos.GEOSGetSRID_r ⇒ number
⏏
Returns the Spatial Reference System ID (SRID) of a geometry in a thread-safe manner.
Kind: Exported member
Returns: number
- The SRID of the geometry, or 0 if not set.
Param | Type | Description |
---|---|---|
handle | number | A pointer to a GEOSContextHandle_t object. |
g | number | A pointer to a GEOSGeometry object. |