[OSM-talk] Playing with Mapnik rendering

Jon Burgess jburgess777 at googlemail.com
Wed Jul 25 18:56:20 BST 2007


On Wed, 2007-07-25 at 20:31 +0800, Cameron Patrick wrote:
> Hi all,
> 
> This would possibly be more appropriate on talk-au, but I suspect
> there's a higher concentration of Mapnik gurus and opinionated people on
> talk@ ... yesterday I had a shot at making Mapnik render maps of my area
> that look a bit more like some Australian street directories, where
> roads are thin lines with names written above or below them.  Here's a
> comparison showing a printed street map with Mapnik, Osmarender and my
> tweaked Mapnik styles near where I live:
> 
>         http://largestprime.net/cameron/osm-tmp/nedlands-comparison.jpg
> 

Looks good.

> I switched on text rendering for areas like parks and universities to
> make the map a little more informative, and changed the colours of the
> roads a bit.  (Typically green indicates a freeway and blue a tollway in
> Australian road maps.  The new colours feel a touch garish but I felt
> the current Mapnik rendering was a bit dull.)  I also added a rule to
> render place=suburb in bright orange.
> 
> So, having written all that, I'm not sure exactly where I'm heading ...
> but this drawing maps stuff turns out to be more fun that I'd thought!
> 

I think it would be good for us to collect examples of alternative
styles in case we one day implement multiple style layers on the map.

Would you mind if we added your changed osm.xml as an example into SVN?
Do you have write access? If not I can add it for you.

	Jon






More information about the talk mailing list