Skip to content

geos.GEOSContext_setErrorHandler_r ⇒ GEOSMessageHandler

Set the notice handler callback function for run-time error messages.

Kind: global property of geos
Returns: GEOSMessageHandler - the previously configured message handler or NULL if no message handler was configured

ParamTypeDescription
extHandleGEOSContextHandle_tthe GEOS context from GEOS_init_r
efGEOSMessageHandlerthe handler callback

geos.GEOSContext_setErrorMessageHandler_r ⇒ GEOSMessageHandler_r

Sets an error message handler on the given GEOS context.

Kind: global property of geos
Returns: GEOSMessageHandler_r - the previously configured message handler or NULL if no message handler was configured

ParamTypeDescription
extHandleGEOSContextHandle_tthe GEOS context
efGEOSMessageHandler_rthe message handler
userDataPointeroptional user data pointer that will be passed to the message handler

geos.GEOSContext_setNoticeHandler_r ⇒ GEOSMessageHandler

Set the notice handler callback function for run-time notice messages.

Kind: global property of geos
Returns: GEOSMessageHandler - the previously configured message handler or NULL if no message handler was configured

ParamTypeDescription
extHandleGEOSContextHandle_tthe context returned by GEOS_init_r.
nfGEOSMessageHandlerthe handler callback

geos.GEOSContext_setNoticeMessageHandler_r ⇒ GEOSMessageHandler_r

Sets a notice message handler on the given GEOS context.

Kind: global property of geos
Returns: GEOSMessageHandler_r - the previously configured message handler or NULL if no message handler was configured

ParamTypeDescription
extHandleGEOSContextHandle_tthe GEOS context from GEOS_init_r
nfGEOSMessageHandler_rthe message handler
userDataPointeroptional user data pointer that will be passed to the message handler