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
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
