[OSM-dev] Mapnik rendering of mountain_pass = 'yes'
tom at compton.nu
Wed Oct 8 08:51:53 BST 2008
Stefan Wenk wrote:
> The problem is that according to the defintion the "mountain_pass" tag applies
> to nodes, not to ways. Therefore the rendering uses an icon. The icon would
> need to be rotated according to the direction of the way at the specific
> node, which is tagged with mountain_pass='yes'.
There are a number of things which need this, but it isn't something
that mapnik can do at the moment.
> Are there other possilities and what is the best method of addressing this
Enhance mapnik to support this concept - it probably means allowing
point symbolizer to specify that an icon should be aligned at a
particular angle. The angle could either be computed by the point
symbolizer itself by allowing it to refer to a line geometry that gave
the angle or it could be precomputed in the SQL somehow.
Tom Hughes (tom at compton.nu)
More information about the dev