[Tilecache] Labels getting cut at tile boundaries
David Alda Fernandez de Lezea
dalda at ikt.es
Tue Sep 28 03:11:01 EDT 2010
Hi list,
I'm facing a little problem with some labels from a layer that I've generated with tilecache. They're splitted in the tile boundaries. I've been reading some solutions. I've succesfully installed Python Imaging Library, and I've also set metaTile=true and metaBuffer=256, but when I execute tilecache_seed.py over this layer I get an error:
C:\ms4w\Apache\cgi-bin\tilecache-2.10>tilecache_seed.py toponimia_50000 0 3
###### (0, 0, 0), (2, 2, 0)
Cache miss: 460000.0,4690000.0,535000.0,4765000.0, Tile: x: 0, y: 0, z: 0, time:
0.609999895096
00 (000000, 000000) = (460000.0000 4690000.0000 535000.0000 4765000.0000) [0.610
0s : 1.639/s] 1/1
Traceback (most recent call last):
File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\tilecache_seed.py", line 9, in <mo
dule>
TileCache.Client.main()
File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Client.py", line 162, in
main
seed(svc, layer, map(int, args[1:3]), bboxlist , padding=options.padding, fo
rce = options.force, reverse = options.reverse)
File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Client.py", line 117, in
seed
svc.renderTile(tile,force=force)
File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Service.py", line 140, i
n renderTile
else: raise Exception("Zero length data returned from layer.")
Exception: Zero length data returned from layer.
C:\ms4w\Apache\cgi-bin\tilecache-2.10>
My layer configuration at TileCache
[toponimia_50000]
type=WMSLayer
layers=toponimia_50000
srs=EPSG:23030
maxResolution=292.96875
bbox=460000, 4690000, 610000, 4820000
url=http://192.168.1.38/cgi-bin/mapserv.exe?map=../htdocs/ogcservices/wms/wms.map&TRANSPARENT=true
extent_type=loose
extension=gif
metaTile=true
metaBuffer=256
Do I have to configure something else??
Thanks in advance.
Un saludo,
··················································································
David Alda Fernández de Lezea
Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
IKT
Granja Modelo s/n · 01192 · Arkaute (Araba)
··················································································
Tlfnos.: 945-00-32-95 Fax: 945-00.32.90
··················································································
email: dalda at ikt.es web: www.ikt.es
··················································································
More information about the Tilecache
mailing list