Bug report #8963

Composer Map extents loss of precision in project file

Added by Nathan Woodrow over 10 years ago. Updated over 10 years ago.

Category:Map Composer/Printing
Affected QGIS version:2.0.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:17627


Saving a project with a composer map in a composer results in a loss of precision in the extents. When the project is reloaded the extents are changed which changes the scale resulting in incorrect maps.

Example Extent:


Saved as:


This seems to be caused by using QString::number when saving the extents. Using QString::number(extent, "g", 10) saves the correct extents.

Associated revisions

Revision e614a095
Added by Nathan Woodrow over 10 years ago

Save precision correctly for composer map. Fix #8963


#1 Updated by Anonymous over 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF