[gdal-dev] Time for a new GeoJSON driver?
robert.coup at koordinates.com
Thu Jul 28 03:00:51 PDT 2016
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>
>> 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
>> opinions. Another option would be to make RFCxxxx conformance an explicit
> 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...
More information about the gdal-dev