Hi Sean, Configuration management doesn't have to be so bad. I have an example of > how to do Rasterio-style configuration contexts, including reset, using > GDAL's Python bindings at > > > https://rasterio.readthedocs.io/en/latest/topics/configuration.html#gdal-example >
(I love context managers) How does it handle multiple open datasets with different configurations though? AFAIK underneath there's only one per-thread config in GDAL, not one per dataset? Or does it push/pop configurations every time you call the underlying GDAL functions? Cheers, Rob :)
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev