On Fri, Jun 15, 2012 at 9:58 PM, Felipe Frechiani <felip...@gmail.com> wrote:
> 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.

The parameter is parsed but then it's not used.

Btw, a style that references explicitly feature types does not make
much sense in
GeoServer, if the names in feature type do not match the layer to
which the style
is associated they simply won't render anything (or at least, they should not,
never relied on that behavior so cannot be sure).

Cheers
Andrea


-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

------------------------------------------------------------------------------
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