[Tilecache] Error tilecache in standalone
Nabil Servais
nabil.servais at gmail.com
Thu Jun 10 08:15:49 EDT 2010
Hello everyone,
I have a little problem with tilecache. When I use in standalone[1],
tilecache returns this error :
An error occurred: Current x value 364624.472814 is too far from tile corner x 364173.111134
With this url :
http://myserver/tilecachelocal?LAYERS=orthos&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&FORMAT=image/jpeg&SRS=EPSG:27572&BBOX=364624.47281397,2429618.1185945,365076.02812569,2430069.6739062&WIDTH=256&HEIGHT=256
And here my config file :
Configuration for MC TileCache
[cache]
type=Disk
#base=/tmp/
base=/var/www/siga/tilecache/cache
[Communes]
url=http://wmhost/cgi-bin/wmsmap?
extension=png
layers=Communes
type=WMSLayer
bbox= 5638.0,1620431.0,1197822.0,2677441.0
extent_type=loose
levels=14
srs=EPSG:27572
resolutions=2257.777777778,1128.888888889,564.444444444,282.222222222,141.111111111,70.555555556,35.277777778,17.638888889,8.819444444,5.291666667,3.5277777
78,1.763888889,1.058333333,0.529166667
[orthos]
type=WMSLayer
url=http://wmshost/cgi-bin/test/serveur
extension=jpeg
layers=orthos
bbox= 5638.0,1620431.0,1197822.0,2677441.0
extent_type=loose
levels=14
srs=EPSG:27572
resolutions=2257.777777778,1128.888888889,564.444444444,282.222222222,141.111111111,70.555555556,35.277777778,17.638888889,8.819444444,5.291666667,3.5277777
78,1.763888889,1.058333333,0.529166667
levels=14
I have no problem when I use cgi. But I have to have a tilecache server
independant because other users will have access to this config file for
editing.
Have a nice day.
[1] :
http://tilecache.org/docs/README.html#running-standalone-with-pastescript-and-cherrypy
More information about the Tilecache
mailing list