GlacioHack / geoutils

Analysis of georeferenced rasters and vectors
https://geoutils.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
82 stars 19 forks source link

Consolidate a function that can open either a raster or vector with error handling #595

Open rhugonnet opened 1 month ago

rhugonnet commented 1 month ago

Currently these functions are coded redundantly in different places + they use specific exceptions (Fiona, PyOGRIO, etc) which are not generic enough. Fiona exceptions were replaced in #593 and https://github.com/GlacioHack/xdem/pull/559 in favor of PyOGRIO because Fiona is not the default dependency of GeoPandas anymore.