<div dir="ltr"><div>Even,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 4, 2020 at 3:40 AM Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Sean,<br>
<br>
What GDN stands for: GDAL Dataset Name ?<br></blockquote><div><br></div><div>Yes. I just made that up on the spot. Think of it as a GDAL or FOSS4G specific namespace. Until now, GDAL has been using symbols like WFS: and HDF5: in the global namespace, which causes problems for interoperability.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> The URN or GDN version might look something like the thing below, using ?+<br>
> and ?= [3] to identify vsi and driver option sections<br>
> <br>
> gdn:curl:csv:<br>
> <a href="http://example.com/foo.csv?a=1&b=2?+max_retry=5?=autodetect_type=yes&keep_geom_colu" rel="noreferrer" target="_blank">example.com/foo.csv?a=1&b=2?+max_retry=5?=autodetect_type=yes&keep_geom_colu</a><br>
> mns=no<br>
<br>
The http or https protocol should be captured too.<br>
<br>
> Bringing a little more order to how we name and address datasets was on my<br>
> todo list at the start of the year, but then 2020 went into a spiral. I<br>
> don't think rasterio's "zip+s3" etc approach is the best.<br>
<br>
I see fsspec has a syntax for chaining filesystems in<br>
<a href="https://filesystem-spec.readthedocs.io/en/latest/features.html#url-chaining" rel="noreferrer" target="_blank">https://filesystem-spec.readthedocs.io/en/latest/features.html#url-chaining</a></blockquote><div><br></div><div>Yes, I recognized this as being a different approach to a similar problem we have in GDAL: data files that can be accessed with different layers of optional protocols.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Another particularity we have in GDAL is that the dataset name might be almost <br>
anything. Most of the time, it is a regular file path, or some /vsi path. But <br>
sometimes, it can be JSON content (the GeoJSON driver accepts the content to <br>
be directly provided as the dataset name), or XML (VRT, WMS drivers).<br>
We have also the subdataset syntax "HDF5:foo.hdf:my_variable"<br></blockquote><div><br></div><div>Could VRT XML and JSON be exempted? We already have a way to embed open options in the XML. </div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Sean Gillies</div></div></div>