I will try to add a group element to every class . With the same group value. A.
Il 25 set 2016 12:51 PM, "aborruso" <[email protected]> ha scritto: Hi, I have a small problem with WMS legend. I have this kind of layer definition in a map file: https://gist.github.com/aborruso/ed4671f1884d48b61275ef70f0f0d2ef This is my legend definiton: LEGEND KEYSIZE 20 10 KEYSPACING 5 5 LABEL FONT "vera_sans" SIZE 8 OFFSET 0 0 SHADOWSIZE 1 1 END # LABEL STATUS ON END # LEGEND I have 3 classes but If I open the legend I see only the 3 class symbols and not the legend labels (look at the below image). <http://osgeo-org.1560.x6.nabble.com/file/n5287624/kBuho1f.png> If I use a layer with only one class I see in the legen also the label. This is the call to my legend object: http://localhost/cgi-bin/mapserv.exe?MAP=/myfolderd/ myfile.map&FORMAT=image/png&TRANSPARENT=TRUE&SERVICE=WMS& VERSION=1.1.1&REQUEST=GetLegendGraphic&_OLSALT=0.47996582672561616&SRS=EPSG: 3857&SCALE=45354.24&WIDTH=250&LAYER=myLayer What's wrong in my layer definition? Thank you very much -- View this message in context: http://osgeo-org.1560.x6. nabble.com/WMS-Legend-with-more-than-one-layer-class-tp5287624.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
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
