[Tilecache] Problem with the installation of TileCache

carlos gordon cagb78 at yahoo.com
Wed Jul 4 21:51:03 EDT 2007


Hi all!
   
  I'm sorry to ask you once again about the same thing, but i'm really stumped trying to configure it the TileCache, untill now i have working my project just with OpenLayer and MapServer, and it works ok, but, you know it's doesn't looks really good until you put in the mix the TileCache... until now i have fail in the process... the thing is i'm not really have much experience with python and the cgi kind of thing, so i don't really know what i'm doing wrong... by know i'm trying to configure it using IIS 5.1. following the next steps...
   
  1. First i download ActivePython2.5.0.0, and install it.
2. I follow the instucctions on the site http://support.microsoft.com/kb/276494,creating the virtual directory and given the permissions
3. I cannot do the 3rd step, change the metabase.xml, because i don't know where it is? 
4. I edit the tilecache.cgi, in this way...

!C:/Python25/python.exe -u

from TileCache import Service, cgiHandler, cfgfiles

if __name__ == '__main__':
    svc = Service.load("C:/Inetpub/wwwroot/tilecache/tilecache.cfg")    
    cgiHandler(svc)

5. I edit the  tilecache.cfg
[cache]
type=DiskCache
base=C:\Inetpub\wwwroot\tilecache\tmp

[base]
type=WMSLayer
url=http://localhost/mapserver/cgi-bin/mapserv.exe?map=/ms4w/apps/metro/map/metro.map
layers=limiteurbano,isla,red250k,red100k,corregimiento250k
extension=png
size=256,256
bbox=-79.64,8.89,-79.29,9.17
srs=EPSG:4326
levels=20
resolutions=1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101
metatile=false
metaSize=5,5
metaBuffer=10

i call de tilecache.cgi from OpenLayers, but it doesn't seems to work properly (i just get pink tiles), and when i use the firefox browser and put the url:
http://localhost/tilecache/tilecache.cgi?layers=base

i get this message:
 %1 is not a Win32 valid application

I'm really needing help with this subject, because i don't know what else to do, and i'm really anxious to make TileCache works... if someone can give me some hand, i will really apreciate...
   
  Regards,



Carlos A. Gordón 
Especialista en GIS 
Tel. (507) 665-49715 
cagb78 at nuzkiamedia.com 
Vía Sonadora, casa 5, 
Penonome, Provincia de Coclé 
Panamá
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20070704/d69c5fa8/attachment.html


More information about the Tilecache mailing list