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 <<a href="mailto:drrobison@openroadsconsulting.com">drrobison@openroadsconsulting.com</a>> 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 href="mailto:drrobison@openroadsconsulting.com">drrobison@openroadsconsulting.com</a><br>web: <a href="http://openroadsconsulting.com" target="_blank">http://openroadsconsulting.com</a><br>
blog: <a href="http://therobe.blogspot.com" target="_blank">http://therobe.blogspot.com</a><br>book: <a 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 href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
</blockquote></div><br>