[OSM-dev] New Mapnik style for waterway=dock

John McKerrell john at mckerrell.net
Fri Sep 21 09:15:06 BST 2007


Hi

Trying to fix up docks so that they look a bit better in mapnik:

http://www.informationfreeway.org/? 
lat=53.34932557957443&lon=-2.9075997730638217&zoom=15&layers=0000F0B0

I'm not too confident on changing mapnik styles but I'd be interested  
to learn a little more, I'm guessing I can either change the existing  
style for something similar, e.g.:

[landuse] = 'reservoir' or [landuse] = 'water'

becomes

[landuse] = 'reservoir' or [landuse] = 'water' or [waterway] = 'dock'

or would it be better to add a whole new Rule, which I guess could be  
a straight copy of the reservoir/lake one? I guess we might not want  
the docks to show up at the same scales but I imagine the same as  
lakes or reservoirs would be fine.

Any thoughts?

John




More information about the dev mailing list