I like to abuse walking-papers to generate nice printable pdfs from
openstreetmap tiles - the fact that they have some information at the
top gives them the added advantage of being an advertisement for the
project as a whole.

I have just figured out a relatively straightforward recipe for adding
free-form annotations to the maps (e.g. X marks the spot; here is the
party place; here's the route for the nude bike race; whatever.)

1. Make your pdf at http://walking-papers.org/ (let's say you save it
as Orig.pdf)
2. Open it in Inkscape (default import settings are fine)
3. Draw whatever you like on the pdf
4. Delete everything that was there before you started (tile images,
2D barcode, etc. - this might be easier if, before you start, you
select all and group it together)
5. All that's left is your annotations - save them as a pdf (for
example Annot.pdf)
6. Put them onto the original walking-papers pdf with pdftk:

pdftk Orig.pdf stamp Annot.pdf output AnnotatedMap.pdf

I tried saving the whole pdf directly from Inkscape (i.e. not deleting
the background and skipping the pdftk step), but it gave me a huge
file as a result: Inkscape seems to be re-encoding the background
image, and I couldn't figure out how to make it do so at the same
quality and size as the original.  This way, you're guaranteed to get
the walking-paper back untouched, but with your markup added as
vectors.

So:

a) Is it OK to use Walking-papers this way?
b) Is there a good way to get a nice, printable, paper-sized vector
map from OSM data instead of using Walking-papers?

-- 
David Richfield
e^(πi)+1=0

_______________________________________________
Talk-ZA mailing list
Talk-ZA@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-za

Reply via email to