qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.32k stars 2.96k forks source link

Implement WFS-T for WFS 1.1 and 2.0 #24002

Open qgib opened 7 years ago

qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman) Original Redmine Issue: 16088

Redmine category:web_services_clients/wfs


Subject say it all.

At the moment only 1.0 is implemented, but the WFS client now also support WFS 1.1 and 2.0 servers.

qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)


miceg commented 2 months ago

This is actually half fixed: QGIS supports WFS-T 1.1. 🎉

As a PSA, if you're using GeoServer: when WFS 2.0 is selected (or "maximum", by default), QGIS still attempts to use WFS-T 1.0 for transactions. However, GeoServer emits a different CRS in WFS 1.1 and 2.0 mode (urn:...:EPSG:4326) vs. WFS 1.0 mode (EPSG:4326), and QGIS doesn't follow all of GeoServer's axis ordering semantics for WFS-T 1.0 – which can lead to transaction failures or data corruption.

So, if you're using WFS-T with GeoServer, you need to explicitly set QGIS to use WFS 1.1, because then QGIS and GeoServer will follow EPSG axis ordering.