Bug report #14185

Incoherence in Scale Bar decoration?

Added by Harrissou Santanna about 8 years ago. Updated about 5 years ago.

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

Description

I have a project in epsg 4326
When displaying the View menu --> Decorations --> ScaleBar, I have the size bar proposed in degrees but when applied it shows meters (see attached screenshot).
I'm not well aware about how distance calculations are done in 4326 but I think something is weird in this configuration.

I then remark that in my settings, I had Meters as prefered unit for distance and this might be why my scale bar is in meters. So shouldn't this unit be used in the dialog or be overriden by the default unit of the CRS?

scalebar.png (49 KB) Harrissou Santanna, 2016-01-28 01:58 AM

History

#1 Updated by Giovanni Manghi almost 7 years ago

  • Easy fix? set to No
  • Regression? set to No

#2 Updated by Andy Harfoot over 6 years ago

In 2.18.13, The units of the Scale Bar decoration appear to follow the 'Preferred distance units' set for the Measure tool in Options > Map Tools > Measure tool. The project or dataset CRS or Measurement settings do not appear to have any effect.

It is worth noting that some units, eg. Miles and Nautical Miles, do not have a unit displayed on the scale bar.

#3 Updated by Giovanni Manghi about 5 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF