marwa El-said wrote:
> I need to know how can i change the sld file dynamically for a layer
> published on geoServer2.0.2 from the url of previewing any layer,
>
> is this doable or not?
>
> as I tried to do that but geoServer response doesn't consider any
> change in the SLD parameter in the url
If I understand your problem right, you are trying to supply an external SLD
with your request to change how a layer is represented on-the-fly, and can't
get it working.
You'll have to post your SLD, otherwise there is no way of us knowing what's
going on. Did you validate it? If not you can do that with Geoserver, just
pretend you are making a new style and hit 'Validate'.
Also if you are using a NamedLayer then make sure that it has a Name that
matches your Geoserver layer name. You don't need this for styles that you've
added to Geoserver; only when you're using the SLD parameter to specify one.
Regards,
Miles
___________________________________________________________________________
Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not
the
intended recipient, you are notified that use or dissemination of this
communication is
strictly prohibited by Commonwealth law. If you have received this transmission
in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232
3209 and
DELETE the message.
Visit our web site at http://www.antarctica.gov.au/
___________________________________________________________________________
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users