Hello,
 
I want to apply some SLD generated on the fly through SLD_BODY parameter using 
the following code:
 
var sld = getSLD("sld1.xsl","pilaXML.xml");
var wms = map.getLayersByName("myLayerName")[0];
wms.mergeNewParams({SLD_BODY: sld});
 
but I don't get any result. The image is refreshed in the browser but there's 
no selection at all. I've got a debug file for my WMS server and I don't seem 
to get any error:
 
[Fri Nov 13 09:00:18 2009].346000 CGI Request 1 on process 5940
 
My SLD contains 2084 characters, it could be that the problem? Or maybe I'm 
doing something wrong. Has anybody any idea of what's happening??
 
Thanks.
 

 

 

Un saludo,

 

··················································································


David Alda Fernández de Lezea

Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad

 

IKT

Granja Modelo s/n · 01192 · Arkaute (Araba)


··················································································
Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
··················································································
email: [email protected]                                web: www.ikt.es 
<http://www.ikt.es/> 
··················································································

<<logo.gif>>

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to