[OSM-talk] buildings

Andy Allan gravitystorm at gmail.com
Wed Jul 25 12:08:26 BST 2007


On 7/25/07, Cameron Patrick <cameron at patrick.wattle.id.au> wrote:
> 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!)

In that case, you should be aware that not all the things in
planet.osm make it into the postgis database. Dave had to change stuff
to get osm2pgsql to put ncn_ref info in the db for my cycle map to
work, for instance - and it may be the same case with other stuff like
this.

Cheers,
Andy




More information about the talk mailing list