[OSM-talk] A big map of the UK and an urban area

Jon Burgess jburgess777 at googlemail.com
Sat Jun 16 21:32:14 BST 2007


On Sat, 2007-06-16 at 05:55 +0100, Peter Miller wrote:
>  
> 
> I need to print off a couple of big maps to publicise OSM at a
> Transport Activists venue at Glastonbury.
> 
>  
> 
> Ideally I would like to print onto A2 or even A1 so it can take lots
> of detail.
> 
>  
> 
> Firstly, a map of the whole of the UK, preferably using Mapnik and
> preferably showing the unclassified roads as well as the classified
> ones.

I've developed a small script to output a single large mapnik image tile
of arbitrary size and just added it to SVN:

http://trac.openstreetmap.org/browser/applications/rendering/mapnik/generate_image.py


An example image of 5000x10000 pixels (about 3MB) covering the whole of
the UK is at:

http://tile.openstreetmap.org/uk-map-5000x10000.png

I think this works out at roughly 300dpi on A1. 

I've not tried printing this image so you might want to verify the size
of the text labels are OK. I have a feeling they will be too small and
we may need to tweak the osm.xml style to make them larger (or use a
smaller image).

The 2:1 aspect ratio will not fit a page entirely (should be 1.41:1) for
that. Let me know if you want a different size image, e.g. more of
Europe or Ireland could be included. Alternatively you might want to use
the space to add some extra text / key.

Another possibility is to tweak the script to output a series of A4
sized PNGs which can be assembled in a grid to form a much larger image.
The code was originally designed to do that for the slippy map.

> 
> Secondly, a completed (or nearly completed) town showing walking and
> cycling routes as well as roads.
> 
I'm open to suggestions on a suitable bounding box for this. I could use
the default mapnik osm.xml file or a different one if someone has an
optimised osm.xml style for this sort of map?

	Jon






More information about the talk mailing list