[gdal-dev] Issue with sub-dataset suffix

Even Rouault even.rouault at spatialys.com
Fri Jul 21 15:35:20 PDT 2023


>
> This seems like a bug. It should still be able to recognize and open 
> the file without the type hint, whether or not you provide a 
> sub-dataset suffix.
This is not a bug. This is intended. Subdatasets have a specific syntax. 
Valid subdataset names are the ones reported under the SUBDATASET 
metadata domain.
>
> Our system generally relies heavily on GDAL's usually-reliable ability 
> to recognize file types and load anything without such hints, so 
> having to provide that as well will be undesirable.
This is generally true for the first level of access to a file, but once 
you want a specific part (name it "variable", etc), you have to comply 
with the nomenclature of each driver.
>
> -- 
> Simon Eves
> Senior Rendering Engineer
> +1 (415) 902-1996
> simon.eves at heavy.ai
>
> <http://www.heavy.ai>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230722/b32ca4bf/attachment.htm>


More information about the gdal-dev mailing list