[Tilecache] Question about Tilecache and SLD

Guillaume Sueur no-reply at neogeo-online.net
Fri Jan 22 04:17:38 EST 2010


Hi,

Actually, I would include the sld parameter into tilecache layer
configuration (tilecache.cfg), and not on the client side. TileCache is
intended to store tiles, you can't change them on the fly. 

Regards,

Guillaume

Le vendredi 22 janvier 2010 à 10:12 +0100, David Alda Fernandez de Lezea
a écrit :
> Is it possible to apply a SLD to a tilecache layer?
> 
> For example:
> 
> var layer = new OpenLayers.Layer.WMS( "My Layer", 
> 			"http://localhost/cgi-bin/tilecache-2.10/tilecache.py?",
> 			{ transparent: 'true', layers: 'recintosSigpacUSOSP', SLD: "http://localhost/ol_visor/sld/usoSP.xml"},{isBaseLayer: false, reproject: false, visibility: false, units: 'm', maxExtent: new OpenLayers.Bounds(460000, 4710000, 610000, 4820000), maxResolution: 292.96875} );
> 		
> I've try to do it, but it doesn't seem to colour my layer.
> 
> Any idea?
> 
> 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: dalda at ikt.es                                web: www.ikt.es
> ··················································································
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
> 



More information about the Tilecache mailing list