Bug report #15168

One road missing upon Add Vector Layer!

Added by Dan Jacobson almost 10 years ago. Updated almost 10 years ago.

Status:Closed
Priority:High
Assignee:Martin Dobias
Category:Vectors
Affected QGIS version:2.14.3 Regression?:No
Operating System:Debian Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:23107

Description

I have discovered a very serious data import bug.

Let's take the following KMZ file. zk.kmz .

When viewed on
https://www.google.com/maps/d/viewer?hl=en&authuser=0&mid=1og2sO2lvdsNpU-U0c3izhRTB6NU
http://www.bing.com/maps/default.aspx?mapurl=http://www.google.com/maps/d/kml?mid=1og2sO2lvdsNpU-U0c3izhRTB6NU

But when imported with Add Vector Layer, the middle short road is GONE!

zk.kmz (4.67 KB) Dan Jacobson, 2016-06-28 07:50 PM

Associated revisions

Revision 5f662762
Added by Martin Dobias almost 10 years ago

Fix incorrectly loaded sublayers if they had the same name (fixes #15168)

Use "layerid=N" instead of "layername=XYZ" for OGR sublayers

History

#1 Updated by Dan Jacobson almost 10 years ago

When viewed elsewhere, the middle short road is there. But not when imported into Qgis.
One might not even notice the data corruption!

#2 Updated by Martin Dobias almost 10 years ago

  • Assignee set to Martin Dobias

#3 Updated by Martin Dobias almost 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF