Bug report #10322

Scalebar bug in print composer

Added by Arthur Vignacq about 6 years ago. Updated over 1 year ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:2.2.0 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 #:18747

Description

Hello,
I know this bug happened in version 1.6 but looks like it was closed.

We have made a model, and one day the scalebar went crazy.

As you can seen it has enormous numbers and can't be click.

The other scale bar on the bottom of the page was added to test an export.

When exported only the new scalebar appear and not the crazy one (that"s fortunate).

Cheers

Bug_report.tiff - Screenshot (1.07 MB) Arthur Vignacq, 2014-05-22 01:40 AM

Base_Arthur_v2.qgs - Project (1.78 MB) Arthur Vignacq, 2014-07-07 06:19 AM

Hydro.qpt - Model (45.5 KB) Arthur Vignacq, 2014-07-07 06:19 AM

composer.xml Magnifier (29.1 KB) Denis Rouzaud, 2014-07-30 05:14 AM

layout_scalebar_10322.zip (89.2 KB) amedeo fadini, 2016-01-29 05:18 AM

History

#1 Updated by Jürgen Fischer about 6 years ago

  • Category set to Map Composer/Printing

#2 Updated by Nyall Dawson about 6 years ago

Do you still have the project containing this bad scale bar? If so, can you attach it to this report?

#3 Updated by Jürgen Fischer about 6 years ago

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

#4 Updated by Arthur Vignacq about 6 years ago

Still have this problem even worse with 2 wrong and fake scale in the composer ...
I've attached project and composer model files.

Cheers

#5 Updated by Giovanni Manghi about 6 years ago

  • Status changed from Open to Feedback

Arthur Vignacq wrote:

Still have this problem even worse with 2 wrong and fake scale in the composer ...
I've attached project and composer model files.

Cheers

I'm not sure if the project file without the data can be used to replicate the issue. Can you attach also the data (or a sample of, enough to replicate the issue)?

#6 Updated by Denis Rouzaud almost 6 years ago

  • OS version deleted (10.8.5)
  • Operating System deleted (Mac osX)
  • File composer.xmlMagnifier added

I recently had a problem with a scale bar which got a pagey=nan

That led to:
- initial zoom percentage as nan (on ubuntu, nothing show and composer unsable on windows)
- cannot pan on the whole composer when zooming in (only top left corner can be viewed)

See attached composer.

#7 Updated by Denis Marin over 5 years ago

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

I have problems with the scale bar in composer. The map unity shows good values but not in metres.

#8 Updated by Giovanni Manghi over 4 years ago

  • Target version deleted (Version 2.6)

#9 Updated by Giovanni Manghi over 4 years ago

can anyone say if this is still an issue in the latest releases?
If yes, can anyone attach a project with layouts and data?

#10 Updated by amedeo fadini over 4 years ago

Not sure if it's the same bug, but I've noticed a strange behaviour with the scalebar today. I'm using 2.13 and 2.8.5. See attached project and data.
- layers are in EPSG:3003
- Project CRS 4258 OTF
Setting scale 1:2000 100 units of scalebar are 25mm, scale of printed map consistent with this (it's about 1:4000);
setting scale 1:1000 100 units of scalebar are 71mm, scale of printed map is NOT consistent (about 1:1900).

(The line of 205,4 meters long in 3003 should be 242 meters in 4258 because of cartographic distortion).

#11 Updated by Giovanni Manghi about 4 years ago

  • Status changed from Feedback to Open

#12 Updated by Giovanni Manghi about 3 years ago

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

#13 Updated by Giovanni Manghi over 1 year ago

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

Also available in: Atom PDF