Geographic Information Systems Asked on September 2, 2021
I have a problem loading and adding data from the following a WFS to my QGIS project:
https://data.wien.gv.at/daten/geo?version=1.1.0
I can connect to the service and see the data available. (See picture below)
But after adding a layer with the data to my project I get the following error and no data is displayed:
Layer ogdwien:FMZKGEBOGD: Download of features for layer
ogdwien:FMZKGEBOGD failed or partially failed: Server generated an
exception in GetFeature response:
org.opengis.referencing.NoSuchAuthorityCodeException: No authority was
defined for code "". Did you forget "AUTHORITY:NUMBER"? No authority
was defined for code "". Did you forget "AUTHORITY:NUMBER"?. You may
attempt reloading the layer with F5
As far as I know you don’t need an authority number to use the service since it is an open data service from the city.
I can export the data to a shapefile. But then some of the data is missing. In my case not all the buildings are exported, just some of them.
I am using Windows 10 and the QGIS Version before was 3.4.11. I now upgraded to the new version 3.14.1 but I still have the same problem.
The issue here is the how the DefaultCRS
is advertised in the WFS version 1.1.0 (and higher WFS versions), that is like:
<DefaultSRS>http://www.opengis.net/gml/srs/epsg.xml#31256</DefaultSRS>
Which does not resolve.
In the WFS 1.0.0 response you have instead a more recognised shorthand:
<SRS>EPSG:31256</SRS>
The AUTHORITY:NUMBER
reference here is to the CRS authority, for example ESRI, OGC, EPSG... and the associated number.
In QGIS, you can choose which version of WFS to use for the service end point, in this case just https://data.wien.gv.at/daten/geo?
and in doing so can overcome the problem with the service to give us output like:
Correct answer by nmtoken on September 2, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP