Hi,

In the geoserver docs for GetLegendGraphic
http://docs.geoserver.org/latest/en/user/services/wms/get_legend_graphic/legendgraphic.html
says
that there is an
*FEATURETYPE  *that its description is* Feature type for which to produce
the legend graphic. This is not needed if the layer has only a single
feature type.*
But when i try to use it seems that not worked. For the topp:state layer
that has popupation style i add another FeatureType  one called  <
FeatureTypeName>teste1</FeatureTypeName> and another called <FeatureTypeName
>teste2</FeatureTypeName> but when o make the following
request to my geoserver it returs both featuretype instead of the one that
i had requested.
Does any one knows if such feature param is implemented in geoserver. I´m
using geoserver version 2.14.

http://localhost:8081/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=topp:states&FEATURETYPE=teste2<http://ijsn208:8081/geoserver/wms?REQUEST=GetLegendGraphic&VERSION=1.0.0&FORMAT=image/png&WIDTH=20&HEIGHT=20&LAYER=topp:states&FEATURETYPE=teste2>

-- 
Felipe Frechiani de Oliveira
Vitória - ES
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to