[Mapserver-users] Symbology on severals field in db

Eric Bridger eric at gomoos.org
Wed Mar 17 07:06:44 PST 2004


Yes this is possible in the mapfile. There are a number of options for
patterm matching in your CLASS EXRESSION.  See:
http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#class
for the exact syntax but it would be something like:
"[product] = ** AND [state] = 1"

On Wed, 2004-03-17 at 03:51, Stéphane RIFF wrote:
> Hello ,
> 
>    I don't know if it's possible but :
> 
>        I want to set a symbology based on two fields : "state, product"
>        I have a layer with a number of class to represent product with 
> an expression : "[product] = **"
> 
>        Know i would like to set the color of each classing the state 
> field wiche can be : "1,2,3,4 or 5"
> 
>   Is it possible with the mapFile or maybe with mapscript....
> 
> I hope i'm understandable
> 
> Thx.
> 
> Steff
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 






More information about the MapServer-users mailing list