Add new symbol in symbols.sym
Jonathan
xnzhang11 at GMAIL.COM
Wed Apr 5 08:40:02 PDT 2006
Dear all,
I added a new symbol in the symbols.sym please see code below.
Symbol
Type PIXMAP
IMAGE 'view1.gif'
Name 'viewpoint1'
Transparent 3
END
END
however when I used it for a layer, this error came up: *Warning*:
[MapServer Error]: msLoadMap(): Undefined overlay symbol "viewpoint" in
class 1, style 0 of layer ViewPoints.
the layer in the map file is defined as:
LAYER
NAME ViewPoints # name of the layer
METADATA
"DESCRIPTION" "View Points"
END
TYPE point # feature type
STATUS ON
DATA viewpoints
CLASSITEM "viewAngle"
CLASS
EXPRESSION "0"
SYMBOL viewpoint0
SIZE 8
END
CLASS
EXPRESSION "1"
SYMBOL viewpoint1
SIZE 15
TEMPLATE "ttt_query.html"
NAME "viewangle1"
COLOR 255 0 0
END
CLASS
EXPRESSION "2"
SYMBOL viewpoint2
SIZE 8
END
TOLERANCE 5
END
Any idea why this is happenning?
regards
--
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060405/2c800e3f/attachment.htm>
More information about the MapServer-users
mailing list