The classes are fine for defining your 25 combinations to make them look the way you want to.
To the question about your shapefile--you could keep as one shapefile and define you connection to the data as shown here: http://mapserver.org/input/vector/ogr.html Define a static filter at first to test. Then, when that works, you can use variable substitution: http://mapserver.org/mapfile/variable_sub.html At least that's what I'd try. Alex On Fri, Nov 12, 2010 at 11:08 AM, Simone Frigerio <simone.frige...@univie.ac.at> wrote: > > Hi folk, > one question on visualization based on logic criteria. > I have a huge vectorial shp file (thousand of records). An example of > attributes as following: > ShapeABCDCOMBI > Polygon00340_0_3_4 > Polygon00300_0_3_0 > ........................ > There are 25 combination of the 4 fields A-B-C-D visualized by unique code in > COMBI field. > I managed a mapfile like: > ... > LAYER > NAME "MH" > TYPE POLYGON > DATA "melanie/topo" > TRANSPARENCY 35 > GROUP "MASCHERA" > STATUS ON > TEMPLATE "ttt" > CLASSITEM "COMBI" > CLASS > EXPRESSION "0_0_3_0" > STYLE > COLOR 25 255 255 > OUTLINECOLOR 0 0 0 > END > END > END > .... > I visualize in this way only the polygons with the value in COMBI field. I > can obviously add same class expressions for every value I want. My doubt is: > if I need to visualize all the "n" combination available like differently > "n" layers in a same view how can I do? I have to separate the original file > in 25 shp layers (quite boring) or can I provide using only the original > complete shp file? > Example on the layer tree: > > Thanks. > > Simone > > -- > > > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users