[mapserver-users] annotations in mapserver 5.4
Raivo Alla
snaperski at gmail.com
Mon Aug 3 23:12:10 PDT 2009
Hey,
I got some weird behavior while trying to display labels with mapserver 5.4.
With mapserver 5.0.3 these labels show up nicely:
http://picasaweb.google.com/snaperski/Ort#5365984694609689634
But with mapserver 5.4, these layers are shown at scale about
350000-200000, but they will disappear at higher scales, so nothing
can be seen:
http://picasaweb.google.com/snaperski/Ort#5365984694609689634
This could'nt be collision conflict either as they have enough space to fit in.
Is something changed in the way mapserver treats annotations elements?
Data source is a polygon shapefile: I hope that (polygon type) is not
the problem?
The layer itself in the mapfile:
LAYER
NAME alevikAnno_1
GROUP HYBRID
METADATA
"wms_title" "alevikAnno"
"wms_srs" "EPSG:3301"
"wms_extent" "355000 6360000 754000 6660000"
END
STATUS default
TYPE annotation
DATA "kohanimed/alevikud_1"
LABELITEM "TEXTSTRING"
CLASS
MAXSCALE 1333333
MINSCALE 200000
LABEL
TYPE truetype
ANTIALIAS true
FONT "arial"
COLOR 255 255 255
SIZE 9
priority 6
force false
ANGLE auto
OUTLINECOLOR 25 25 25
POSITION cr
BUFFER 1
END
END
END
Raivo Alla
Estonian Land Board
More information about the MapServer-users
mailing list