[mapserver-users] tiled label issue - labels cut off in cases where the label fits on one tile but not the other?

Donald Kerr donald.kerr at dkerr.co.uk
Thu Jul 18 10:24:06 PDT 2013


Mark,

Is this the same issue: https://github.com/mapserver/mapserver/issues/4284

Regards,

Donald



-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Mark Volz
Sent: 18 July 2013 18:00
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] tiled label issue - labels cut off in cases where
the label fits on one tile but not the other?

Hello,

I am trying to set up a my mapfile so that I can tile my parcel layer.  I
think I have everything set up correctly, however there are still some cases
where labels are cut off.  After some investigation I came to the conclusion
that I either have something wrong, or that I may have come across a bug or
limitation.

Here is what I did:
1) I set up PROCESSING "LABEL_NO_CLIP=True" so that the entire parcel is
used to calculate the label position
2) I set up POSITION to CC so the label will be centered
3) I verified that PARTIALS is set to FALSE so that labels will "flow off" a
tile
4) I set MINFEATURESIZE to AUTO

Here is what I noticed:
In most cases everything works great.  However,  on a larger label where
some letters may fall on one tile, and other letters may fall on the other
tile, only the tile that has label anchor point of the parcel is labeled.

For Example:
Consider a parcel that should have the label "Joe Smith"  The label is
centered on the parcel.  The label "Joe Smi" appears on the left tile.
However the label "th" is missing from the right tile.

Question:
How can I get the rest of the label to appear on the tile that does not
contain the label anchor point so that the user will see "Joe Smith" instead
of just "Joe Smi"

Thanks


Mark Volz, GISP
GIS Specialist


_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3349 / Virus Database: 3204/6500 - Release Date: 07/17/13



More information about the mapserver-users mailing list