Bug report #8210

[Composer] Grid complex linestyle and map scale

Added by Hien TRAN-QUANG over 11 years ago. Updated over 10 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Map Composer/Printing
Affected QGIS version:master Regression?:No
Operating System:Linux Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:17025

Description

I went across a bug in print composition.

Create a map, with a scale of 50000.
Enable a grid (1000m x 1000m), and make a custom line style, by adding a line of symbol. If I choose a symbol every xx map units, I need to calculate a factor to get the correct placement of the symbol : 1000 (a point every kilometer) / 50000 (current scale) * 100 (why ?) = 20.

For a scale of 40000, a value of 25 is needed and so on.

If I choose a symbol every xx cm, everything seems fine.

Associated revisions

Revision 4a70d1b9
Added by Nyall Dawson over 10 years ago

[composer] Correctly handle symbology using map units when drawing grid lines and overlays on maps (fix #8210)

History

#1 Updated by Paolo Cavallini almost 11 years ago

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

#2 Updated by Nyall Dawson over 10 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF