[OSM-talk] Printed map books
Graham Jones
grahamjones139 at gmail.com
Thu Feb 23 20:38:27 GMT 2012
Hi Paul,
This is very good. I had to convert the print 'xxxxx'.format() statements
into the ' %d ' % (xxx) format to get it to run on my computer (not sure if
that is a python version issue), but it is producing nice clear paginated
output.
Thanks
Graham.
On 22 February 2012 03:38, Paul Norman <penorman at mac.com> wrote:
> I’ve thrown something together in python. It uses mapnik for rendering the
> maps and cairo for page layout. It’s on github at
> https://github.com/pnorman/mapbook but it’s very much in a development
> stage. ****
>
> I intend to add ****
>
> **- **Arrows at the edges, indicating what page to go if you
> want to look in that direction****
>
> **- **An index page at the front****
>
> **- **The ability to skip maps****
>
> ** **
>
> *From:* Graham Jones [mailto:grahamjones139 at gmail.com]
> *Sent:* Sunday, February 19, 2012 2:50 AM
> *To:* Paul Norman
> *Cc:* Steve Bennett; talk at openstreetmap.org
> *Subject:* Re: RE: [OSM-talk] Printed map books****
>
> ** **
>
> My townguide python script does that - it uses a library to put the mapnik
> generated images onto pdf pages along with other text.****
>
> from my phone****
>
> On 19 Feb 2012 09:37, "Paul Norman" <penorman at mac.com> wrote:****
>
> Pdfatlas appears to use a custom rendering language, and I’d rather avoid
> that. It also hasn’t been updated in 5 years.****
>
> ****
>
> What I’m considering writing is a set of python scripts that build the map
> with mapnik and then piece the pages together. Do you think inkscape is the
> easiest way to build the PDFs from the command line?****
>
> ****
>
> ****
>
> *From:* Graham Jones [mailto:grahamjones139 at gmail.com]
> *Sent:* Sunday, February 19, 2012 1:08 AM
> *To:* Steve Bennett
> *Cc:* Paul Norman; talk at openstreetmap.org
> *Subject:* Re: [OSM-talk] Printed map books****
>
>
>
>
>
> Hi,
>
> The two 'townguide' ones are mine, but the demonstration web service at
> townguide.webhop.n...****
>
>
--
Graham Jones
Hartlepool, UK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20120223/502ec27a/attachment.html>
More information about the talk
mailing list