Hi Maria, 

  

I did use a wms layer within tilecache. 

Therefore I used openlayers and added a tilecache layer like à

  

              var wms = new OpenLayers.Layer.WMS("OpenLayers WMS", 

                              "http://"+ host +"/tilecache/tilecache.py?", 

                              {layers: 'scheemda'},  {minZoomLevel: 5} , 
{type:'png'}, {getURL: get_osm_url}, {transparent: true}, {buffer: 0}, 
{'transitionEffect': "resize"}); 

            map.addLayer(wms); 

  

In the tilecache config-file I configured the layer ‘ scheemda’  like à

  

[scheemda] 

type=WMSLayer 

url=http://localhost/cgi-bin/mapserver46/mapserv.exe?map=C:/ms4w/Apache/htdocs/applicaties/oost-groningen/mapserver/scheemda/algemeen_wms_server2.map
 

layers=nummers 

bbox= 256000, 570500, 268000, 587800 

extension=png 

srs=EPSG:28992 

maxResolution=1000 

mime_type=image/png 

  

So, the wms layer nummers is presented as a tiled layer. 

  

I hope this will be helpful. 

  

Johan 

  

  


Van:maria.neyw...@gmail.com [mailto:mapserver-users-boun...@lists.osgeo.org] 
Namens Maria Neywell
Verzonden:maandag 19 oktober 2009 10:05
Aan:mapserver-users@lists.osgeo.org
Onderwerp:[mapserver-users] TileCache 2.10 - MapServer 5.2


  

Hi list,

I'm using MapServer 5.2 and tilecache 2.10. 

I would like to configure a wms layer in a mapfile to use tilecache 
specifically  for a layer. Thus, when this layer will be displayed, cached 
tiles will be sent by tilecache.

Is it possible to have such a configuration? Does someone know how to configure 
a mapfile to use tilecache with a specific layer?

Thanks,

Maria 

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to