Bug report #20742
Zoom to Layer does not respond to filtered WFS
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Even Rouault | ||
Category: | Web Services clients/WFS | ||
Affected QGIS version: | 3.4.2 | Regression?: | Yes |
Operating System: | Win 7 Pro SP1 | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 28562 |
Description
When using Zoom to Layer on a filtered WFS QGIS zooms to the entire layer, not to the ones in the map.
In my case I have filtered 'fkg:t_5710_born_skole_dis' url='https://fkg.mapcentia.com/wfs/kom167@fkg/fkg/25832' version='auto' table="" sql=SELECT * FROM t_5710_born_skole_dis where kommunekode = 167 by the municipality code = 167, but when using Zoom to Layer all of Denmark is displayed.
Related issues
Associated revisions
[WFS provider] Correctly compute layer extent when zooming out layer (fixes #20742)
[WFS provider] Correctly compute layer extent when zooming out layer (fixes #20742)
History
#1 Updated by Giovanni Manghi almost 6 years ago
- Status changed from Open to Feedback
Does it works as expected on 2.18?
#2 Updated by Lars Ellebjerg almost 6 years ago
Yes, 2.18 zooms to the elements which are included in the map.
#3 Updated by Giovanni Manghi almost 6 years ago
- Regression? changed from No to Yes
- Priority changed from Normal to High
- Status changed from Feedback to Open
#4 Updated by Giovanni Manghi over 5 years ago
- Related to Bug report #21112: "Zoom to layer" doesn't work as expected on WFS dataprovider when you have af provide feature filter applied to the datasource added
#5 Updated by Even Rouault over 5 years ago
- Assignee set to Even Rouault
#6 Updated by Even Rouault over 5 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset qgis|32d902874a7115660ee3be3ee3f531e06cdac3fc.
#7 Updated by Alessandro Pasotti over 5 years ago
- Duplicated by Bug report #21328: Filtered WFS-Layer saves changes to other Features added