[mapserver-users] Mapserver wms-client to tilecache / mapfile definition

2008-10-23 Thread Tiemens, Gerben


Hello list users,


I'm wanting to setup a mapfile with a WMS/Tilecache as source. Is this possible?

I already tried several configurations, but i cannot get an image back. The 
problem is the resolutions and extents that are requested from mapserver 
(monitored the results from tilecache to mapserver with httpmonitor). Is there 
any way to give mapserver these parameters?

Below the part of my mapfile that defines the layer with a tilecache as source.

Thanks already for replies.

Greetings

Gerben


LAYER
NAME om
TYPE RASTER
STATUS ON
CONNECTION http://myserver/tilecache/tilecache.py?;
CONNECTIONTYPE WMS
METADATA
'ows_title' 'om'
   wms_srs EPSG:28992
wms_nameom
wms_server_version  1.1.1
wms_format  image/png
wms_extent  -2,30,30,65
END
END


 Please read our E-mail Disclaimer at the Grontmij Corporate website 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver wms-client to tilecache / mapfile definition

2008-10-23 Thread bartvde
Not directly with Mapserver's built-in WMS client.

You might get lucky with the GDAL WMS-C driver, but it has some
assumptions (like all resolution ratios should be 2) that might not apply
to your TileCache instance.

http://gdal.org/frmt_wms.html

Best regards,
Bart



 Hello list users,


 I'm wanting to setup a mapfile with a WMS/Tilecache as source. Is this
 possible?

 I already tried several configurations, but i cannot get an image back.
 The problem is the resolutions and extents that are requested from
 mapserver (monitored the results from tilecache to mapserver with
 httpmonitor). Is there any way to give mapserver these parameters?

 Below the part of my mapfile that defines the layer with a tilecache as
 source.

 Thanks already for replies.

 Greetings

 Gerben


 LAYER
 NAME om
 TYPE RASTER
 STATUS ON
 CONNECTION http://myserver/tilecache/tilecache.py?;
 CONNECTIONTYPE WMS
 METADATA
 'ows_title' 'om'
wms_srs EPSG:28992
 wms_nameom
 wms_server_version  1.1.1
 wms_format  image/png
 wms_extent  -2,30,30,65
 END
 END


  Please read our E-mail Disclaimer at the Grontmij Corporate website 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



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