[Tilecache] only 'basic' layers works
floflo
florent.gravin at bluecham.net
Mon Mar 9 01:24:35 EDT 2009
i installed tilecache-2.10 and keep having the same problem
there is no error in my apache error.log...
still only 'basic' layer works... so i need to have only one layer, called
basic if i want to run tilecache...
thks for help if any idea
Frédéric Junod wrote:
>
> 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
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
>
>
--
View this message in context: http://n2.nabble.com/only-%27basic%27-layers-works-tp2300667p2447577.html
Sent from the TileCache mailing list archive at Nabble.com.
More information about the Tilecache
mailing list