[Tilecache] Problems with Tilecache and WMS

Linde Ackermans roselinda.ackermans at ec.europa.eu
Tue Mar 24 03:49:11 EDT 2009


Hi,

Couldn't it be the famous resolutions problem ? As stated in the tilecache doc, resolutions in the tilecache config and the openlayers map definition must match ....

Linde


Hi,

I have the following problem:

I have defined a layer in the /etc/tilecache.cfg like this (my tilecache.cgi is in /srv/www/cgi-bin/tilecahce-2.10/):

[mapserverwms_agg]
type=WMS
url= http://localhost/cgi-bin/mapserv?map=data/wms2.map
layers=land_grenzen01,layer_mapany_080305_3ba6226287c1622, bezirk_grenzen_01, land_grenzen01,staat01,fluss01, stadt01
extent_type=loose

-------------------------------------------------------
The second code shows the code snippet of openlayers.htm

--------------------------------
 var mapOptions = {maxExtent: new OpenLayers.Bounds(384619.116883103,467965.222077892,505102.701298797,534231.193506524), maxResolution:420,numZoomLevels:21,projection:"EPSG:31297"};



-- 
View this message in context: http://n2.nabble.com/Problems-with-Tilecache-and-WMS-tp2520724p2525217.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list