Labels are not displayed in 4.4.1
Eric Bridger
eric at GOMOOS.ORG
Tue Mar 8 08:39:05 PST 2005
On Tue, 2005-03-08 at 08:50, Björn Platzen wrote:
> Hello List,
>
> I just upgraded from Version 3.6.5 to 4.4.1 and now some of my labels don't
> seem to appear...
>
> Here's a snippet from the mapfile:
>
> These Labels don't appear:
> LAYER
> NAME "beschriftung1"
> TYPE ANNOTATION
> DATA "labels"
> STATUS ON
> CLASSITEM "Level"
> LABELITEM "Text"
> LABELANGLEITEM "Angle"
> SYMBOLSCALE 6500
> LABELCACHE on
> CLASS
> EXPRESSION "1"
> MAXSCALE 25000
> LABEL
> ANTIALIAS true
> TYPE TRUETYPE
> FONT swiss
> MINSIZE 6
> SIZE 8
> MAXSIZE 10
> COLOR 0 0 0
> FORCE true
> POSITION uc
> END
> END
> CLASS
> EXPRESSION "43"
> LABEL
> TYPE TRUETYPE
> FONT swiss
> ANTIALIAS true
> MINSIZE 8
> SIZE 12
> MAXSIZE 16
> COLOR 0 0 0
> FORCE true
> POSITION uc
> END
> END
> END
>
> These Labels _do_ appear:
> LAYER
> NAME quartiere
> TYPE POLYGON
> STATUS on
> MAXSCALE 200000
> DATA quartiere
> CLASSITEM "ID"
> LABELITEM "Name"
> LABELMINSCALE 8000
> LABELCACHE off
> CLASS
> EXPRESSION '1'
> STYLE
> SYMBOL 'circle'
> SIZE 6
> OUTLINECOLOR 131 157 197
> END
> LABEL
> #FORCE TRUE
> ANTIALIAS true
> POSITION auto
> SIZE 10
> TYPE TRUETYPE
> FONT swiss
> COLOR 0 51 255
> #OUTLINECOLOR 0 0 0
> END # Label
> END # CLASS
> template "rahmen_q.html"
> END #LAYER
I would concentrate on the differences between your layer which works
and the one that doesn't. E.g. MAXSCALE 200000 vs. MAXSCALE 25000 is
quite a big difference.
You mention ogrinfo, but you don't have CONNECTIONTYPE OGR.
More information about the MapServer-users
mailing list