VUEG / priocomp

Data processing and analytics code for project "SP2: Comparing spatial prioritization methods for biodiversity conservation and ecosystem service supply in Europe"
MIT License
1 stars 2 forks source link

GDAL 2.1.0 breaks things #7

Open jlehtoma opened 8 years ago

jlehtoma commented 8 years ago

Updating to to gdal and libgdal 2.1.0 breaks rule harmonize_data as gdalwarp -cutline no longer accepts features with invalid geometry. E.g. NUTS level 0 shapefile contains self-intersections. Solutions:

  1. Freeze to GDAL 2.0.0 (done for now)
  2. Somehow fix the geometries
  3. Ignore invalid geometries (not sure if possible)