[QGIS-Developer] CRS for GeoJson Data

Even Rouault even.rouault at spatialys.com
Wed Nov 22 14:23:42 PST 2017


On mercredi 22 novembre 2017 15:08:08 CET Tom Chadwin wrote:
> I remember irritated tweets from someone like Sean Gillies involved the spec
> about how projected CRSes had no place in GeoJSON.
> 

The last year standardized version of GeoJSON, IETF RFC7946, mentions in
https://tools.ietf.org/html/rfc7946#page-12

"""
  The coordinate reference system for all GeoJSON coordinates is a
   geographic coordinate reference system, using the World Geodetic
   System 1984 (WGS 84) [...]
Note: the use of alternative coordinate reference systems was
   specified in [GJ2008], but it has been removed from this version of
   the specification [...]
"""

Regarding OGR, it will support reading & writing GeoJSON files with any CRS. Unless that on 
the write side you specify RFC7946=YES as layer creation option, in which case automatic 
reprojection to WGS84 is done.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171122/de258db8/attachment.html>


More information about the QGIS-Developer mailing list