Bug report #2997

Zoom Full: if a PostGIS layer does not have features, it zooms to an enormous scale

Added by luca76 - about 11 years ago. Updated over 10 years ago.

Status:Closed
Priority:Low
Assignee:Jürgen Fischer
Category:Map Canvas
Affected QGIS version: Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:13057

Description

Steps to reproduce:

1. Load some layers
1. A layer with no features (in my case it is a [[PostGIS]] layer with NO features)
1. Click "Zoom full"

Results:

- The scale is set to 1:30200823 and I see anything. In my case the right scale should be 1:115952.

Associated revisions

Revision 55c960b1
Added by Jürgen Fischer over 10 years ago

improve handling of empty extents (fixes #2997)

git-svn-id: http://svn.osgeo.org/qgis/trunk/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

Revision 776b9328
Added by Jürgen Fischer over 10 years ago

improve handling of empty extents (fixes #2997)

git-svn-id: http://svn.osgeo.org/qgis/[email protected] c8812cc2-4d05-0410-92ff-de0c093fc19c

History

#1 Updated by Jürgen Fischer over 10 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

fixed in 776b9328 (SVN r15810).

Also available in: Atom PDF