[gdal-dev] vsis3/vsicurl allowed-extensions per path?
Sean Gillies
sean at mapbox.com
Wed Oct 10 08:58:03 PDT 2018
Hi Rob,
On Wed, Oct 10, 2018 at 7:39 AM Robert Coup <robert.coup at koordinates.com>
wrote:
> Hi all,
>
> 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.
>
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'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.
The open options approach is reasonable, if not easy to do.
--
Sean Gillies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20181010/93a7b965/attachment.html>
More information about the gdal-dev
mailing list