OpenStreetMap

New map-creation functionality in OpenOrienteeringMap

Posted by Ollie on 19 February 2010 in English (English)

I have added a tool to OpenOrienteeringMap which allows for vector PDFs of the map to be created. I use Mapnik's built-in cairo support render the map itself as a vector PDF, and the title, scale, scalebar, north arrow, logo, attribution and URL adornments, margins and start and course control overprints are all added directly using pycairo to an A4 sheet ready for printing. The tool builds up a mock-up using javascript in OpenLayers, the final PDF is produced separately so will look a little different.

My club will be using these maps for two planned "Street-O" races - on Tuesday 9 March in Twickenham (west London) and Tuesday 13 April in the Isle of Dogs (east London). More details at http://www.sloweb.org.uk/streeto/

OpenOrienteeringMap is at: http://oobrien.com/oom/

Location: Furzton, Far Bletchley, Milton Keynes, South East, England, United Kingdom

Comment from acrosscanadatrails on 19 February 2010 at 22:55

Wow! That is awesome work!
I just made a quick map of my area.
Brilliant!

I wish i knew the technical workings behind that to customize it.

Again,
Great Work!

Comment from drlizau on 20 February 2010 at 02:49

I really like the co-ordinates at the bottom right - much easier to skim through the world when you know your destination. Saves downloading lots of tiles.

Comment from Ollie on 21 February 2010 at 20:15

acrosscanadatrails - I'm planning on blogging the technical stuff - particularly how I set up the python/cairo rendering. drlizau - this is a built-in control to OpenLayers - simply add OpenLayers.Control.MousePosition() in your array of controls, when setting up an OpenLayers map, and it appears.

Comment from grenzdebil_bonn on 22 February 2010 at 16:39

Hi Ollie!

This service is really great - its the first osm print service I know of that supports real scales!
I think it would be even greater if other scales like 1:25000 or 1:50000 were also available. This would allow me to print maps of larger areas for hiking etc... :-)

Thanks,
Martin

Comment from grenzdebil_bonn on 22 February 2010 at 16:39

Hi Ollie!

This service is really great - its the first osm print service I know of that supports real scales!
I think it would be even greater if other scales like 1:25000 or 1:50000 were also available. This would allow me to print maps of larger areas for hiking etc... :-)

Thanks,
Martin

Login to leave a comment