Annotation layer doesn't draw
Karsten Vennemann
karsten at TERRAGIS.NET
Sat Jun 9 16:44:55 PDT 2007
Hi list,
I'm a beginner map server user and I couldn't figure out why the following
Annotation layer will not draw on a linux machine (mapserver 4.10 and php
mapscript). It works fine with map server version 4.6 and php mapscript on
windows ...
LAYER
NAME "Populated Places"
GROUP "Places"
TYPE ANNOTATION
STATUS ON
MAXFEATURES 5
DATA "assets/mapdata/newlayers/social_cultural/place_name/nw_pop_places"
LABELITEM "NAME"
CLASS
NAME "Labeled on Map"
LABEL
TYPE TRUETYPE
FONT "verdana-italic"
PARTIALS FALSE
POSITION CC
SIZE 8
BUFFER 5
COLOR 0 0 0
OUTLINECOLOR 217 199 163
END
END
END
The layer's ref in the map file causes the whole map not to draw. If I
remove the layer everything else works fine.
On the server the log gives me:
[Fri Jun 08 17:39:23 2007] [error] [client 67.101.5.35] PHP Warning:
[MapServer Error]: msDrawMap(): Failed to draw layer named 'Populated
Places'., referer:
http://mapserver.commenspace.org/jlt/internal-map.php?WashingtonProtectedLandsDatabase=9ebbabea435c8ae20fca5251f8598245&PSAInternalMapServer=cc81ed7ef87668ec4a0d166acd4e95a0&JLTInternalMapServer=9ac2429ce6f2375aae81835f5fb76c89&extent=-460000%2C405000%2C-415000%2C468000&width=784&height=653&init=1
Karsten
More information about the MapServer-users
mailing list