You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: