geos.GEOSGeoJSONReader_create_r ⇒ GEOSGeoJSONReader ⏏
Allocate a new GEOSGeoJSONReader.
Kind: global property of geos
Returns: GEOSGeoJSONReader - a new reader. Caller must free with GEOSGeoJSONReader_destroy()
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
geos.GEOSGeoJSONReader_destroy ⇒ null ⏏
Free the memory associated with a GEOSGeoJSONReader.
Kind: global property of geos
Returns: null - void
| Param | Type | Description |
|---|---|---|
| reader | GEOSGeoJSONReader | The reader to destroy. |
geos.GEOSGeoJSONReader_destroy_r ⇒ null ⏏
Free the memory associated with a GEOSGeoJSONReader.
Kind: global property of geos
Returns: null - void
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| reader | GEOSGeoJSONReader | The reader to destroy. |
geos.GEOSGeoJSONReader_readGeometry ⇒ GEOSGeometry ⏏
Use a reader to parse a GeoJSON string. A single geometry or Feature is parsed as a geometry. A FeatureCollection is parsed as a GeometryCollection. Feature properties are not read.
Kind: global property of geos
Returns: GEOSGeometry - A GEOSGeometry, caller to free with GEOSGeom_destroy())
| Param | Type | Description |
|---|---|---|
| reader | GEOSGeoJSONReader | A GeoJSON reader object, caller retains ownership |
| geojson | StringPointer | The json string to parse, caller retains ownership |
geos.GEOSGeoJSONReader_readGeometry_r ⇒ GEOSGeometry ⏏
Kind: global property of geos
Returns: GEOSGeometry - GEOSGeometry*
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| reader | GEOSGeoJSONReader | - |
| geojson | StringPointer | - |