Hi Richard,
many thanks to have a look at it.
I finally manged to get something some minutes ago:
First success was, to limit the output to 100 features to get at least
something loaded.
But: There were features only in the attribute table, but nothing on the
map. I had to pick a feature there and then zoom to it, and found them
near the Somalia coastline, though everhing indicated that it was using
EPSG 25832.
After another round of scratching my head, I ticked everything in the
setting, including invert axis orientation, and that seems to do the
trick. Now I have features displayed and everything seems to be fine.
Assuming, that all available checkboxes in the settings reflect the
standard in an unchecked state, this service seems to do everything the
other way around.
Cheers,
Bernd
p.s. what does the paging option mean, and what values have to be put
there? Can't find any explanations to this.
On 07.09.20 10:12, Richard Duivenvoorde wrote:
On 9/6/20 11:29 PM, Bernd Vogelgesang wrote:
Hi folks,
without any success I try to load stuff from a wfs server (long time ago
that I last tried to). Although the checkbox to only load the features
in the canvas extend is checked, this does not seem to have any
influence. Adding the layer, nothing shows up, everything is frozen and
in the end after a long time, there is a time out error.
So obviously, it is attempted to load all 180000 features, and not only
those within the canvas extend.
Documentation also only handles stuff which is more than obvious.
What is the obviously not obvious trick to load stuff from a wfs server?
1) be sure it is working :-)
2) what you did
I tested in in current master, and had a look at the url's QGIS is firing
Using the 'Detect' button, you can see the service says it is a WFS 2.0
service, so should be able to 'page' ...
I opened an OSM map, and zoomed in just outside of Munchen.. (that is Bayern
isn't it?)
QGIS starts with requesting the capabilities:
https://www.baysis.bayern.de/gis/services/wfs/BAYSIS_Strassennetz/MapServer/WFSServer?SERVICE=WFS&REQUEST=GetCapabilities&VERSION=2.0.0
Then it tries to determine the type of the features to be returned by doing a
DescribeFeatureType request
https://www.baysis.bayern.de/gis/services/wfs/BAYSIS_Strassennetz/MapServer/WFSServer?SERVICE=WFS&REQUEST=DescribeFeatureType&VERSION=2.0.0&TYPENAMES=STRNETZ_WFS:Strassennetz&TYPENAME=STRNETZ_WFS:Strassennetz
And then it requests (using a bbox!) the Strassennetz
https://www.baysis.bayern.de/gis/services/wfs/BAYSIS_Strassennetz/MapServer/WFSServer?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=STRNETZ_WFS:Strassennetz&TYPENAME=STRNETZ_WFS:Strassennetz&SRSNAME=urn:ogc:def:crs:EPSG::3857&BBOX=1278607.34396637254394591,6140795.31043378822505474,1283062.13300827727653086,6144202.10006356053054333,urn:ogc:def:crs:EPSG::3857
which if you replay it in a browser does not give anything back.
Is the service picky with CRS's?
Which feature should be working?
Does the service work in other tools?
Regards,
Richard Duivenvoorde
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user