geos.GEOSWKTReader_create ⇒ number
⏏
Creates a new GEOSWKTReader object.
Kind: Exported member
Returns: number
- A pointer to a GEOSWKTReader object, or NULL on error.
See: https://libgeos.org/doxygen/geos__c_8h.html
geos.GEOSWKTReader_create_r ⇒ number
⏏
Creates a new GEOSWKTReader object. Thread-safe version.
Kind: Exported member
Returns: number
- A pointer to a GEOSWKTReader object, or NULL on error.
See: https://libgeos.org/doxygen/geos__c_8h.html
Param | Type | Description |
---|---|---|
handle | number | A pointer to a GEOSContextHandle object. |
geos.GEOSWKTReader_destroy ⏏
Destroys a GEOSWKTReader object and releases its memory.
Kind: Exported member
Param | Type | Description |
---|---|---|
reader | number | A pointer to a GEOSWKTReader object. |
geos.GEOSWKTReader_destroy_r ⇒ null
⏏
Destroys a GEOSWKTReader object.
Kind: Exported member
See: GEOSWKTReader_destroy_r
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
reader | number | The pointer to the GEOSWKTReader object. |
geos.GEOSWKTReader_read ⇒ number
⏏
Reads a WKT string and returns a GEOSGeometry object.
Kind: Exported member
Returns: number
- The pointer to the GEOSGeometry object or null if an error occurred.
Throws:
ParseError
If the WKT string is invalid or cannot be parsed.
See: GEOSWKTReader_read_r
Param | Type | Description |
---|---|---|
reader | number | The pointer to the GEOSWKTReader object. |
wkt | number | The WKT string pointer to read. |
geos.GEOSWKTReader_read_r ⇒ number
⏏
Reads a WKT string and returns a GEOSGeometry object.
Kind: Exported member
Returns: number
- The pointer to the GEOSGeometry object or null if an error occurred.
Throws:
ParseError
If the WKT string is invalid or cannot be parsed.
See: GEOSWKTReader_read_r
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
reader | number | The pointer to the GEOSWKTReader object. |
wkt | number | The WKT string pointer to read. |