Yes, Sumit, I understand - with few classes I can describe different
animals, but the problem is that the same PIG in the map should be in
severel different colours. The column value (eg. big pig - fills white,
biggest pig - fills yellow, very big pig - fills red and so on) I read
from data table...Is it possible to fill the same PIG ( in the same
class) in different colours depending on data column value?
Thanks :)
Sumit Sharma [via OSGeo.org] wrote:
I use CLASSITEM for only one value, I think you can not use it for
multiple values.
However for your problem you can easily solve it by using expression
in class and color value in style
As for your example...
CLASS
NAME "PIG"
EXPRESSION ([ANIMAL] = 'PIG')
STYLE
ANGLE 360
COLOR [ANIMALCOLOR]
OUTLINECOLOR 0 0 0
SIZE 10
SYMBOL "YourPointSymbol"
WIDTH 1
END
END
and so on you can make other classes for different "animals"
Hope this will resolve your problem
View message @
http://osgeo-org.1803224.n2.nabble.com/Mapfile-multiple-CLASSITEM-s-tp5388609p5388702.html
To unsubscribe from Mapfile multiple CLASSITEM's, click here
<http://osgeo-org.1803224.n2.nabble.com/template/NodeServlet.jtp?tpl=unsubscribe_by_code&node=5388609&code=ZG9uYXRhcy5tYWxpbmF1c2thc0BsZ3QubHR8NTM4ODYwOXwyNzc3OTQw>.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users