[gdal-dev] Call for discussion on RFC 70: Guessing output format from output file name extension

Even Rouault even.rouault at spatialys.com
Thu Nov 9 13:01:46 PST 2017


On samedi 19 août 2017 22:49:19 CET Even Rouault wrote:
> Hi,
> 
> This is a call for discussion on:
> https://trac.osgeo.org/gdal/wiki/rfc70_output_format_guess
> 
> Summary:
> This proposal is to add syntaxic sugar to make GDAL and OGR command line
> utilities, so they take into account the extension of the output filename to
> guess which output driver to use, when it is not explicitly specified.
> 

I've found some time to do the initial implementation (for C++ utilities now):
https://github.com/rouault/gdal2/tree/rfc70

It went mostly along my initial ideas.

I've also updated the RFC text to reflect a change in behaviour w.r.t my initial ideas:
"""
When several drivers declare this extension (for example KML and LIBKML for .kml), the 
utility will select the first registered driver (except netCDF instead of GMT for .nc files), and a 
warning is emitted specifying which driver is used
"""

If there are no further comment, I'll call for a vote next week.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171109/f8bc6555/attachment.html>


More information about the gdal-dev mailing list