Bug report #19477

Multipolygons layer is empty in the attribute table

Added by Etienne Trimaille over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:High
Assignee:Even Rouault
Category:Processing/OGR
Affected QGIS version:3.2 Regression?:Yes
Operating System:Ubuntu Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27305

Description

I have some issues while loading some OSM layers in QGIS 3.2:

  • start a new project:
  • drop the osm file enclosed
  • choose only the multipolygon file => everything is fine, attribute table and map are OK.
  • start a new project:
  • drop the osm file enclosed
  • choose "select all" button => the multipolygon layer is broken.

The shape of the multipolygon is modified when pan/zoom. The shape is displayed/not displayed when we zoom in/zoom out.
Moreover, the attribute table is empty (as you can see in my screenshot).

The show feature count is not working too (linked to #19461)

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

Screenshot from 2018-07-24 11-24-01.png - attribute table (82.2 KB) Etienne Trimaille, 2018-07-24 05:23 PM

Associated revisions

Revision fabdc047
Added by Even Rouault over 5 years ago

[OGR provider] Fix reading of OSM datasets when opening several layers at the same time (fixes #19477)

Revision bdc11197
Added by Even Rouault over 5 years ago

Merge pull request #7982 from rouault/fix_19477

[OGR provider] Fix reading of OSM datasets when opening several layers at the same time (fixes #19477)

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Priority changed from Normal to High

#2 Updated by Jürgen Fischer over 5 years ago

  • Description updated (diff)

#3 Updated by Even Rouault over 5 years ago

  • Assignee set to Even Rouault
  • Category changed from Attribute table to Processing/OGR

#4 Updated by Even Rouault over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF