[OSM-dev] Mapnik : any way of controlling the frequency text is written on polylines?

Artem Pavlenko artem at pavlenko.uklinux.net
Tue Jan 23 17:21:32 GMT 2007


Hi Nick,

>
> I'm trying to get heights to appear on contours, e.g. at:
>
> http://nick.dev.openstreetmap.org/mapnik2/100455105.png
>
> However, the height labelling only appears infrequently. At a guess it
> only places text along a sufficiently straight section of line. The XML
> code is:
>
> <Rule>
> <TextSymbolizer name="height" face_name="Bitstream Vera Sans Roman"
> size="8" fill="#fb9b67" halo_radius="0" placement="line"/>
> </Rule>
>
> Is there a parameter I can set to increase the frequency of text placement
> along the contour lines?
>

There used be such parameter, but I'm not sure it's stil there:).  I'll have a 
look. Could I have  some small subset of your contours for testing??
Cheers,
-- Artem 
> Thanks,
> Nick




More information about the dev mailing list