Class Error

Ike Brian ikebrian at YAHOO.COM
Mon Oct 11 12:38:31 EDT 2004


Hello,
I am trying to classify the a polygon and have the following codes but was given me error messages.Could anyone help me to debug it?

#

# Start of layer definitions

#

LAYER

NAME "prov_bound"

STATUS ON

DATA "province"

TYPE LINE

UNITS METERS

SIZEUNITS PIXELS

TOLERANCE 0

TOLERANCEUNITS PIXELS

METADATA

"DESCRIPTION" "Province"

END

CLASSITEM 'SYMBOL'

# SYMBOL needs single quotes because it's both a field name in the shapefile and a keyword for .MAP files

CLASS

COLOR 255 120 120

SYMBOL 0

EXPRESSION ([REG_CODE]=10)

NAME "Terre-Neuve"

END

CLASS

COLOR 120 255 120

SYMBOL 0

EXPRESSION ([REG_CODE]=11)

NAME "Ile-du-Prince-Edouard"

END

CLASS

COLOR 120 120 255

SYMBOL 0

EXPRESSION ([REG_CODE]=12)

NAME "Nouvelle-Ecosse"

END

Thank you very much hoping to hear from you




---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20041011/5a2fbc10/attachment.html


More information about the mapserver-users mailing list