hholzgra / ocitysmap

Fork of ocitysmap repository at savannah.nongnu.org
Other
35 stars 12 forks source link

Select desired scale when rendering #56

Open maltfield opened 2 years ago

maltfield commented 2 years ago

Feature Request: I'd like to be able to specify the scale of the map.

In my use-case, I use this tool for generating maps before going trekking in the backcountry. Hiking maps are usually a scale between 1:50,000 - 1:100,000.

For example, I'd like to be able to run this to produce a pdf of the given bounded box at a scale of 1:75,000

 ./render.py -t "Ceci n'est pas Paris" -b 48.7268,1.9946 48.6801,2.0742 --scale 1:75000
maltfield commented 2 years ago

See also https://github.com/hholzgra/maposmatic/issues/23