[mapserver-users] Problem with "ANGLE FOLLOW"
umn-ms at hydrotec.de
umn-ms at hydrotec.de
Mon Dec 3 02:56:33 PST 2012
Hi
I'm using ANGLE-FOLLOW in Mapserver 6.2 to label lines.
Unfortunately only 5 of 12 features are labeld.
I attach an example with data and mapfile. It can be used with
shp2img -m example.map -o out.png
All features are drawn, but most of them are not labeld, although there
should be enough space for all labels.
(To activate this example, one has to add arialbd.ttf in the
test-directory. I didn't attach this one, because of size-limits
in this mailing-list...)
Without "ANGLE FOLLOW" all labels are drawn.
Benedikt
#Layerdefinition:
LAYER
NAME "Striche"
TYPE LINE
STATUS ON
DEBUG 5
TEMPLATE "dummy.html"
TOLERANCE 0
DATA "Striche"
LABELITEM "name"
CLASS
NAME "Hauptsammler"
LABEL
COLOR 0 0 0
OUTLINECOLOR 255 255 255
OUTLINEWIDTH 6
TYPE truetype
SIZE 5
MINDISTANCE 0
ANGLE FOLLOW
FORCE TRUE
FONT "arial-bold"
BUFFER 10
END
STYLE
OUTLINECOLOR 0 0 0
WIDTH 3
PATTERN 5 5 END
LINECAP BUTT
END
END
END
(See attached file: missinglabel.zip)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: missinglabel.zip
Type: application/zip
Size: 28972 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121203/2fe580ce/attachment.zip>
More information about the MapServer-users
mailing list