classitem
Stephen Lime
steve.lime at dnr.state.mn.us
Tue Apr 18 15:22:20 PDT 2000
The value you use for classitem is Type which is a reserved word and needs
to be quoted. See the manual for more info...
Steve
Stephen Lime
Internet Applications Analyst
Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> "An Tay Nguy" <anguy at geoanalytic.com> 04/18/00 05:05PM >>>
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