Bug report #14609
QGIS Server: export layer to GeoJSON is malformed
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | QGIS Server | ||
Affected QGIS version: | 2.14.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22575 |
Description
the GeoJSON exported file throught the LizMap web client doesn't contain srsName/EPSG information unlike GML exported file... it's necessary to set the right projection after loading in QGIS.
https://github.com/3liz/lizmap-web-client/issues/278
thanks
Associated revisions
[server] Always export GeoJSON in WGS84 (fix #14609)
History
#1 Updated by Giovanni Manghi over 8 years ago
- Category set to QGIS Server
- Subject changed from export layer to GeoJSON to QGIS Server: export layer to GeoJSON is malformed
New description:
exporting a layer as geojson from qgis server produces a malformed file (doesn't contain srsName/EPSG).
#2 Updated by René-Luc ReLuc over 8 years ago
In GeoJSON v1 CRS information can be specified http://geojson.org/geojson-spec.html#coordinate-reference-system-objects
In GeoJSON v2 CRS has to be ESPG:4326 https://mailarchive.ietf.org/arch/msg/geojson/B5lKKb6mSf2YHAiJJXDfHs_uv-8
#3 Updated by Nyall Dawson over 8 years ago
- Status changed from Open to Closed
Fixed in changeset 9ea56acde03ace5c078c3d95f98be267eb1c22fd.