[OSM-talk] Cross-renderer tag support, now with OSMdoc!

Lennard ldp at xs4all.nl
Sat Dec 19 23:46:09 GMT 2009


Steve Bennett wrote:

> As I read that, Mapnik will draw any barrier that is not a hedge as a 
> black line. But as pointed out, this presumably only applies to ways 
> because it's a LineSymbolizer rather than a PointSymbolizer.

You can also draw a polygon with a LineSymbolizer (drawing only the 
outline), so that is not the whole story of this rule. The other part 
that is needed here is the actual query in the <Layer>, which is indeed 
drawing from the planet_osm_line table.

So this one boils down to: mapnik will draw any linear barrier, that is 
not a hedge, as a black line.

This is completely separate from the rendering of nodes, where it will 
(as mentioned before) only render barrier=gate, nor of the completely 
absent rendering of area barriers.

>     Is it worth adding Cycle Map?
> Probably - I'll have a look. It's just a different stylesheet for Mapnik 
> afaik, but that doesn't make it less useful.

Good luck getting the Cycle Map stylesheets.

-- 
Lennard




More information about the talk mailing list