eblondel / cleangeo

Cleaning geometries from spatial objects in R
https://github.com/eblondel/cleangeo/wiki
44 stars 2 forks source link

Handle GEOS exceptions (errors) #16

Closed eblondel closed 7 years ago

eblondel commented 7 years ago

Most of geometry validity issues are raised as warnings invoking gIsValid function. In case of errors (essentially due to GEOS exceptions, e.g. IllegalArgumentExceptions), clgeo_Clean stops and returns the GEOS error. To investigate (with data shared in #16)