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

Nick Whitelegg nick at hogweed.org
Tue Jan 23 22:44:35 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 ?
>
> Cheers,
> --Artem

Hello Artem,

OK thanks. The xml file is available at
http://nick.dev.openstreetmap.org/mapnik2/freemap2.xml

Nick




More information about the dev mailing list