[mapserver-users] tiled label issue - labels cut off in cases where the label fits on one tile but not the other?
Mark Volz
MarkVolz at co.lyon.mn.us
Thu Jul 18 09:59:55 PDT 2013
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
More information about the MapServer-users
mailing list