[Tilecache] Labels getting cut at tile boundaries
David Alda Fernandez de Lezea
dalda at ikt.es
Thu Oct 14 05:57:56 EDT 2010
Hi list,
I manage to solve this problem.
Just follow the instructions mentioned here:
http://osgeo-org.1803224.n2.nabble.com/tilecache-seed-py-problem-td2275922.html
Hope this can help to anyone.
Cheers.
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
··················································································
-----Mensaje original-----
De: tilecache-bounces at lists.osgeo.org [mailto:tilecache-bounces at lists.osgeo.org] En nombre de David Alda Fernandez de Lezea
Enviado el: martes, 28 de septiembre de 2010 9:11
Para: tilecache at openlayers.org
Asunto: [Tilecache] Labels getting cut at tile boundaries
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
··················································································
_______________________________________________
Tilecache mailing list
Tilecache at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/tilecache
More information about the Tilecache
mailing list