[gdal-dev] Multiple extensions in GDAL_DMD_EXTENSION ?

Oyvind Idland oyvind.idland at gmail.com
Tue Feb 19 09:54:13 PST 2013


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.dev at 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 <warmerdam at 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.idland at 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 at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/gdal-dev
> >
> >
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130219/be09a686/attachment.html>


More information about the gdal-dev mailing list