For backward compability, an additional variable (eg. GDAL_DMD_EXTENSION_ALT or something like that) could be added with a specified format.
- Oyvind On Tue, Feb 19, 2013 at 6:39 PM, Etienne Tourigny <etourigny....@gmail.com>wrote: > It would be nice to be able to specify many extensions in a > comma-separated list such as "nc,cdf,nc4". It can probably be done > (metadata is just a string), but isn't standard. > > The Gdal driver tutorial states: > GDAL_DMD_EXTENSION: The extension used for files of this type. If more > than one pick the primary extension, or none at all. (optional) > > It could be beneficial to extend this definition for multiple > extensions separated by comma. > > cheers > Etienne > > On Tue, Feb 19, 2013 at 11:26 AM, Frank Warmerdam <warmer...@pobox.com> > wrote: > > I am not aware of a way to list multiple extensions. > > > > Best regards, > > > > On Feb 19, 2013 2:15 AM, "Oyvind Idland" <oyvind.idl...@gmail.com> > wrote: > >> > >> Is it possible to specify multiple file extensions in > GDAL_DMD_EXTENSION ? > >> > >> I ask because I am working on a driver for a format that has several > known > >> file extensions. > >> > >> > >> - Oyvind > >> > >> _______________________________________________ > >> gdal-dev mailing list > >> gdal-dev@lists.osgeo.org > >> http://lists.osgeo.org/mailman/listinfo/gdal-dev > > > > > > _______________________________________________ > > gdal-dev mailing list > > gdal-dev@lists.osgeo.org > > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev