Hi, I can't figure out how classgroup and group work. I have defined the following layer. Using it with this query http://ipaddress/cgi-bin/mapserv.exe?map=\path\mapfile.map&mode=map I get all the points on a map but the style is not applied. If I remove the 2 CLASSGROUP statements but keep the GROUP key and launch the same query the layer features show up with style applied. why is that?
Also, Is it possible to define a query string and specify which classgroup to show on the map? What would be the parameter then? I tried &group= xxx and &classgroup=xxx and it didn't work thanks Steve LAYER NAME 'DesastresQc' TYPE POINT DATA '.....' METADATA 'wms_title' 'DesastresQc' END STATUS DEFAULT TRANSPARENCY 100 PROJECTION 'proj=longlat' 'ellps=WGS84' 'datum=WGS84' 'no_defs' '' END CLASSGROUP "bio" CLASSGROUP "meteo" CLASSITEM "TYPE_F" CLASS NAME "Épidémique" GROUP "bio" EXPRESSION 'EP' STYLE SYMBOL ep SIZE 8 OUTLINECOLOR 0 0 0 COLOR 130 230 250 END END #class CLASS NAME "Infestation" GROUP "meteo" EXPRESSION 'IN' STYLE SYMBOL in SIZE 8 OUTLINECOLOR 0 0 0 COLOR 130 230 250 END END #class
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users