S.L.Chilton at mdx.ac.uk
Wed Jul 25 11:58:59 BST 2007
Whilst also not wishing to build up expectations I have also started
working on some ideas for tweaking the osm.xml style file for the mapnik
layer on slippy.
Thanks to some excellent support I have mapnik running locally on an XP
box and can test things in this setup before commiting back to SVN.
It is a pretty steep learning curve for me (not least de-composing the
XML and seeing what it all does and when), so don't expect masses of
things to appear immediately (and remember the week lag for planet
For instance, I think I understand what is needed to render generic
building tag with some standard fill and line but have yet to actually
do it. If someone else has done it and submitted to SVN then perhaps you
could mail me off-list.
So, please don't send me loads of suggestions, but hey watch this space.
Steve Chilton, Learning Support Fellow
Learning and Technical Support Unit Manager
School of Health and Social Sciences
phone/fax: 020 8411 5355
email: steve8 at mdx.ac.uk
Chair of the Society of Cartographers: http://www.soc.org.uk/
SoC conference 2007:
Mind the (Map) Gap:
From: talk-bounces at openstreetmap.org
[mailto:talk-bounces at openstreetmap.org] On Behalf Of Cameron Patrick
Sent: 25 July 2007 11:37
To: talk at openstreetmap.org
Subject: Re: [OSM-talk] buildings
Dave Stubbs wrote:
> > Nah, that should be easy to fix by editing the Mapnik XML. It's not
> > that scary, honest!
> Hey! Who was scared?! :-)
Hehe. I was when I first started poking it :-)
> It may not be scary, but it is completely undocumented. Unless there
> is some hidden documentation somewhere.
That's true, as far as I can tell.
> So how would you fix the XML? Botch the SQL, or is there some weird
> and wonderful symbolizer incantation?
The railway field is already being put into the database and pulled out
again by mapnik. It should be a matter of adding a symbolizer
incantation - I'd probably copy/paste/adapt from the one for school and
change the colouring. (These are in the <Style name="leisure"> block
for no good reason that I can see!)
Cameron (Disclaimer: I only started fiddling with Mapnik last night so I
may be leading you up the garden path here!)
talk mailing list
talk at openstreetmap.org
More information about the talk