Hey, no problem:
I don't know if it is essential to have the same layerorder in the layergroup
as in the SLD-file but in my case, in which it's working, it is.
1. add the contents of the SLD file as a new style in GeoServer
2. assign that style to every layer in the layergroup
3. when you send the wms-request make sure to add the sld=... parameter in the
request url
(http://192.1......../geoserver/wms?sld=yoursld.sld&style=&request=GetMap...
(make sure to leave the value of the style parameter empty since this works
only in combination with a splitted layer parameter)
You don't need to upload your sld file to any other location to use the url in
the sld prameter. Once you created a new style in geoserver the SLD-file can be
found in http://192.1...../geoserveer/styles/yourstyle.sld
This is how it worked in my case, I hope this helps...
Frederick Löbig
Röderichstraße 59
60489 Frankfurt am Main
---
E:: [email protected]
P: +49 (0) 69 - 78 99 52 41
M: +49 (0) 174 - 70 89 296
---
Office:
euNetworks GmbH
Ludwig-Landmann-Straße 40560486 Frankfurt am MainP: +49 (0) 69 - 90 554 - 532
E: [email protected]
S: floebig
This email and any attachments may contain confidential and/or legally
privileged information. If you are not the intended recipient, please delete
the email without reading it and notify the sender.
> Date: Thu, 26 May 2011 09:17:23 +1000
> Subject: 1. Re: NamedLayer / FeatureTypeName - Problem in SLD with
> GeoServer
> From: [email protected]
> To: [email protected]
> CC: [email protected]
>
> Dear Frederick,
> I had the same problem at exactly the same time, and was eagerly looking for
> the answers. I did not get them in my digests either :(. Could you please
> send around a summary of the solution?
>
> Thanks,
> Martin
>
>
> On 25/05/11 6:26 PM, "[email protected]"
> <[email protected]> wrote:
>
> >
> > 1. Re: NamedLayer / FeatureTypeName - Problem in SLD with
> > GeoServer
>
> --
> Martin Tomko, PhD.
> Senior Project Manager, Information Infrastructure Design, AURIN
> Level 5, Architecture Building
> University of Melbourne VIC 3010
> AUSTRALIA
>
> T: +61 3 9035 3298
> E: [email protected] <mailto:[email protected]>
> W: www.aurin.org.au <www.aurin.org.au>
>
>
>
>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users