<div dir="ltr">Hi Rob,<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 10, 2018 at 7:39 AM Robert Coup <<a href="mailto:robert.coup@koordinates.com">robert.coup@koordinates.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi all,<div><br></div><div>Wondering about being able to set CPL_VSIL_CURL_ALLOWED_EXTENSIONS on a specific dataset rather than as a global option. This would allow opening multiple files in the same process without needing to manage setting & resetting configuration contexts.</div></div></div></blockquote><div><br></div><div><div class="gmail_quote"><div>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<br></div><div><br></div><div>  <a href="https://rasterio.readthedocs.io/en/latest/topics/configuration.html#gdal-example" target="_blank">https://rasterio.readthedocs.io/en/latest/topics/configuration.html#gdal-example</a><br></div><div><br></div><div>I'm not a voter, but would be unhappy if we added this kind of option to GDAL's paths. The syntax is already quite complex.</div><div><br></div><div>The open options approach is reasonable, if not easy to do.</div></div></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Sean Gillies</div></div></div>