Hi.<br>Thanks to everyone.<br>I found the problem. As you guys mentioned , number of tiles showing in tilecache_Seed output is actually divided by Metasize..I was not noticing to that..and my second problem was that, I had two tilecache.cfg ..one in /etc/ and one in /etc/tilecache/tilecache-2.01<br>
<br>so I removed the one which didn't have correct config. I also found that giving BBOX to tilecache is important.<br><br>now things are smooth and my Metatile is like 11x11 ...so around each 2 seconds, it generates 121 tiles..<br>
in my calculations in one hour, my quad core CPU can generate 217800 tiles :)<br><br>thanks <br>Alireza<br><br><br><br><br><div class="gmail_quote">On Wed, Jun 3, 2009 at 8:34 PM, Guillaume Sueur <span dir="ltr"><<a href="mailto:no-reply@neogeo-online.net" target="_blank">no-reply@neogeo-online.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
Also, please note that even when using Metatiling tilecache_seed stille counts how many tiles it has to generate, without indicating how many base tiles it corresponds to. What you can see in the tilecache_seed ouuput is that the total amount of tiles to generate is drastically lower than without metatile.<br>
But be sure tilecache_seed takes metatiling in consideration, cause it *does* !<br>
<br>
regards<br>
<br>
Guillaume<br>
<br>
Alireza Kashian a écrit :<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
Hi fredj<br>
<br>
Yes. I have done exactly same as you say.<br>
<br>
But are you using tilecache_seed.py code to seed? if yes, look at the output screen, you see that tiles are generated one by one..<br>
in my case, each tile takes 1 second to generate and we have like 40 layers in our map file..so I know it needs high computing power to send each request seperately to tilecache...I was hoping that tilecache_seed.py could jump another 11 tiles and request like 1 - 12 - 23 - 34 - 45 ....<br>
because when it calls for 1, it generate all 121 tiles around it...when it calls 12, it generate all tiles around 12...and so on..<br>
so it doesn not need to call for: 1-2,3,4,5,6,7,8..........<br>
<br>
thanks<br>
Alireza<br></div><div>
On Wed, Jun 3, 2009 at 7:29 PM, Frederic Junod <<a href="mailto:frederic.junod@camptocamp.com" target="_blank">frederic.junod@camptocamp.com</a> <mailto:<a href="mailto:frederic.junod@camptocamp.com" target="_blank">frederic.junod@camptocamp.com</a>>> wrote:<br>
<br>
Hi,<br>
<br>
The meta tiling system works for me with the trunk version [1].<br>
Make sure you have the:<br>
metaTile=true<br>
metaSize=11,11<br>
in your layers options.<br>
Meta tiling is off by default even if you have a metaSize.<br>
<br>
Regards,<br>
fredj<br>
<br>
<br>
PS: lucky you; I have more that 9'000'000 tiles in my last level :-)<br>
<br>
[1] <a href="http://svn.tilecache.org/trunk/tilecache" target="_blank">http://svn.tilecache.org/trunk/tilecache</a><br>
<br>
On Wed, Jun 3, 2009 at 3:58 PM, Alireza Kashian<br></div><div><div></div><div>
<<a href="mailto:alireza.kashian@gmail.com" target="_blank">alireza.kashian@gmail.com</a> <mailto:<a href="mailto:alireza.kashian@gmail.com" target="_blank">alireza.kashian@gmail.com</a>>> wrote:<br>
> Hi.<br>
> I would like to know how we can making tiles faster in<br>
tilecache_seed.py<br>
><br>
> The issue is that tilecache_seed.py tries to make tiles ONE by ONE..<br>
> so for example, in our case, in last zoom levels we have 300,000<br>
tiles and<br>
> each tile is generate in 1 second because our Map File is very<br>
complex and<br>
> parsing and making queries to PostGIS takes time.<br>
><br>
> Actually MetaTiling is a very good solution, but the problem is<br>
that I feel<br>
> Tilecache_seed.py does its job without attention to Meta Tiling..for<br>
> example, our MetaTile is 11x11...so 121 Tiles are geneated in<br>
like 3-4<br>
> seconds...but When I run Tilecache_seed.py . I see from the log<br>
that it<br>
> makes tile requests one by one which takes like 300,000 seconds<br>
for just one<br>
> of our zoom levels..<br>
> Our map file is large , it is like 400 Kbyte..so I feel how hard<br>
it is to<br>
> make queries 300,000 times for making 300,000 tiles :)<br>
><br>
> How can we help Tilecache_seed.py to benefit from MetaTile config in<br>
> Tilecache.cfg.<br>
><br>
> Thanks<br>
> Alireza<br>
><br>
><br>
> _______________________________________________<br>
> Tilecache mailing list<br></div></div>
> <a href="mailto:Tilecache@openlayers.org" target="_blank">Tilecache@openlayers.org</a> <mailto:<a href="mailto:Tilecache@openlayers.org" target="_blank">Tilecache@openlayers.org</a>><div><br>
> <a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Frédéric Junod<br>
Camptocamp SA<br>
<br>
<br>
<br></div>
------------------------------------------------------------------------<div><br>
<br>
_______________________________________________<br>
Tilecache mailing list<br>
<a href="mailto:Tilecache@openlayers.org" target="_blank">Tilecache@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
</div></blockquote>
</blockquote></div><br>