Hi G,

Classitem and expressions are fine when you are using a shapefile but as I
said my data is stored in a MySQL database where these don't seem to work. 

Here is a copy of the mapfile I tried to use but it still doesn't work!
 
#####################################
# POI layer - points of interest
#
LAYER
     NAME "poi"
     STATUS default
     TYPE point
     LABELCACHE on
 
     CLASS
          NAME "Large fiscal"
          EXPRESSION ([fiscal] < 1)
          STYLE
               SYMBOL "Circle"
               SIZE 8
               COLOR 255 0 0
               BACKGROUNDCOLOR 255 0 0
          END
    END # class
 
     CLASS
          NAME "Small fiscal"
          EXPRESSION ([fiscal] > 1)
          STYLE
               SYMBOL "Circle"
               SIZE 8
               COLOR 0 255 0
               BACKGROUNDCOLOR 0 255 0
          END
    END # class
END # layer poi
#####################################

No classitem need be specified if you use expressions and in fact they will
be ignored if present but as I said this only works with shapefiles not with
MySQL. 

Thanks for your suggestion.

Peter 
-- 
View this message in context: 
http://n2.nabble.com/Symbol-sizes-tp2717421p2724379.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to