2011/2/9 M∡rtin Koppenhoefer <[email protected]>:
> I am using mapnik stable and am experiencing a strange bug with shield
> symbolizers. I wonder if this is already known, and if others
> experienced the same issue.
>
> Sometimes (actually rarely) the label-text of a shield label is moved
> outside the actual shield. This happens only rarely and the same rules
> create mostly valid shields. I am rendering single (test)-tiles with
> generate_tiles and set the buffer to 350 pixels (tile size is 256),
> maybe this is connected?
>
> See an example here (in the lower right corner is the empty shield,
> the text is left from it in the center):
> http://img703.imageshack.us/img703/3912/759e.png


I think I found the reason: I am using "point" placement instead of
line-placement. Is it possible to use point-placement on road-shields?

The reason for me to use it was that I needed character-spacing which
is only working in point-placement, and I also want to use the dx/dy
offsets which seem to be working as well only in point-placement (to
offset the text, I don't use the shield-offsets, but I use asymmetric
shield icons).

Are these to be considered bugs (so I would file a ticket) or is it my
fault to use point-placement where I can't do it? The strange thing is
that it generally works, but sometimes it creates these strange
offsets (outside the shield, sometimes repeated up to 4 times the same
shields text hundreds of pixels away, the offset is always only
horizontal, never vertical).

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

Reply via email to