Skip to content
On this page

geos.GEOSGeoJSONReader_create ⇒ number

Creates a GeoJSON reader object.

Kind: Exported member
Returns: number - A pointer to a GEOSGeoJSONReader object, or NULL on error.
See: https://libgeos.org/doxygen/geos__c_8h.html#a6a9f3f0b6c7a4a1d1f5c0e2b2a8f9b4d


geos.GEOSGeoJSONReader_create_r ⇒ number

Creates a GeoJSON reader object.

Kind: Exported member
Returns: number - A pointer to a GEOS GeoJSON reader object, or NULL on error.
See: GEOS C header file

ParamTypeDescription
ctxnumberA pointer to a GEOS context handle.

geos.GEOSGeoJSONReader_destroy ⇒ void

Destroys a GeoJSON reader object and releases any allocated resources.

Kind: Exported member
See: https://libgeos.org/doxygen/geos__c_8h.html#a0f7a9a6c0b4f1e5b7f2c3a1d3e4d8a9f

ParamTypeDescription
readernumberA pointer to a GEOSGeoJSONReader object.

geos.GEOSGeoJSONReader_destroy_r ⇒ void

Destroys a GEOSGeoJSONReader object.

Kind: Exported member
See: https://libgeos.org/doxygen/geos__c_8h.html#a7f9a4b0e2c9b3a1f1d7a9c6d3f0b5e8a

ParamTypeDescription
ctxnumberA pointer to a GEOS context handle.
readernumberA pointer to a GEOSGeoJSONReader object.

geos.GEOSGeoJSONReader_readGeometry ⇒ number

Reads a geometry from a GeoJSON string.

Kind: Exported member
Returns: number - A pointer to a GEOS geometry object representing the GeoJSON geometry, or NULL on error.
See: https://libgeos.org/doxygen/geos__c_8h.html#a0f2a9b4a3b2b6d1c7f0a5e7f1c8f9d5a

ParamTypeDescription
readernumberA pointer to a GEOSGeoJSONReader object.
geojsonstringA string containing a valid GeoJSON geometry object.

geos.GEOSGeoJSONReader_readGeometry_r ⇒ number

Reads a geometry from a GeoJSON string.

Kind: Exported member
Returns: number - A pointer to a GEOS geometry object, or NULL on error or empty input.
See: https://libgeos.org/doxygen/geos__c_8h.html#a9f6a1c0e8f5a3b4c7b3d0f7f2c9a4e8f

ParamTypeDescription
ctxnumberA pointer to a GEOS context handle.
readernumberA pointer to a GEOSGeoJSONReader object.
geojsonstringA GeoJSON string representing a geometry.