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
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to