[mapserver-users] Undefined symbol error

Lyndon Zimmermann lyndon.zimmermann at adelaide.edu.au
Thu Jun 28 02:45:47 EDT 2001


Greetings MapServer Listers,

amongst other things, I'm trying to get ms34png_ogr, the NT and PNG
version of MapServer 3.4, going on an NT4 machine.

I've set up ms_demo and created the new symbol.sym file, edited the
demo.map file and on initialisation get:

msLoadMap(): General error message. Undefined symbol
"county_highway_shield" in class 0 of layer roads.

My (successful) workaround is the remark out:

LAYER
  NAME roads
  MAXSCALE 300000
  STATUS ON
  DATA ctyrdln3
  TYPE ANNOTATION
  LABELITEM "road_name"
  CLASS
    COLOR 255 255 255
    SYMBOL 'county_highway_shield'    
    LABEL
      MINFEATURESIZE 40
      MINDISTANCE 150
      POSITION CC
      SIZE TINY
      COLOR 0 0 0
    END
  END
END # county road annotation

and a couple of other type ANNOTATION layers, but although the demo
works I presume that loses these symbols, and my real project needs
them.

Any clues?

Lyndon Zimmermann
Adelaide, Australia



More information about the mapserver-users mailing list