Skip to content
Prev 20483 / 29559 Next

Scaling the scale bar

Dear list members,

I have got the feeling, that I missed something substantial about /layout.scale.bar/.

For example (not a pretty one, but might clarify my point)
+                   "\\vg250_0101.utm32s.shape.ebenen",
+                   "\\vg250_ebenen",
+                   sep = "")
+                   layer    = "vg250_bld",
+                   encoding = "UTF8")
+           layout.scale.bar(),
+           offset = c(mean(States at bbox[1, ]), mean(States at bbox[2, ])),
+           scale  = 0.1 * mean(States at bbox),
+           fill   = c("white", "black"))
draws a map of Germany?s States. Now, I would like to change the scale bar, so that it shows a distance of 100 kilometers. How can I assure that the length of the scale bar on the map corresponds with 100 kilometers in reality? (It might be too obvious or some other reason I do not get it. It feels already like the dumbest question to myself. So, my apologies in advance.)

Cheers,

Alex