classitem

An Tay Nguy anguy at geoanalytic.com
Tue Apr 18 15:05:40 PDT 2000


Hi everyone,

Does classitem works with text columns?  I tried using a column that is of
text type
and I keep getting an error:

loadString(): Incorrect data type. (Type):(70)

LAYER
  NAME roads_nad27_ll.shp
  TYPE PolyLine
  STATUS on
  DATA 'd:/1_250k/alberta/altalis/ll_nad27/roads_nad27_ll'
HEADER 'roads_nad27_ll.shp_header.html'

    QUERY
        TEMPLATE roads_nad27_ll.shp_query.html
    END #  QUERY

    CLASSITEM Type
      CLASS
        NAME 'Divided Primary'
        EXPRESSION 'Divided Primary'
        COLOR 0 0 0
        OUTLINECOLOR 0 0 0
     END  # CLASS

    CLASSITEM Type
      CLASS
        NAME 'Gravel Primary'
        EXPRESSION 'Gravel Primary'
        COLOR 0 0 0
        OUTLINECOLOR 0 0 0
     END  # CLASS

    CLASSITEM Type
      CLASS
        NAME 'Gravel Secondary'
        EXPRESSION 'Gravel Secondary'
        COLOR 0 0 0
        OUTLINECOLOR 0 0 0
     END  # CLASS

    CLASSITEM Type
      CLASS
        NAME 'Paved Primary'
        EXPRESSION 'Paved Primary'
        COLOR 0 0 0
        OUTLINECOLOR 0 0 0
     END  # CLASS

    CLASSITEM Type
      CLASS
        NAME 'Paved Secondary'
        EXPRESSION 'Paved Secondary'
        COLOR 0 0 0
        OUTLINECOLOR 0 0 0
     END  # CLASS

END  # LAYER





More information about the MapServer-users mailing list