[Tilecache] Question about Tilecache and SLD

David Alda Fernandez de Lezea dalda at ikt.es
Fri Jan 22 04:12:45 EST 2010


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
··················································································



More information about the Tilecache mailing list