Skip to content
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

Add support for WFS-T from QGIS Server #825

Closed
jacobwod opened this issue Jun 17, 2021 · 1 comment
Closed

Add support for WFS-T from QGIS Server #825

jacobwod opened this issue Jun 17, 2021 · 1 comment
Assignees
Labels
module:client/plugin Functionality that goes into plugins in client new feature Request for adding/changing functionality
Milestone

Comments

@jacobwod
Copy link
Member

Hajk has drifted towards a GeoServer-centric approach recently, and great as GeoServer is, it's always good to give the users more options.

Adding WMS layers from QGIS is supported out of the box (though the admin experience could be improved). WFS Transactions however, require some code changes:

  • Most notably, QGIS Server follows the WFS specification strictly and lacks support for outputFormat: "application/json" for describeFeatureType. We must handle the XML response in admin in order to be able to add layers.
  • We must remove the geometry field somehow. The current approach is no good as QGIS Server will return the specific type of filed (e.g. gml:MultiLayerSurface), and not just Geometry as GeoServer seems to do. At the same time, we must keep the current support for the GeoServer style.
  • On successful write, GeoServer always returned all types (totalInserted, totalDeleted and totalUpdated), while QGIS Server only returns the changed type. We can't expect all the properties to exist, so client needs some minor fixes too.

Overall, quite an addition, but I'll attempt to close this before the weekend.

@jacobwod jacobwod added module:client/plugin Functionality that goes into plugins in client new feature Request for adding/changing functionality labels Jun 17, 2021
@jacobwod jacobwod added this to the 3.x milestone Jun 17, 2021
@jacobwod jacobwod self-assigned this Jun 17, 2021
jacobwod added a commit that referenced this issue Jun 17, 2021
dquote> - Closes #825, see issue description for more details.
@Hallbergs
Copy link
Member

Nice job! I'm looking forward to try out QGIS Server after the summer!

@jacobwod jacobwod modified the milestones: 3.x, 3.7 Jun 18, 2021
Hallbergs pushed a commit that referenced this issue Jun 22, 2021
dquote> - Closes #825, see issue description for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:client/plugin Functionality that goes into plugins in client new feature Request for adding/changing functionality
Projects
None yet
Development

No branches or pull requests

2 participants