[ka-Map-users] Bug in label rendering

Christopher Schmidt crschmidt at crschmidt.net
Tue Nov 14 09:07:14 EST 2006


On Tue, Nov 14, 2006 at 02:55:46PM +0100, Loïc MAZE wrote:
> Hi all,
> 
> I have some troubles with the current version of Ka-map. I would like to draw some labels thanks to the label object used by Mapserver to define a label. They are well drawn by Ka-Map but they are often truncated at tile boundaries. It happens when the label is too long to be contained by one tile. It really seems like this bug : http://bugzilla.maptools.org/show_bug.cgi?id=1379 . It is marked as resolved for the 0.2 version of Ka-Map but changing the $metaBuffer var (in config.php) doesn't work for me. I have played with the values of the other vars contained in this file but I was unsuccessful.

Does your mapfile have "PARTIALS OFF" on your label layers? This is
probably important: it prevents mapsever from trying to draw off the
edge of the map. If this isn't the case, ka-Map won't draw them
correctly regardless, because its edge label prevention is simply not
taken into account.

I'd recommend trying that, and if it doesn't work, report back.

Regards,
-- 
Christopher Schmidt
Web Developer


More information about the ka-Map-users mailing list