On Thu, Jul 14, 2011 at 8:03 AM, Adam Ratcliffe
<[email protected]> wrote:
> Hi,
>
> I've got a WMS layer where I'm using an external SLD that I reference via the 
> 'SLD' parameter.  Within the SLD I have both a PointSymbolizer and a 
> TextSymbolizer defined.  If I use a property name as the value of the 
> TextSymbolizer's label nothing is displayed, modifying the SLD to use a 
> static string works fine.
>
> Strangely if I create a style in GeoServer using the same FeatureTypeStyle 
> definition and set that as the default style for the layer it renders 
> correctly in the Layer Preview.  Can anybody explain why the label is not 
> displaying when using the external SLD?

Using use provided SLD is tricky as it has various operation modes,
people often haven't read the SLD
appendix in detail and trip over "library mode" behavior.

Can we see the full GetMap URL, as well as the full SLD?

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

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

-------------------------------------------------------

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to