Bug report #4587

'Zoom to best scale' Generates Bad Bounding Box

Added by Paul Carlisle almost 12 years ago. Updated almost 8 years ago.

Category:Web Services clients/WMS
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:worksforme
Crashes QGIS or corrupts data:No Copied to github as #:14494


I can load raster images through Mapserver using a WMS request and all functionality works as expected except for "Zoom to best scale'; when I select this option, the bounding box generated by QGis and sent to MapServer is bogus, with identical LL/UR corner coordinates in some cases, or reasonable y-component values by identical x-component values. The result is not a box, but a point or a line, and MapServer correctly flags this as an error.


#1 Updated by Paolo Cavallini almost 12 years ago

  • Category set to Web Services clients/WMS

#2 Updated by Giovanni Manghi almost 12 years ago

  • Target version changed from Version 1.7.1 to Version 1.7.4

#3 Updated by Paolo Cavallini over 11 years ago

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

#4 Updated by Paolo Cavallini about 11 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#5 Updated by Giovanni Manghi almost 11 years ago

Seems still confirmed to me in qgis master.

#6 Updated by Giovanni Manghi about 10 years ago

still true on master.

#7 Updated by Jürgen Fischer over 9 years ago

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

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

  • Status changed from Open to Feedback

Hello, bug triage...

does 'Zoom to best scale' is now entitled 'Zoom to Native Resolution (100%)' ?

#9 Updated by Giovanni Manghi almost 8 years ago

  • Resolution set to worksforme
  • Status changed from Feedback to Closed

just tested on a Mapserver WMS service and it seems ok to me on QGIS ltr.

Also available in: Atom PDF