[Tilecache] only 'basic' layers works

floflo florent.gravin at bluecham.net
Wed Mar 11 19:32:22 EDT 2009


tilecache.cfg

[basic]
type=WMS
layers:koumac:communes
url=http://172.31.172.244:8080/geoserver/wms?
extension=png
srs=EPSG:4326

[basic2]
type=WMS
url=http://labs.metacarta.com/wms/vmap0
extension=png

index.html

layer = new OpenLayers.Layer.WMS( "VMap0", 
                    "http://localhost/tilecache-2.10/tilecache.cgi?",
{layers: 'basic', format: 'image/png' } );


i'm sure it's the right config file because index.html call my geoserver
tiles, it works
basic2 is the metacarta wms, if i call layers: 'basic2' in my index.htm, i
only get pink tiles with the message in error.log

>[Thu Mar 12 09:13:34 2009] [error] [client 127.0.0.1] Cache hit:
-180.0,-90.0,-90.0,0.0, Tile: x: 0, y: 0, z: 1, time: 0.0, debug: True\r,
referer: http://localhost/tilecache-2.10/

if i switch basic2 to basic in my config file.. i get metacarta tiles
alright...

for the moment, the only thing i can do is to dump all tiles of a layer on
my disk, and then change its name in my file explorer........


i must be missing something because it's the same trouble on 3 machines,
linux or windows....

http://localhost/tilecache-2.10/tilecache.cgi/1.0.0  gives
<TileMapService version="1.0.0">
−
<TileMaps>
<TileMap href="http://localhost/tilecache-2.10/tilecache.cgi/1.0.0/basic2/"
srs="EPSG:4326" title="basic2" profile="global-geodetic"/>
<TileMap href="http://localhost/tilecache-2.10/tilecache.cgi/1.0.0/basic/"
srs="EPSG:4326" title="basic" profile="global-geodetic"/>
</TileMaps>
</TileMapService>



-- 
View this message in context: http://n2.nabble.com/only-%27basic%27-layers-works-tp2300667p2464498.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list