[Qgis-user] qgis wfs provider loads all features when showing attribute table
Richard Duivenvoorde
rdmailings at duif.net
Tue Mar 17 00:25:20 PDT 2020
Hi Martin,
wel att least for the features and attribute tabel this works:
1) make sure you are connecting as WFS 2.x service, WFS 1 did not have
paging so cannot work with bboxes in the request for big datasets
2) IF you make a connection, with a huge service, make sure you tick the
"Only request features overlapping the view extent" in the connection
dialog
3) BEFORE you open the attribute table of the huge service: make sure
you either choose "Show features visible on map" or ""Show selected
features" in the option "Attribute table behaviour" in the "Data
Sources"-tab in General Options.
It is also possible to do this in the attribute table itself (in the
lower left corner below the table) ... but then you are too late :-) For
what I know this is a global option, not set per dataset, so you can
also check it there in another small layer.
If you want to see the exact requests QGIS is firing: use our "QGIS
Network Logger" plugin, you should see QGIS sending bbox's in the
request.
Hope this helps
Regards,
Richard Duivenvoorde
On 2020-03-16 23:05, Martin Landa wrote:
> Hi,
>
> I am providing an experimental WFS service using MapServer. When
> loading the service in QGIS (3.4), only features overlapping map
> extent are fetched, so far it's good. Unfortunately QGIS behaves
> differently when I try to set up symbology for a WFS layer or just
> open an attribute table. Than QGIS tries to load ALL features from WFS
> service. This is not desired since WFS layer contains too many
> features. Is it possible to change this behaviour in order to show
> attributes for features already fetched (and displayed in QGIS).
>
> Thanks, Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: overlap.png
Type: image/png
Size: 22518 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200317/72af8cd9/attachment-0001.png>
More information about the Qgis-user
mailing list