Skip to content

geos.GEOSWKBReader_create_r ⇒ GEOSWKBReader ⏏ ​

Allocate a new GEOSWKBReader.

Kind: global property of geos
Returns: GEOSWKBReader - a new reader. Caller must free with GEOSWKBReader_destroy()

ParamTypeDescription
handleGEOSContextHandle_t-

geos.GEOSWKBReader_destroy ⇒ null ⏏ ​

Free the memory associated with a GEOSWKBReader.

Kind: global property of geos
Returns: null - void

ParamTypeDescription
readerGEOSWKBReaderThe reader to destroy.

geos.GEOSWKBReader_destroy_r ⇒ null ⏏ ​

Free the memory associated with a GEOSWKBReader.

Kind: global property of geos
Returns: null - void

ParamTypeDescription
handleGEOSContextHandle_t-
readerGEOSWKBReaderThe reader to destroy.

geos.GEOSWKBReader_read ⇒ GEOSGeometry ⏏ ​

Read a geometry from a well-known binary buffer.

Kind: global property of geos
Returns: GEOSGeometry - A GEOSGeometry built from the WKB, or NULL on exception.

ParamTypeDescription
readerGEOSWKBReaderA GEOSWKBReader
wkbPointerA pointer to the buffer to read from
sizenumberThe number of bytes of data in the buffer

geos.GEOSWKBReader_readHEX ⇒ GEOSGeometry ⏏ ​

Read a geometry from a hex encoded well-known binary buffer.

Kind: global property of geos
Returns: GEOSGeometry - A GEOSGeometry built from the HEX WKB, or NULL on exception.

ParamTypeDescription
readerGEOSWKBReaderA GEOSWKBReader
hexPointerA pointer to the buffer to read from
sizenumberThe number of bytes of data in the buffer

geos.GEOSWKBReader_readHEX_r ⇒ GEOSGeometry ⏏ ​

Read a geometry from a hex encoded well-known binary buffer.

Kind: global property of geos
Returns: GEOSGeometry - A GEOSGeometry built from the HEX WKB, or NULL on exception.

ParamTypeDescription
handleGEOSContextHandle_t-
readerGEOSWKBReaderA GEOSWKBReader
hexPointerA pointer to the buffer to read from
sizenumberThe number of bytes of data in the buffer

geos.GEOSWKBReader_read_r ⇒ GEOSGeometry ⏏ ​

Read a geometry from a well-known binary buffer.

Kind: global property of geos
Returns: GEOSGeometry - A GEOSGeometry built from the WKB, or NULL on exception.

ParamTypeDescription
handleGEOSContextHandle_t-
readerGEOSWKBReaderA GEOSWKBReader
wkbPointerA pointer to the buffer to read from
sizenumberThe number of bytes of data in the buffer

geos.GEOSWKBReader_setFixStructure ⇒ null ⏏ ​

Set the reader to automatically repair structural errors in the input (currently just unclosed rings) while reading.

Kind: global property of geos
Returns: null - void

ParamTypeDescription
readerGEOSWKBReaderA WKB reader object, caller retains ownership
doFixnumberSet to 1 to repair, 0 for no repair (default).

geos.GEOSWKBReader_setFixStructure_r ⇒ null ⏏ ​

Set the reader to automatically repair structural errors in the input (currently just unclosed rings) while reading.

Kind: global property of geos
Returns: null - void

ParamTypeDescription
handleGEOSContextHandle_t-
readerGEOSWKBReaderA WKB reader object, caller retains ownership
doFixnumberSet to 1 to repair, 0 for no repair (default).