[OSM-dev] Rendering Route Relations with Mapnik

Graham Jones grahamjones139 at gmail.com
Tue Jul 19 09:53:45 BST 2011


Thanks Andre,

>
> A little bit late, but I have written some wiki-Pages documentating my own
> Mapnik-Styles:
>
> For quite a while I have been thinking of trying to set up something to
share tips, tricks and examples for producing maps from OSM data - we have
tools to make the rendering toolchain and quite a few sets of instructions
for setting up the toolchain, but we do not have a lot of guidance on
writing stylesheets for OSM data.   Although the main mapnik style is really
good, it is so complex that it is not good as a worked example for someone
to learn from.

For example, there are quite a few renderers that have different ways of
writing styles, and even if you pick mapnik, there are at least three
different ways of writing stylesheets (XML, Cascadenik and Cairo).

I have been experimenting with Cairo lately, because this appears to lend
itself to writing more 'elegant' styles (although the layer definitions
remain ugly), and storing the files on github (so I can get them back when I
break them...) [
https://github.com/jones139/Mapnik-OSM-Styles/tree/master/three_villages_map.if
anyone is interested].   I have also got bits and pieces of documentation
that I have written in response to specific questions (e.g.
http://www.slideshare.net/jones139/rendering-openstreetmap-data-using-mapnik
).

Would anyone be interested in sharing examples of styles they have produced
etc.?   I think there is a 'stylesheets' wiki page that we could update with
a set of links for starters, but I could see it develop into something a bit
more detailed with tutorials etc.   I will make a start on it if people
think it would be useful.

Regards


Graham.

-- 
Graham Jones
Hartlepool, UK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20110719/af320bca/attachment.html>


More information about the dev mailing list