This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

how can i see scale and grid on exported images?

1

When i export map, i get only picture, without grid and map scale. How can i add them?

asked 25 Feb '12, 08:19

vladphys's gravatar image

vladphys
16111
accept rate: 0%


4 Answers:

0

You can add them with any image editing software. If you want a more customized map you can try out TileMill.

answered 25 Feb '12, 10:06

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

0

You can ahve a look at coordinate-lines-in-josm ... there is a solution to get grid lines in any *.osm file via an editor.

Or have a look at Maposmatic

answered 25 Feb '12, 16:05

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

0

You can try using qgis that have a proper printing tool.

answered 27 Feb '12, 09:15

NicolasDumoulin's gravatar image

NicolasDumoulin
3.3k42256
accept rate: 13%

0

You have to calculate it yourself and add it with a image editing software (GIMP or Inkscape or the like).

resolution = 156543.034 meters/pixel * cos(latitude) / (2 ^ zoomlevel)

The resolution means how many meters per pixel you get.

scale = 1 : (dpi * 39.37 in/m * resolution)

The scale means, how many cm in reality is 1 cm on the paper (or on the screen).

So if you have a screen with 96 dpi, you get that one pixel is 1.1943 meters. And you get a scale of 1 : 4 231 which means that 1 cm on your screen is 42.3 m in reality.

If you have a printer which prints 300 dpi … (now do the calculations yourself).


There is a wiki page about scaling.

answered 14 Feb '14, 11:52

erik's gravatar image

erik
558152234
accept rate: 9%

Source code available on GitHub .