Bug report #14609

QGIS Server: export layer to GeoJSON is malformed

Added by jose macau over 4 years ago. Updated about 4 years ago.

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

Revision 9ea56acd
Added by Nyall Dawson about 4 years ago

[server] Always export GeoJSON in WGS84 (fix #14609)

History

#1 Updated by Giovanni Manghi about 4 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).

#3 Updated by Nyall Dawson about 4 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF