rgeo-geojson icon indicating copy to clipboard operation
rgeo-geojson copied to clipboard

Set CRS Value for GeoJSON Object

Open MichaelCPell opened this issue 9 years ago • 2 comments

I'm not sure if this functionality exists. If it doesn't, then QGIS, etc.. will default to WGS84. Should I make a pull request with this functionality added? Or am I missing something?

MichaelCPell avatar Apr 06 '16 16:04 MichaelCPell

I wonder the same thing...

I'd like to get something like this for a FeatureCollection (notice the crs attribute)

    {
      type: "FeatureCollection",
      crs: { type: "name", properties: { name: "urn:ogc:def:crs:OGC:1.3:CRS84" }},
      features: [{
        type: "Feature",
    [....]

Linuus avatar Dec 12 '16 13:12 Linuus

This is not part of GeoJSON spec anymore (see rfc 7946 (page 12)). I don't know how QGIS handle that now, do you? @MichaelCPell is it still a concern of yours?

I'm marking that one as feature but I think we should first dig into the need before implementing anything!

BuonOmo avatar Nov 09 '20 17:11 BuonOmo