[Tilecache] tilecache_seed.py problem

Matt Bartolome mattxbart at gmail.com
Thu Feb 5 17:27:41 EST 2009


I had the same issue here so I just put a pass instead of raising the
error and it seems to work with no ill effects.

-Matt

On Thu, Feb 5, 2009 at 1:29 PM, Jay Douillard <jay.douillard at ubc.ca> wrote:
>
> Walter,
>
> I've had this exact problem. Tilecache 2.10, ubuntu 8.10. Like you my layer works fine when browsing through openlayers, and seeding works when I remove the metatiling...
>
>
>
>
> [layer]
> type=Mapnik
> mapfile=/var/www/style/layer.xml
> srs=EPSG:3005
> extension=png256
> projection= +proj=aea +lat_1=50 +lat_2=58.5 +lat_0=45 +lon_0=-126 +x_0=1000000 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs
> bbox=273875.668326, 362347.212348,1870571.753510, 1735670.548899
> data_extent=273875.668326, 362347.212348,1870571.753510, 1735670.548899
> levels=12
> maxResolution=3118.547
> metaTile=true
> metaSize=8,8
>
>
>
> ----- Original Message -----
> From: "Walter Lorenzetti" <lorenzetti at gis3w.it>
> To: tilecache at openlayers.org
> Sent: Thursday, February 5, 2009 9:02:37 AM GMT -08:00 US/Canada Pacific
> Subject: [Tilecache] tilecache_seed.py problem
>
> Hi all,
>
> I've a problem with tielcache_seed python script... of tilecache 2.10
> My cfg file and the relative layer is:
>
> [mylayer]
> type=MapServerLayer
> mapfile=mylayer.map
> layers=layer1,laeyr2,...
> srs=EPSG:3003
> extension=png
> bbox=1634000,4843000,1654000,4858000
> metaTile=true
> metaSize=5,5
> metaBuffer=20
>
> if a try to use tilcache_seddd.py I obtian the seguent error:
>
> python tilecache_seed.py -f mylayer 1 6
> ###### (0, 0, 1), (2, 2, 1)
> Traceback (most recent call last):
>  File "tilecache_seed.py", line 9, in <module>
>    TileCache.Client.main()
>  File "/var/tilecache.gis3w.it/TileCache/Client.py", line 162, in main
>    seed(svc, layer, map(int, args[1:3]), bboxlist ,
> padding=options.padding, force = options.force, reverse = options.reverse)
>  File "/var/tilecache.gis3w.it/TileCache/Client.py", line 117, in seed
>    svc.renderTile(tile,force=force)
>  File "/var/tilecache.gis3w.it/TileCache/Service.py", line 140, in
> renderTile
>    else: raise Exception("Zero length data returned from layer.")
>
> But if I don't use the metaTiles... it works!!!
>
> by htttp request with metaTile it works to!
>
> Have any idea about?
>
> Thanks in advance
> Walter
>
>
> --
>
> Walter Lorenzetti
> email: lorenzetti at gis3w.it
> skype: aiki74
> Cell: (+39) 347-6597931  Tel+Fax: (+39) 0583 926684
> Via di Tofori 123a 55010, Camigliano-S.Gemma Lucca
> Italy
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
>



More information about the Tilecache mailing list