Has Geoserver the capability to show a specimen of a TextSymbolizer in the legend with the GetLegend request ?
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
Has Geoserver the capability to show a specimen of a TextSymbolizer in the legend with the GetLegend request ?
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
Hi Luca,
not right now, but it would be easily added.
One way of doing it would be that provided that each rule in an SLD doc has a
name properly set, we could use that name for the text sample at the right of
the legend graphic.
But due to the way the spec is set, I guess that wouldn't be the best
solution, since if you have a StyledLayerDescriptor with more than one rule,
your WMS client can ask for the legend graphic of each specific rule and take
care of laying out the legend itself. This way, though it imposes more
complexity to the client, both a web based client or a rich client could
completely manage how they present the legend, regardless of how a particular
WMS implementation behaves (since how to build the actual legend graphic is
almost left to the WMS criteria)
In the later case, I guess we could create the normal legend graphic with a
single letter on top of it with the rule's configured font to represent that
symbol is accompanied of a TextSymbolizer and how does the text in labels
look.
Would you be so kind of adding a JIRA issue for this capability?
(http://jira.codehaus.org/browse/GEOS, you have to create an account if still
didnt in order to be able of reporting issues)
Schedule it for version 1.4.1 and I'll take care of ensuring it is
incorporated asap.
best regards,
Gabriel
On Sunday 23 July 2006 16:01, Luca Morandini wrote:
Has Geoserver the capability to show a specimen of a TextSymbolizer in
the legend with the GetLegend request ?Regards,
--------------------
Luca Morandini
www.lucamorandini.it
---------------------------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your opinions on IT & business topics through brief surveys -- and earn
cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Gabriel Roldán (groldan@anonymised.com)
Axios Engineering (http://www.axios.es)
Tel. +34 944 41 63 84
Fax. +34 944 41 64 90
Gabriel Roldán wrote:
Would you be so kind of adding a JIRA issue for this capability?
Done: GEOS-667.
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------