[Mapserver-users] setExpression difficulty

Nick Petersen-Bergeron bergeron at zedxinc.com
Wed Oct 15 07:09:30 PDT 2003


This is the original class definition:

LAYER
         NAME soil
         TYPE POLYGON
         DATA "/home/httpd/cgi-bin/dm/shapes/soiltype"
         STATUS ON
         TEMPLATE void
         CLASSITEM "ID"
         LABELITEM "ID"
         CLASS
                 EXPRESSION "083001"
                 NAME "test1"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 128 32 32
         END
         CLASS
                 EXPRESSION "083002"
                 NAME "test2"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 128 64 32
         END
         CLASS
                 EXPRESSION "083003"
                 NAME "test3"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 128 96 32
         END

         CLASS
                 EXPRESSION "083004"
                 NAME "test4"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 128 128 32
         END

         CLASS
                 EXPRESSION "083005"
                 NAME "test5"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 96 128 32
         END

         CLASS
                 EXPRESSION "083006"
                 NAME "test6"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 32 128 32
         END

         CLASS
                 EXPRESSION "083007"
                 NAME "test7"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 180 45 45
         END

         CLASS
                 EXPRESSION "083008"
                 NAME "test8"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 180 90 45
         END

         CLASS
                 EXPRESSION "083009"
                 NAME "test9"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 180 135 45
         END

         CLASS
                 EXPRESSION "083010"
                 NAME "test10"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 180 180 45
         END

         CLASS
                 EXPRESSION "083011"
                 NAME "test11"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 135 180 45
         END

         CLASS
                 EXPRESSION "083012"
                 NAME "test12"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 45 180 45
         END

         CLASS
                 EXPRESSION "083013"
                 NAME "test13"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 230 58 58
         END

         CLASS
                 EXPRESSION "083014"
                 NAME "test14"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 230 105 58
         END

         CLASS
                 EXPRESSION "083015"
                 NAME "test15"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 230 172 58
         END

         CLASS
                 EXPRESSION "083016"
                 NAME "test16"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 230 230 58
         END

         CLASS
                 EXPRESSION "083017"
                 NAME "test17"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 172 230 58
         END

         CLASS
                 EXPRESSION "083018"
                 NAME "test18"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 58 230 58
         END

         CLASS
                 EXPRESSION "083019"
                 NAME "test19"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 255 102 102
         END

         CLASS
                 EXPRESSION "083020"
                 NAME "test20"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 255 153 102
         END

         CLASS
                 EXPRESSION "083021"
                 NAME "test21"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 255 205 102
         END

         CLASS
                 EXPRESSION "083022"
                 NAME "test22"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 255 255 102
         END

         CLASS
                 EXPRESSION "083023"
                 NAME "test23"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 205 255 102
         END

         CLASS
                 EXPRESSION "083024"
                 NAME "test24"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 102 255 102
         END

         CLASS
                 EXPRESSION "083025"
                 NAME "test25"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 255 140 140
         END

         CLASS
                 EXPRESSION "083026"
                 NAME "test26"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 255 179 140
         END

         CLASS
                 EXPRESSION "083027"
                 NAME "test27"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 255 217 140
         END

         CLASS
                 EXPRESSION "083028"
                 NAME "test28"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 255 255 140
         END

         CLASS
                 EXPRESSION "083029"
                 NAME "test29"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 217 255 140
         END

         CLASS
                 EXPRESSION "083030"
                 NAME "test30"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 140 255 140
         END

                 CLASS
                 EXPRESSION "083031"
                 NAME "test31"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 255 179 179
         END

         CLASS
                 EXPRESSION "083032"
                 NAME "test32"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 255 204 179
         END

         CLASS
                 EXPRESSION "083033"
                 NAME "test33"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 255 230 179
         END

         CLASS
                 EXPRESSION "083034"
                 NAME "test34"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 128 128 128
         END

         CLASS
                 EXPRESSION "083W"
                 NAME "test3W"
                 SIZE 5
                 OUTLINECOLOR 0 255 0
                 COLOR 102 102 255
         END
END

Nick




More information about the MapServer-users mailing list