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

Even Rouault even.rouault at spatialys.com
Mon Aug 21 13:36:02 PDT 2017


On lundi 21 août 2017 14:30:15 CEST Sean Gillies wrote:
> Hi Even,
> 
> This seems reasonable to me.
> 
> What will be done about the GeoJSON driver case, where we have one driver
> covering both GeoJSON and EsriJSON (and other JSONs)? If a user specifies
> foo.json which of the GeoJSON driver modes do they activate?

Hi Sean,

Exactly like when you specify -f GeoJSON, ie "true" GeoJSON (there's only write support for 
GeoJSON in the driver. EsriJSON and TopJSON are read-only currently). If you need explicit 
RFC7946 compliance, you'll still need to add -lco RFC7946=YES

Even

> 
> 
> On Sat, Aug 19, 2017 at 2:49 PM, Even Rouault <even.rouault at spatialys.com>
> 
> 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.
> > 
> > 
> > 
> > Even
> > 
> > 
> > 
> > --
> > 
> > Spatialys - Geospatial professional services
> > 
> > http://www.spatialys.com
> > 
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/gdal-dev


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


More information about the gdal-dev mailing list