Frank,<br>
<br>
Thanks for your very  concrete and helpful response! We&#39;re creating images that are chipped from infrared imagery
using wildfire perimeter shapes. Thus each image will be an individual layer. I am aware that 40MB is small compared to world maps, but I wanted to know what the scalability of MapServer would be, and if, given that potentially hundreds of server instances per day may be created, the whole thing might grind to a halt. What kind of disk, CPU, memory, and bandwidth requirements would you expect such a service to require (back of the napkin calculation)? <br>

<br>Thanks again,<br>Dan<br><br><br><div class="gmail_quote">On Mon, Sep 28, 2009 at 11:11 AM, Frank Warmerdam <span dir="ltr">&lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt;</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;">

<div class="im">Dan Walton wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am new to WMS, so bear with my ignorance please. <br>
I have a service that processes imagery and outputs large TIFF + World file<br>
images (5-40 MB), and some shapefiles. Currently these images have no<br>
</blockquote>
<br></div>
Dan,<br>
<br>
Note that 5-40MB files are normally considered small in this domain.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
pyramid or tiling. I would like to further make the images web map friendly<br>
and my thought is that WMS and MapServer is the way to go. We will likely be<br>
creating dozens or perhaps hundreds of these images per day. This needs to<br>
run on Windows alongside or within IIS. <br>
So I have a volley of questions for anyone who might have answers. Feel free<br>
to skip any:<br>
<br>
1. Can MapServer even do this, that is, host several large images and allow<br>
new ones to be added on the fly via the api? <br>
</blockquote>
<br></div>
Yes, this is possible.  One question is whether the images are intended<br>
to be treated as a mosaic or as distinct, individually addressable layers.<br>
<br>
If they are to be a mosaic, then you want to read up on tileindexes which<br>
allow you to treat a set of images as a single layer - a mosaic.  Then your<br>
task boils down to creating a static mapfile, and dynamically adding files to<br>
the tileindex as they are created.<br>
<br>
If each is a distinctly addressable product then they should each either<br>
have an associated layer in a mapfile or you need a distinct map for each<br>
image.<br>
<br>
I will say it is not prudent to have hundreds of layers in a map - it becomes<br>
quite cumbersome, so I think it would be better to treat each image as a<br>
distinct WMS service with it&#39;s own mapfile (possibly generated on the fly<br>
from a database record).<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2. Can each image be a map layer or does each image need its own mapserver<br>
instance?<br>
</blockquote>
<br></div>
As above, either is possible.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
3. Does the OSGeo4W include utilities to tile and pyramid the images or do I<br>
have to arrange for that myself?<br>
</blockquote>
<br></div>
OSGeo4W&#39;s gdal package includes the required tools.  In particular to take<br>
a TIFF image (&quot;in.tif&quot;) and convert it to an optimized form with internal<br>
tiling and overviews (&quot;out.tif&quot;) you would do something like:<br>
<br>
 gdal_translate -co TILED=YES in.tif out.tif<br>
 gdaladdo out.tif 2 4 8 16 32 64<br>
<br>
OSGeo4W is setup primarily for Apache, so to use it with IIS there<br>
will be some manual fiddling you will need to do yourself.  However,<br>
people do it, so it is doable.<br>
<br>
Best regards,<br><font color="#888888">
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Programmer for Rent<br>
<br>
</font></blockquote></div><br>