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

WFS layer doesn't work on QGIS #618

Open
nmtoken opened this issue Feb 14, 2022 · 4 comments
Open

WFS layer doesn't work on QGIS #618

nmtoken opened this issue Feb 14, 2022 · 4 comments
Assignees
Labels
bug Something isn't working EGDI platform EXTERNAL user support support for users not part of the GeoERA project

Comments

@nmtoken
Copy link

nmtoken commented Feb 14, 2022

I note on GIS stack exchange the following issue:

WFS layer doesn't work on QGIS

The issue is that

I am using QGIS 3.16.16, and I want to "Add WFS layer". I select Layer > Add Layer > Add WFS Layer, and then I insert layer's name, and the following URL: https://data.geus.dk/egdi/wfs/?whoami=youremail&typenames=egdi_mineraloccurr_critical_raw_materials.

Moreover, I changed the whoami=youremail, with the first part of my email. Then I select "Connect", but I receive the following error:
Download of capabilities failed: Error transferring https://data.geus.dk/egdi/wfs/?myemail&SERVICE=WFS&REQUEST=GetCapabilities&ACCEPTVERSIONS=2.0.0,1.1.0,1.0.0 - server replied:.

Is it possible to explain to me why this happens?

Which URL should be used to allow QGIS to access the service?

Note QGIS does a GetCapabilities request first to get the featuretypes list and URLs to send requests to, then does a DescribeFeatureType to get further information, before doing any GetFeature request.

@mh-geus-dk
Copy link

Hi,
You are setting up the url wrong.
It should be like this:
https://data.geus.dk/egdi/wfs/?whoami=aa@bb.cc&SERVICE=WFS&REQUEST=GetCapabilities&ACCEPTVERSIONS=2.0.0,1.1.0,1.0.0
Where aa@bb.cc should be replaced by your email.
/Martin

@nmtoken nmtoken closed this as completed Feb 13, 2023
@nmtoken nmtoken added the EXTERNAL user support support for users not part of the GeoERA project label Feb 20, 2023
@nmtoken
Copy link
Author

nmtoken commented Aug 10, 2023

@nmtoken nmtoken reopened this Aug 10, 2023
@nmtoken
Copy link
Author

nmtoken commented Aug 10, 2023

@mh-geus-dk the WFS URL https://data.geus.dk/egdi/wfs/?whoami=aa@bb.cc&SERVICE=WFS&REQUEST=GetCapabilities&ACCEPTVERSIONS=2.0.0,1.1.0,1.0.0 is no longer working

looks like an error in a map file loadLayer(): Unknown identifier. Parsing error near (CCLASS):(line 13)

@nmtoken
Copy link
Author

nmtoken commented Aug 14, 2023

I see you posted an answer on GIS StackExchange, but it was deleted for some reason. The screenshot you gave has a WMS connection shown but the issue was for the WFS connection; does the WFS connection also work for you, it wasn't working for me when I tried it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working EGDI platform EXTERNAL user support support for users not part of the GeoERA project
Projects
None yet
Development

No branches or pull requests

2 participants