[gdal-dev] Time for a new GeoJSON driver?

Robert Coup robert.coup at koordinates.com
Thu Jul 28 03:00:51 PDT 2016

Hi All,

On 27 July 2016 at 22:19, Sean Gillies <sean at mapbox.com> wrote:

> On Wed, Jul 27, 2016 at 9:40 AM, Even Rouault <even.rouault at spatialys.com>
> wrote:
>> Automatic reprojection by default would indeed be a change. Difficult to
>> say how
>> breaking it is for existing workflows. Would be happy to hear about
>> others'
>> opinions. Another option would be to make RFCxxxx conformance an explicit
>> user
>> choice.
> I'm concerned that requiring users to set an environment variable for
> conformance will extend the period of transition from 2008 to RFC GeoJSON.
> I honestly don't know that introducing a new format name ("geo+json"
> instead of "GeoJSON") would be better, but I think it could be better:
> `ogr2ogr -f geo+json` appears more portable (to, i.e., Windows) than
> `RFCxxxx_GEOJSON=TRUE ogr2ogr -f GeoJSON`.

Personally I'd prefer RFC-by-default and no automatic reprojection -- with
an error if the CRS isn't CRS84. Be able to opt into old style with config
options, which would enable outputting either fully GeoJSON2008, or opting
into or out-of individual RFC features (eg. fully RFC-style except using an
alternate CRS, or skipping antimeridian-cutting). These options should
enable people to migrate systems gradually.

The above doesn't do good things for GDAL backwards compatibility though :)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160728/544def3c/attachment.html>

More information about the gdal-dev mailing list