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

Nick Whitelegg nick at hogweed.org
Fri Jan 26 19:52:48 GMT 2007


On Tuesday 23 Jan 2007 20:53, Artem Pavlenko wrote:
> NIck,
>
> Looks like your contours made from disjoined segments. I think connecting
> them into longer polylines would improve text labels.  At the moment there
> is no attempts to render text if segment is not long enough.
>
> Also, you could try pre-calculating label positions and store them in
> separate shapefile? You can even get then lined up nicely ??
>
> Having said all that, I haven't tried to render labels on your contours yet
> :) Where do I get  your styles.xml ?
>

Hello Artem,

I think putting the labels in a separate shapefile might be the easiest 
solution. How do I control the angle at which text is placed?

Thanks,
Nick




More information about the dev mailing list