Bug report #8210
[Composer] Grid complex linestyle and map scale
|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|
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.