[mapserver-users] TileCache 2.10 - MapServer 5.2

Johan Ruiter j.ruiter at geon.nl
Mon Oct 19 01:31:50 PDT 2009


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.neywell at gmail.com [mailto:mapserver-users-bounces at lists.osgeo.org] Namens Maria Neywell
Verzonden:maandag 19 oktober 2009 10:05
Aan:mapserver-users at 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 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091019/f9cc6a23/attachment.htm>


More information about the MapServer-users mailing list