SVN Broken
Stephen Woodbridge
woodbri at SWOODBRIDGE.COM
Wed Jul 18 10:43:36 EDT 2007
Daniel Morissette wrote:
> Stephen Woodbridge wrote:
>> I just did an SVN update and get the following error:
>>
>> msLoadMap(): General error message. Undefined overlay symbol "circle"
>> in class 2, style 0 of layer Point_Landmarks.
>> msAddImageSymbol(): Unable to access file. Error opening image file
>> /u/data/maps/circle.
>>
>
> Um... this may be related to my recent commit to switch to dynamic
> allocation of symbols in r6337
>
> https://trac.osgeo.org/mapserver/changeset/6337
>
> Can you try reverting back to r6336 and let me know if the problem goes
> away?
>
> If it does then please let me know how this circle symbol is defined
> since regular symbolsets work for me.
>
> Daniel
Daniel,
Here is the part of the layer definition that is generating the error:
LAYER
NAME "Point_Landmarks"
STATUS DEFAULT
DATA "landpt"
TYPE POINT
TILEINDEX "tgrindex"
CLASSITEM "CFCC"
LABELITEM "NAME"
MAXSCALE 10100.0
CLASS
EXPRESSION /D3[24567]|D2[37]/
# Do not display these
END
CLASS
EXPRESSION ([NAME] eq '')
# Do not display items that have no name
END
CLASS
NAME "Schools"
EXPRESSION /D43/
SYMBOL "circle"
COLOR 220 220 5
OUTLINECOLOR 0 0 0
SIZE 7
LABEL
FONT "arial"
TYPE TRUETYPE
POSITION AUTO
SIZE 7
BUFFER 4
COLOR 0 0 0
OUTLINECOLOR 245 245 231
#ANTIALIAS TRUE
PARTIALS FALSE
END
END
CLASS
NAME "Public Buildings"
EXPRESSION /D65/
SYMBOL "circle"
COLOR 200 75 200
SIZE 7
LABEL
FONT "arial"
TYPE TRUETYPE
POSITION AUTO
SIZE 7
BUFFER 4
COLOR 0 0 0
OUTLINECOLOR 245 245 231
#ANTIALIAS TRUE
PARTIALS FALSE
END
END
CLASS
NAME "Cemeteries"
EXPRESSION /D82/
SYMBOL "cemetery"
COLOR 255 0 0
SIZE 7
LABEL
FONT "arial"
TYPE TRUETYPE
POSITION AUTO
SIZE 7
BUFFER 4
COLOR 0 0 0
OUTLINECOLOR 245 245 231
#ANTIALIAS TRUE
PARTIALS FALSE
END
END
...
END
More information about the mapserver-dev
mailing list