Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save layer as "GeoJSON" loosed projection information #13598

Closed
qgib opened this issue Mar 2, 2011 · 5 comments
Closed

Save layer as "GeoJSON" loosed projection information #13598

qgib opened this issue Mar 2, 2011 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Mar 2, 2011

Author Name: springmeyer - (springmeyer -)
Original Redmine Issue: 3538
Affected QGIS version: master
Redmine category:vectors


If you export vector data from QGIS using Layer > Save layer as... and choose [[GeoJSON]] as a format the data is exported without a "crs" property.

In my case my data (originally a shapefile) is in Google Mercator, and I chose "Original CRS". I also tested with data in WGS 84 and tried setting the output CRS to something custom, BC Albers, but still no projection definition was written. I confirmed this by looking through the outputted geojson with a text editor and also by calling ogrinfo -so -al and seeing that ogr wrongly reports WGS84 (as assume this is the case because this is the default according to the [[GeoJSON]] spec).

I am running QGIS 1.6 on OS X

@qgib
Copy link
Contributor Author

qgib commented Dec 16, 2011

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was changed from Version 1.7.0 to Version 1.7.4

@qgib
Copy link
Contributor Author

qgib commented Apr 16, 2012

Author Name: Paolo Cavallini (@pcav)


  • crashes_corrupts_data was configured as 0
  • fixed_version_id was changed from Version 1.7.4 to Version 1.8.0
  • version was configured as master

@qgib
Copy link
Contributor Author

qgib commented Sep 4, 2012

Author Name: Paolo Cavallini (@pcav)


  • fixed_version_id was changed from Version 1.8.0 to Version 2.0.0

@qgib
Copy link
Contributor Author

qgib commented Jun 28, 2014

Author Name: Jürgen Fischer (@jef-n)


  • fixed_version_id was changed from Version 2.0.0 to Future Release - Lower Priority

@qgib
Copy link
Contributor Author

qgib commented Nov 20, 2015

Author Name: Médéric RIBREUX (Médéric RIBREUX)


Hello, bug triage...

this is not the case anymore in QGIS 2.13:

"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:EPSG::23030" } },

I am closing this bug.


  • pull_request_patch_supplied was configured as 0
  • status_id was changed from Open to Closed
  • done_ratio was changed from 0 to 100
  • resolution was configured as fixed/implemented

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats) labels May 24, 2019
@qgib qgib added this to the Future Release - Lower Priority milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant