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

Use parameters and layers fields while adding WFS (same behavior as with adding WMS) #84

Closed
sfkeller opened this issue Jun 4, 2016 · 4 comments
Milestone

Comments

@sfkeller
Copy link

sfkeller commented Jun 4, 2016

Referring to #65 can you give an example of a valid WFS service configuration, e.g. showing up in the nice QMS "Services panel"?

When I go to QMS "Settings" and add an own service of type WFS (like this http://demo.opengeo.org/geoserver/wfs ) I can save this user config. But when I select it, no layer is being added to the QGIS project. What could be wrong?

@sfkeller
Copy link
Author

I also can't see anything in the QGIS / Python logs... Here's another WFS to test this potentially nice feature: http://maps.zh.ch/wfs/TbaBaustellenZHWFS

@simgislab
Copy link
Member

adding WFS service should allow stating what layer you need. And currently it doesn't. Looks like a bug.

@alisovenko can you please have a look?

@simgislab simgislab added the bug label Jun 20, 2016
@simgislab simgislab added this to the 0.18 milestone Jun 20, 2016
@simgislab
Copy link
Member

Ok, Figured it out. Everything is ok, it's just that current support for WFS services unlike WMS doesn't allow to layers and params separately and wants all of them passed in the url.

Working example: http://maxim.nextgis.com/api/resource/117/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=build&SRSNAME=EPSG:3857

I'm renaming the issue and reclassifying it as enhancement request. We definitely want the same behavior for WFS as for WMS.

@simgislab simgislab added enhancement and removed bug labels Jun 20, 2016
@simgislab simgislab changed the title Show WFS example in Services Panel and WFS service config not working Use parameters and layers fields while adding WFS (same behavior as with adding WMS) Jun 20, 2016
@simgislab
Copy link
Member

simgislab commented Dec 19, 2016

implemented

@sfkeller you can try adding your WFS services here: http://qms.nextgis.com and check how they work in QGIS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants