[Tilecache] Fwd: Help with Tilecache on IIS and windows XP

manel.clos at ajgirona.cat manel.clos at ajgirona.cat
Thu Jan 28 05:09:24 EST 2010


Hi Jose,

It seems your webserver can't access the source url:

url=http://labs.metacarta.com/wms/vmap0

is the web server behing a firewall or proxy?



________________________________
De: tilecache-bounces at openlayers.org [mailto:tilecache-bounces at openlayers.org] En nombre de Jose A. C.
Enviado el: lunes, 25 de enero de 2010 16:18
Para: tilecache at openlayers.org
Asunto: [Tilecache] Fwd: Help with Tilecache on IIS and windows XP



---------- Forwarded message ----------
From: Jose A. C. <joscalv at gmail.com<mailto:joscalv at gmail.com>>
Date: 2010/1/25
Subject: Re: [Tilecache] Help with Tilecache on IIS and windows XP
To: Shawn Oatley <shawn at niagarafalls.ca<mailto:shawn at niagarafalls.ca>>


Someone have any idea about the problem,

I can't turn on the tilecache on IIS and Windows XP.

Thanks in advance!

2010/1/20 Jose A. C. <joscalv at gmail.com<mailto:joscalv at gmail.com>>

the only lines that are uncoment of TileCache.config are:

[cache]
type=Disk
base=C:\Inetpub\wwwroot\tilecache\Cache

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

any idea?

2010/1/20 Shawn Oatley <shawn at niagarafalls.ca<mailto:shawn at niagarafalls.ca>>
What does your TileCache.cfg file look like?



>>> On 1/20/2010 at 9:34 AM, "Jose A. C." <joscalv at gmail.com<mailto:joscalv at gmail.com>> wrote:
I have configured the tilecache under Windows XP and IIS 5.
I follow the steps in http://viswaug.wordpress.com/2008/02/03/setting-up-tilecache-on-iis/ and I did it without errors, but when I open the test page, the images on openlayers map are pink and the images don't appear.
By the way a GetCapabilities petition works fine.
If I do a petition like this:
http://localhost/tilecache/tilecache.py?LAYERS=basic&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-180,0,-135,45&WIDTH=256&HEIGHT=256
I receive the follow message:
An error occurred: <urlopen error (10060, 'Operation timed out')>
File "c:\inetpub\wwwroot\tilecache\TileCache\Service.py", line 323, in cgiHandler
format, image = service.dispatchRequest( params, path_info, req_method, host )
File "c:\inetpub\wwwroot\tilecache\TileCache\Service.py", line 208, in dispatchRequest
return self.renderTile(tile, params.has_key('FORCE'))
File "c:\inetpub\wwwroot\tilecache\TileCache\Service.py", line 138, in renderTile
data = layer.render(tile, force=force)
File "c:\inetpub\wwwroot\tilecache\TileCache\Layer.py", line 443, in render
return self.renderTile(tile)
File "c:\inetpub\wwwroot\tilecache\TileCache\Layers\WMS.py", line 29, in renderTile
tile.data, response = wms.fetch()
File "c:\inetpub\wwwroot\tilecache\TileCache\Client.py", line 58, in fetch
response = self.client.open(urlrequest)
File "C:\Python25\lib\urllib2.py", line 381, in open
response = self._open(req, data)
File "C:\Python25\lib\urllib2.py", line 399, in _open
'_open', req)
File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
result = func(*args)
File "C:\Python25\lib\urllib2.py", line 1107, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python25\lib\urllib2.py", line 1082, in do_open
raise URLError(err)
Can anyone help me??
Thanks!!!



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20100128/26ae6f87/attachment.html


More information about the Tilecache mailing list