[ms4w-users] Class Error

Jeff McKenna jmckenna at dmsolutions.ca
Mon Oct 11 16:01:05 EDT 2004


Hello Ike,

For general MapServer questions (including mapfile issues) please use 
the main MapServer list 
(http://lists.umn.edu/archives/mapserver-users.html).  There are many 
users on that list and you will find it an excellent resource.  thanks. 
  Also, you should always include the error messages that you mention in 
your email...this helps people understand your problem.

jeff




Ike Brian wrote:
> 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 <http://vote.yahoo.com> - Register online to vote today!
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ms4w-users mailing list
> ms4w-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users


-- 
Jeff McKenna
GIS Specialist
DM Solutions Group Inc.
http://www.dmsolutions.ca



More information about the ms4w-users mailing list