[OSM-talk] nick's new tileserver code

Nick Whitelegg Nick.Whitelegg at solent.ac.uk
Wed Jun 28 14:33:33 BST 2006


 >Now that it looks like Steve has got Nick's new tile server code up and
>running, it looks like it could do with a little adjustment.

I don't think it's quite ready yet, otherwise there'd have been an 
announcement from Steve. He might just be experimenting ATM.

>It seems that if it finds any key/value pairs on something it doesn't 
quite
>recognise, it colours the segments in green.

I set it as yellow with black casing, but it's easily changed just by 
editing an XML configurationfile.

>This makes underground railway tracks green (railway=subway).
>This makes cycle tracks green (highway=cycleway)
>This makes footways green (highway=footway)
>This makes residential roads green (highway=residential)

All those key/val pairs except railway=subway should be recognised 
(currently the xml file only recognises railway=rail) again it's easily 
reconfigured.

Footpaths should be green with no casing. 

>So, before I decide to cycle along the Northern Line, I guess we'd better
>see about configuring up the styles it's missing.

>I can't see why it's rendering Greenway Close a different colour to 
Greenway:

An issue at the moment is that tagged ways with untagged segments will not 
be coloured specifically. This is because the SQL required for ways needs 
optimisation for the rendering to occur at a reasonable speed. Still, I 
support Steve's efforts as the new renderer will include a lot more info 
than the old one - notably tagged segments and POIs.

Nick








More information about the talk mailing list