[QGIS-Developer] CRS for GeoJson Data

Stefan Keller sfkeller at gmail.com
Wed Nov 22 12:53:09 PST 2017


The current GeoJSON spec. [1] mentions in the abstract, as last of its
containing three sentences:
"GeoJSON uses a geographic coordinate reference system, World Geodetic
System 1984, and units of decimal degrees.".

[2] contains an update which says
"2008 geojson.org GeoJSON supported alternative coordinate reference
systems other than ESPG:4326, but this capability was removed in the
current GeoJSON standard."

So, it seems, that QGIS is actually following the 2008 spec. and
probably should be updated.
=> Someone files an issue?

--Stefan

1] https://tools.ietf.org/html/rfc7946
[2] https://macwright.org/2015/03/23/geojson-second-bite


2017-11-22 21:37 GMT+01:00 C Hamilton <adenaculture at gmail.com>:
> I don't know, but if that it the case then QGIS is exporting GeoJSON wrong.
> For example if you have a layer that is say EPSG:3857 and export the points
> to a GeoJSON file, you will find a crs tag specifying 3857 and the
> coordinates are in 3857. They were not converted to WGS84.
>
> On Wed, Nov 22, 2017 at 2:46 PM, Tom Chadwin <tom.chadwin at nnpa.org.uk>
> wrote:
>>
>> Doesn't the GeoJSON spec mandate WGS84?
>>
>> Tom
>>
>>
>>
>> -----
>> Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon
>> --
>> Sent from:
>> http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list