Dear all,<br><br>I added a new symbol in the symbols.sym please see code below.<br><br>Symbol<br>Type PIXMAP<br>IMAGE 'view1.gif'<br>Name 'viewpoint1'<br>Transparent 3<br>END<br>END<br><br>however when I used it for a layer, this error came up:
<b>Warning</b>: [MapServer Error]: msLoadMap(): Undefined overlay symbol "viewpoint" in class 1, style 0 of layer ViewPoints.<br><br>the layer in the map file is defined as:<br><br>LAYER<br> NAME ViewPoints # name of the layer
<br> METADATA<br> "DESCRIPTION" "View Points"<br> END<br> TYPE point # feature type <br> STATUS ON<br> DATA viewpoints<br> CLASSITEM "viewAngle"<br> CLASS<br> EXPRESSION "0"
<br> SYMBOL viewpoint0<br> SIZE 8<br> END<br> CLASS<br> EXPRESSION "1"<br> SYMBOL viewpoint1<br> SIZE 15<br> TEMPLATE "ttt_query.html"<br> NAME "viewangle1"<br> COLOR 255 0 0
<br> END<br> CLASS<br> EXPRESSION "2"<br> SYMBOL viewpoint2<br> SIZE 8 <br> END <br> TOLERANCE 5<br>END<br clear="all"><br><br>Any idea why this is happenning?<br>regards<br><br>-- <br>Jonathan
<br>