-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
WFS-T Broken in QGIS 2.18.* with Geoserver Endpoints #23958
Comments
Author Name: Giovanni Manghi (@gioman) Works as expected using QGIS Server. To replicate just fire a Geoserver instance (tested 2.8 and 2.9 here), import a layer, enable wfs-t. |
Author Name: Alessandro Pasotti (@elpaso) Confirmed:
|
Author Name: Giovanni Manghi (@gioman) it work if forcing version to 1.0. |
Author Name: Alessandro Pasotti (@elpaso) Basically: WFS-T is only implemented for 1.0.0, unfortunately the user does not know that because the developer did not implement any way to warn the user. What happens is that GeoServer supports 1.0.0, 1.1.0 and 2.0.0, the default "auto" value will fetch the highests. qgswfscapabilities.cpp line 478 (2.18): // TODO: remove me when WFS-T 1.1 or 2.0 is done Quick fix: change the default value in the WFS dialog from "auto" to 1.0.0 until the implementation is complete. |
Author Name: Alessandro Pasotti (@elpaso) There might be another issue in 2.18 and master:
Expected result: 2 new features appear in the map |
Author Name: Alessandro Pasotti (@elpaso) The reason for the observed behavior is that GeoServer always return new0 as the feature id if the feature store does not support id generation as happen in shapefiles. |
Author Name: Even Rouault (@rouault)
Ouch, sounds like an issue of the server. The returned id is supposed to be unique... |
Author Name: Alessandro Pasotti (@elpaso) It's unique within a single transaction. |
Author Name: Anónimo (Anónimo) Fixed in changeset "93770b1c307fe42c910eb993c7d813931512ba75".
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 16043
Affected QGIS version: master
Redmine category:web_services_clients/wfs
Assignee: Alessandro Pasotti
Works as expected on LTR.
Tested with several datasources, PostGIS included.
The text was updated successfully, but these errors were encountered: