People *usually* want a list of extensions so they can automatically

> categorize the format of files on disk or to filter to only show
> extensions they think GDAL supports.  I find this practice abhorrent!
>  GDAL is based on the idea that file formats are discovered by
> inspecting file contents rather than based on extension and I don't
> want to make it too easy for applications to ignore this principle and
> revert to extensions.
>
>
In this case, its about filtering files in a GUI.

I agree that its probably a good idea to keep GDAL_DMD_EXTENSION as it is
(preferred extension),
and add GDAL_DMD_EXTENSION_LIST as alternative filtering options.

And, of course documenting the intention of these, and the behaviour in
GDAL's file probing.


- Oyvind
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to