Hi Pablo,

Welcome to mapnik!

Very cool you are experimenting with typographic maps and mapnik. We should be 
able to get this working better.

One thing I noticed right off is that label_position_tolerance should help a 
bit, but it appears that somehow it is not being parsed via XML.

So, I fixed this in the 0.7.2 development branch (code for next release in 
0.7.x series) and in trunk:

http://trac.mapnik.org/changeset/2440

Can you rebuild mapnik from:

http://svn.mapnik.org/branches/0.7.2-dev/

and try setting label_position_tolerance="100" and see if that helps with more 
regular spacing?

You will still see gaps between labels - likely more than you are aiming for. 
Fixing this looks tricky, so I would encourage you to file a ticket at 
trac.mapnik.org so this request does not get lost.

Dane

On Nov 26, 2010, at 9:38 AM, Pablo Carreira wrote:

> 
> Hi,
> I'm new to mapnik. And I'm having a good time with it, making beautiful maps.
> 
> Now I want to draw a typographic map.So, I want the labels to be very close 
> to each other along a line.
> The problem is that at some intervals there is a "hole" in the label 
> placement.
> Is the any sugestion on how to solve that problem?
> Here is the code and there is an image in anex.
> <TextSymbolizer name="nome" max_char_angle_delta="90" allow_overlap="true" 
> face_name="DejaVu Sans Bold" size="25" fill="rgb(0,0,0)" placement="line" 
> spacing="1" min_distance="0" avoid_edges="0"></TextSymbolizer>
> 
> 
> Regards,
> 
> 
> Pablo Torres Carreira
> 
> 
>                                         
> <mapnikexample.jpg>_______________________________________________
> 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