[Tilecache] error with tilecache 1.8.1...
John Cole
john.cole at uai.com
Thu Jul 19 16:51:12 EDT 2007
I'm creating a new layer in my tilecache.cfg but I'm getting the following
error for each tile in OL
An error occurred: couldn't calculate tile index for layer jupiter from
([873604.875, 722289.9375, 1054084
.875, 902769.9375])
File "C:\Inetpub\tilecache-1.4\TileCache\Service.py", line 479, in
cgiHandler
format, image = service.dispatchRequest( params, path_info, req_method,
host )
File "C:\Inetpub\tilecache-1.4\TileCache\Service.py", line 395, in
dispatchRequest
tile = WMS(self).parse(params, path_info, host)
File "C:\Inetpub\tilecache-1.4\TileCache\Service.py", line 120, in parse
return self.getMap(param)
File "C:\Inetpub\tilecache-1.4\TileCache\Service.py", line 129, in getMap
% (layer.name, bbox))
C:\Inetpub\tilecache-1.4\TileCache\Layer.py:145: UserWarning: x (1.000000) -
x0 (1.718295) = 0.71829
5
warn("x (%f) - x0 (%f) = %f" % (x, x0, abs(x - x0)))
A similar layer in the cfg works (kinda, it looses some tiles).
Here is my section cfg:
[jupiter]
type=WMSLayer
url=http://localhost/cgi-bin/mapserv.exe?map=/mapserver/map.map&
extension=png
layers=bound,hydro,landmark_poly,roads
metaTile=true
metaSize=5,5
metaBuffer=10
srs=EPSG:2236
bbox=563487, 668906, 1127487, 1091906 # this bbox encompases the entire area
#bbox=693124.875, 722289.9375, 973456.25, 1066296 # this bbox works kinda
resolutions=705,352.5,176.25,88.125,44.0625,22.03125,11.015625,5.5078125,2.7
5390625,1.376953125,0.6884765625,0.34423828125
maxResolution=705
levels=12
I'm using the same resolutions in OL.
Any suggestions on the error?
Thanks,
John
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20070719/e5c44fb6/attachment.html
More information about the Tilecache
mailing list