[OpenLayers-Users] Tilecache tile index clarification
j.cook at oxfordarch.co.uk
Tue Jan 9 09:53:12 EST 2007
Thanks for getting back to me. The section from tilecache.cfg is:
I have tried to use entirely EPSG 27700 (the bbox then should be 0, 0, 700000, 13000000- which is the full extent of the national grid), but get the same error message.
Joanne Cook BSc MLitt AIFA MBCS
Information Systems Coordinator
Oxford Archaeology North
From: Christopher Schmidt [mailto:crschmidt at metacarta.com]
Sent: Tue 09/01/2007 14:28
To: joanne cook
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] Tilecache tile index clarification
On Tue, Jan 09, 2007 at 02:10:52PM -0000, joanne cook wrote:
> Hi All,
> I am slowly making progress getting tilecache 1.3 working on windows XP with apache 2.3. I have got to the stage where I can see the example URLs, and I'm trying to set up my own mapserver wms example. I have a valid wms server running, serving one layer, using projection EPSG:27700. If I use the URL
> I can see one tile showing me the whole of my raster layer.
> However if I try and call it using a variant on:
> Then I get the following error message:
> An error occurred: couldn't calculate tile index for layer Raster250K from ([-3.57463, 53.486899999999999, -2.0, 55.2941])
> File "C:\xampp\htdocs\tilecache-1.3\TileCache\Service.py", line 398, in modPythonHandler
> host )
> File "C:\xampp\htdocs\tilecache-1.3\TileCache\Service.py", line 377, in dispatchRequest
> tile = WMS(self).parse(params, path_info, host)
> File "C:\xampp\htdocs\tilecache-1.3\TileCache\Service.py", line 118, in parse
> return self.getMap(param)
> File "C:\xampp\htdocs\tilecache-1.3\TileCache\Service.py", line 127, in getMap
> % (layer.name, bbox)
> I am confused as to the projection that my bounding box coordinates should be in, and have tried them in EPSG 27700 and 4326. The above are the lat and long coordinates taken straight from the GetCapabilities xml file. I'm only assuming that's the problem though- my apache error log shows plenty of activity for the first URL above, and nothing for the second.
Can you paste the configuration section of your tilecache.cfg that
pertains to this layer in an email?
This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
More information about the Users