[Qgis-developer] current status WFS client
Richard Duivenvoorde
rdmailings at duif.net
Sun Oct 11 08:17:53 PDT 2015
Hi Devs,
can we please have a look into the status of the WFS client currently.
You can close I think 4 issues with one go :-)
I see some have done some work this release, but I think WFS client is
currently borked.
See
http://hub.qgis.org/issues/13117
and also
http://hub.qgis.org/issues/13293
http://hub.qgis.org/issues/13401
http://hub.qgis.org/issues/11968
I have the feeling that 'Cache features' and 'Only request features
overlapping the current view extent' are either misinterpreted by
different devs, OR they do not play well together (the options I mean :-) )
The use case is this wfs:
http://geodata.nationaalgeoregister.nl/bag/wfs
holding ALL houses in The Netherlands (couple million)
the wfs maximizes the number of feature returned ot ... I think 15000 or
so...
The working (2.8 behaviour) was:
- if UNchecked the 'Cache features' then the client added a bbox (good!)
AND refetched the features after every Pan and Zoom Action (good!)
Now not anymore: only a first set is retrieved, and after that nothing
happens anymore.
To me the two options 'Cache features' and ' only request in current
bbox' more or less mimic there behaviour
Anyway: create a project:
EPSG:28992
xy: 104676.3,490097.6
scale: 1:1000
The possible combinations
-0-
'Cache Feature' UNchecked
'Only request... overlapping' UNchecked
http://geodata.nationaalgeoregister.nl/bag/wfs?SERVICE":"WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=bag:pand&SRSNAME=EPSG:28992&BBOX=104403.35250264131173026,490059.08999344159383327,104862.29637185942556243,490342.09838123025838286
BBOX in request! Good, though it is hard to do caching AND retrieving
new features I think...
But it does not retrieve new features anymore after the retrieval of the
first set (like it did in earlier versions)...
-1-
'Cache Feature' CHECKED
'Only request... overlapping' UNchecked
http://geodata.nationaalgeoregister.nl/bag/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=bag:pand&SRSNAME=EPSG:28992
OK, no bbox: we just request the first 15000 features (very outside the
current bbox), but hey, that is what we asked for.
Pan action: does not add anything...
-2-
'Cache Feature' UNchecked
'Only request... overlapping' CHECKED
http://geodata.nationaalgeoregister.nl/bag/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=bag:pand&SRSNAME=EPSG:28992&BBOX=104556.77736899332376197,490097.08506930683506653,104851.63538065302418545,490278.90968033944955096
OK, adding a bbox to the feature request (apparently because of the
'only request with current bbox'...
BUT panning or zooming OUT does NOT get new features :-(
-3-
'Cache Feature' CHECKED
'Only request... overlapping' CHECKED
http://geodata.nationaalgeoregister.nl/bag/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=bag:pand&SRSNAME=EPSG:28992&BBOX=104556.77736899332376197,490097.08506930683506653,104851.63538065302418545,490278.90968033944955096
OK, adding a bbox to the feature request (apparently because of the
'Cache Features'
BUT panning or zooming OUT does NOT get new features :-(
Hope somebody is able to work on this..
Regards,
Richard
ps will add this tests to the issue 13117
More information about the Qgis-developer
mailing list