mapnik-org/mapnik — Issue #36: Vertical Displacement of line text
Author: artemp
Created: 2011-10-11 07:31:57+00:00
State: open
Labels: Core_Library

It would be nice to be able to write text along a line with a "vertical" displacement, so that a streetname could be rendered alongside the street. Similar to that for the dy attribute to point textsymbolizer.

{{{ }}}

The displacement would probably refer to the distance between the line and text path at right angles to the line, rather than a vertical displacement on the final render. The latter wouldn't work for north-south streets!

Consideration would need to be given to corners in lines, e.g. the displacement given would indicate the gap between the two paths, and would have to be maintained around the corners.