Bug report #4102

Zoom to layer extent only considers the first part of a multipolygon

Added by Alister Hood almost 13 years ago. Updated over 8 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GUI
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:14084

Description

Just what the subject says.
Note that zoom to selection does work with multipolygons.

Associated revisions

Revision 7e3dc30c
Added by Nyall Dawson over 8 years ago

Fix bounding box calculation of geometry collections, fix #4102

History

#1 Updated by Alister Hood almost 13 years ago

This bug also affects "zoom full".

#2 Updated by Marco Hugentobler almost 13 years ago

Could you attach a file where zoom to layer does not work as expected?

I've tested it here and zoom to layer did not work properly after adding a multipolygon and saving. However, after reloading the layer, zoom to layer worked again. So it might be a problem with the update of the provider extent after commiting edits.

#3 Updated by Alister Hood almost 13 years ago

I've tested it here and zoom to layer did not work properly after adding a multipolygon and saving. However, after reloading the layer, zoom to layer worked again. So it might be a problem with the update of the provider extent after commiting edits.

You are right - it works after reloading the layer.

#4 Updated by Giovanni Manghi over 12 years ago

  • Target version set to Version 1.7.4

#5 Updated by Paolo Cavallini about 12 years ago

  • Affected QGIS version set to master
  • Crashes QGIS or corrupts data set to No
  • Target version changed from Version 1.7.4 to Version 1.8.0

#6 Updated by Paolo Cavallini almost 12 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#7 Updated by Jürgen Fischer almost 10 years ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#8 Updated by Médéric RIBREUX over 8 years ago

Hello, bug triage...

this is still true in QGIS 2.13...

#9 Updated by Nyall Dawson over 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF