[Tilecache] only 'basic' layers works
Frédéric Junod
frederic.junod at camptocamp.com
Tue Feb 10 02:34:00 EST 2009
Hi,
Do you have any error in the apache error log ?
btw you should try to use the new stable release:
http://tilecache.org/tilecache-2.10.tar.gz
fredj
Le Mon, 9 Feb 2009 18:38:35 -0800 (PST),
floflo <florent.gravin at bluecham.net> a écrit :
>
> Hi,
>
> i installed tilecache-1.9 in /var/www/html/ directory of my CentOS distrib.
> configured the /etc/httpd/conf/httpd.conf to add cgi execution of
> tilecache.cgi with the lines :
> <Directory /var/www/html/tilecache-1.9>
> AddHandler cgi-script .cgi
> Options +ExecCGI
> </Directory>
>
> localhost/tilecache-1.9/index.html works with the metacarta wms layer.
> but when i add new entries in the tilecache.cfg, it doesn't work.
>
> for exemple :
> [aepSpot]
> type=WMSLayer
> layers=toto:PXS
> url=http://172.31.172.244:8080/wms?
> extension=png
>
> and i call in the index.html:
> layer = new OpenLayers.layer.WMS("spot",
> "http://172.31.172.244/tilecache.1.9/tilecache.cgi?", {layers: 'aepSpot'});
>
> it gives me only pink tiles...
> if i change the layer name aepSpot to 'basic' in the tilecache.cfg and
> index.html, it works with the wms i configured...
>
> why does my tilecache only reconize the name 'basic' for my layers... i
> cannot add others layers...
>
> other trouble : index.html works on localhost... but when i call the same
> openlayers code from remote machine, i also have pink tiles....
>
>
> many troubles, if you could help me
>
> thks
>
--
Frédéric Junod
Camptocamp SA
More information about the Tilecache
mailing list