r-spatial / discuss

a discussion repository: raise issues, or contribute!
54 stars 12 forks source link

Vector geometry invalidity/frailty exposed as unrelated bugs fixed in GEOS and GDAL #27

Open rsbivand opened 5 years ago

rsbivand commented 5 years ago

Ongoing changes in vector geometry validity handling in GEOS and GDAL drivers used in R packages sf, rgdal and rgeos have led to unexpected changes or failures in R workflows and packages using these packages. Operations which previously appeared to succeed now fail, either noisily (good) or silently (bad).

Shapefile affected: ESRI Shapefile driver not roundtripping in edge case

Intersection affected: GEOS 3.7.1 to 3.7.2 tightening of validity needed for operations

Plotting in tmap affected: tm_graticules() does not work for some cases

lidR problem with class inheritance

MODIS getTile() sp subset or raster::crop issues with PROJ 6.1 and GDAL 3.0

inlmisc Possible GEOS version vulnerability (3.7.2)

This issue is based on https://github.com/rsbivand/geostat19_talk; https://rsbivand.github.io/geostat19_talk/Discuss_issue_drafts.html