Bug report #19461

QGIS Dektop 3.2.1 Filtered features not displayed

Added by Alexander Täschner almost 6 years ago. Updated over 5 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Attribute table
Affected QGIS version:3.2 Regression?:Yes
Operating System:Windows 10 Easy fix?:No
Pull Request or Patch supplied:No Resolution:no timely feedback
Crashes QGIS or corrupts data:No Copied to github as #:27289

Description

Features resulting from the filter "amenity" = 'school' on multipolygons layer from OSM data import are not displayed and not listed in attributes table in QGIS Desktop 3.2.1, works in QGIS Desktop 2.18.22 with same project file.

Steps to reproduce:
1. Add the OSM Data from Swellendam.osm into new project via Browser (only layers lines, multipolygons, points)
2. Add filter to multipolygons layer via Filter context menu in Layers panel: "amenity" = 'school'
3. Switch on "Show feature count" on multipolygons layer
4. Saved project (SwellendamFilter.qgs)

Result:
Nothing from the multipolygons layer is displayed, although feature count is 4; attributes table is empty, but shows 4 total features (see SwellendamFilterQGIS_3_2.JPG).

Opening the SwellendamFilter.qgs file in QGIS Desktop 2.18.22 shows the 4 features (see SwellendamFilterQGIS_2_18_22.JPG).

Attached ZIP file contains the OSM, the QGS and the two JPG files.

Swellendam.zip (1.52 MB) Alexander Täschner, 2018-07-22 12:13 PM

map.osm (110 KB) Etienne Trimaille, 2018-07-24 05:19 PM

History

#1 Updated by Giovanni Manghi almost 6 years ago

  • Regression? changed from No to Yes

#2 Updated by Etienne Trimaille almost 6 years ago

I can confirm this issue.

Show feature count is not working on OSM layers (opened with the normal open vector layer menu)

#3 Updated by Alexander Täschner almost 6 years ago

In my case the feature count is correct (4), but the items are not rendered and not listed in the attributes table! So this seems to be another issue than the one described by Etienne.

#4 Updated by Nyall Dawson over 5 years ago

  • Status changed from Open to Feedback

This should be fixed in 3.4 - can you confirm?

#5 Updated by Nyall Dawson over 5 years ago

  • Resolution set to no timely feedback
  • Status changed from Feedback to Closed

Also available in: Atom PDF