Hi Philip,

There is no easy way.

See http://trac.mapnik.org/ticket/13 and a potential solution at  
comment #11 (http://trac.mapnik.org/ticket/13#comment:11).

I didn't provide much detail so feel free to follow up with questions.

In general, if it is possible to merge adjacent lines to create longer  
lines for labeling, then that is a nice solution. If that is not  
possible in your case, then I figure that truly calls for some way of  
placing text longer than lines, which is not supported.

Dane


On Dec 3, 2009, at 7:03 AM, Philip Stubbs wrote:

> Hi All,
>
> Is there an easy way to force Mapnik to turn on street name rendering
> even when the road is too short?
>
> I want to generate a number of small maps for printing. However, I
> need every road to be named, but by default, when the road is short
> the name is omitted. For my situation, it would be better to have a
> name hanging over the ends of the road. I have been looking through
> the osm.xml file, but could do with a pointer as to what to look for
> and change.
>
> Thank you very much.
> -- 
> Philip Stubbs
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to