<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Could you give me the formula for calculating the number of tiles?
Also, do you have any tips about format/compression/metadata? TNX David<br>
<br>
Björn Harrtell wrote:
<blockquote
 cite="mid:ba82f3c60802051416l143050d4x5bf1b4026df3f343@mail.gmail.com"
 type="cite">You can calculate the number of tiles exactly (obviously)
but the problem is the actual tile image sizes will depend on what kind
of map you have... blank/ocean areas and photographic imagery beeing
the most important factors. That's why optimizing the image output
(format/compression/metadata) from your mapserver is quite important.
What you could do is try to determine what the largest tile image would
be and use that multiplied number of tiles as the estimated maximum
size for the cache.<br>
  <br>
/Björn<br>
  <br>
  <div class="gmail_quote">On Feb 5, 2008 10:58 PM, David R Robison &lt;<a
 moz-do-not-send="true" href="mailto:drrobison@openroadsconsulting.com">drrobison@openroadsconsulting.com</a>&gt;
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Is
there a simple formula for estimating the disk space requirements for<br>
the tile cache? Thanks, David<br>
    <br>
--<br>
    <br>
David R Robison<br>
Open Roads Consulting, Inc.<br>
708 S. Battlefield Blvd., Chesapeake, VA 23322<br>
phone: (757) 546-3401<br>
e-mail: <a moz-do-not-send="true"
 href="mailto:drrobison@openroadsconsulting.com">drrobison@openroadsconsulting.com</a><br>
web: <a moz-do-not-send="true" href="http://openroadsconsulting.com"
 target="_blank">http://openroadsconsulting.com</a><br>
blog: <a moz-do-not-send="true" href="http://therobe.blogspot.com"
 target="_blank">http://therobe.blogspot.com</a><br>
book: <a moz-do-not-send="true"
 href="http://www.xulonpress.com/book_detail.php?id=2579"
 target="_blank">http://www.xulonpress.com/book_detail.php?id=2579</a><br>
    <br>
    <br>
    <br>
    <br>
    <br>
_______________________________________________<br>
Tilecache mailing list<br>
    <a moz-do-not-send="true" href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
    <a moz-do-not-send="true"
 href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Tilecache mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/tilecache">http://openlayers.org/mailman/listinfo/tilecache</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 

David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:drrobison@openroadsconsulting.com">drrobison@openroadsconsulting.com</a>
web: <a class="moz-txt-link-freetext" href="http://openroadsconsulting.com">http://openroadsconsulting.com</a>
blog: <a class="moz-txt-link-freetext" href="http://therobe.blogspot.com">http://therobe.blogspot.com</a>
book: <a class="moz-txt-link-freetext" href="http://www.xulonpress.com/book_detail.php?id=2579">http://www.xulonpress.com/book_detail.php?id=2579</a>

 </pre>
</body>
</html>