You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current code uses GEOSContext_setNoticeMessageHandler_r and GEOSContext_setErrorMessageHandler_r in CPL_geos_is_valid. These functions were only added to the geos C api in version 3.5, as such they cause a compiler error for older versions (I believe geos 3.3 and above are supported by sf).
Something like #if GEOS_VERSION_MAJOR >= 3 && GEOS_VERSION_MINOR >= 5 for the offending lines should correct the issue. I would create a pull request but I'm not 100% sure on what the correct behavior should be for geos <3.5.
The text was updated successfully, but these errors were encountered:
Current code uses
GEOSContext_setNoticeMessageHandler_r
andGEOSContext_setErrorMessageHandler_r
inCPL_geos_is_valid
. These functions were only added to the geos C api in version 3.5, as such they cause a compiler error for older versions (I believe geos 3.3 and above are supported by sf).Something like
#if GEOS_VERSION_MAJOR >= 3 && GEOS_VERSION_MINOR >= 5
for the offending lines should correct the issue. I would create a pull request but I'm not 100% sure on what the correct behavior should be for geos <3.5.The text was updated successfully, but these errors were encountered: