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
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to