[gdal-dev] Call for discussion on RFC 70: Guessing output format from output file name extension
even.rouault at spatialys.com
Fri Nov 10 04:46:26 PST 2017
On vendredi 10 novembre 2017 13:40:32 CET Mark Johnson wrote:
> > ogr2ogr output.gpkg input.shp Where would you read the Magic-Headers in
> > this case?
> Before the input file is opened.
Mark, this RFC is about *non existing yet output* files (can't think how to make its
title clearer :-)), so there's nothing to read. The only thing that can be used to
guess the appropriate output driver is the filename.
What you describe is what has been implement since 19 years in GDAL to figure
out which input driver matches an existing file ;-)
Spatialys - Geospatial professional services
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev