cogeotiff / rio-cogeo

Cloud Optimized GeoTIFF creation and validation plugin for rasterio
https://cogeotiff.github.io/rio-cogeo/
BSD 3-Clause "New" or "Revised" License
315 stars 42 forks source link

allow external config for cog_validate #206

Closed vincentsarago closed 3 years ago

vincentsarago commented 3 years ago

Before we were forcing GDAL_DISABLE_READDIR_ON_OPEN=FALSE for validation. With this PR we let the user decide what env to set.

TODO

cc @JoakimJoensuu

JoakimJoensuu commented 3 years ago

Just tried it on my project. Works like a charm!