<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=833374812-03082005><FONT face=Arial 
color=#0000ff size=2>Ed,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=833374812-03082005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=833374812-03082005><FONT face=Arial 
color=#0000ff size=2>Thank you for the response! </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=833374812-03082005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=833374812-03082005><FONT face=Arial 
color=#0000ff size=2>I indeed found the needed documentation on TILEINDEX and 
will try to create it with gdaltindex. My raster images are however overlapping, 
will this cause problems for the TILEINDEX since I think I remember that ESRI 
shape files do not support overlapping objects (MapInfo 
does)?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=833374812-03082005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=833374812-03082005><FONT face=Arial 
color=#0000ff size=2>Will the requested 100x100 image be rebuild with every 
request sent from a WMS client to the server? Because I tried it with a single 
Raster Image in MapInfo via WMS Server and zooming in and out resulted in a loss 
of raster quality because the raster remained in the resolution it had when it 
was first connected.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=833374812-03082005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=833374812-03082005><FONT face=Arial 
color=#0000ff size=2>Kind regards!</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ed McNierney [mailto:ed@topozone.com] 
<BR><B>Sent:</B> woensdag 3 augustus 2005 14:43<BR><B>To:</B> Milo van der 
Linden; MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> RE: 
[UMN_MAPSERVER-USERS] WMS Server serving large raster<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=002493812-03082005><FONT face=Arial 
color=#0000ff size=2>Milo -</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=002493812-03082005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=002493812-03082005><FONT face=Arial 
color=#0000ff size=2>This kind of application isn't any problem at all.&nbsp; It 
sounds like your base rasters are a collection of tiled data all belonging to 
the same data set.&nbsp; You can use the gdaltindex utility from GDAL to create 
a shapefile index of your rasters, and then use the TILEINDEX statement in your 
LAYER definition to refer to that tile index file.&nbsp; MapServer will, for any 
given request, use the tile index file to determine which input rasters are 
needed, read the correct data from each image, produce the requested 100x100 
output image and send it to the client.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=002493812-03082005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=002493812-03082005><FONT face=Arial 
color=#0000ff size=2>To specifically answer your three 
questions:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=002493812-03082005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=002493812-03082005><FONT face=Arial 
color=#0000ff size=2>1. Use a tile index as described.&nbsp; There are other 
things you can do to tune the internal format of each raster file.&nbsp; What 
file format do your rasters use?&nbsp; Do you have the freedom to modify that 
file format, or do you have to use them as they are?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=002493812-03082005><FONT face=Arial 
color=#0000ff size=2>2. MapServer will deliver a WMS image response that 
includes only the data you need.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=002493812-03082005><FONT face=Arial 
color=#0000ff size=2>3. The tile index will give you the most compact map 
file.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=002493812-03082005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=002493812-03082005>&nbsp;&nbsp;&nbsp; <FONT 
face=Arial color=#0000ff size=2>- Ed</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=002493812-03082005>
<P><FONT size=2>Ed McNierney<BR>President and Chief Mapmaker<BR>TopoZone.com / 
Maps a la carte, Inc.<BR>73 Princeton Street, Suite 305<BR>North Chelmsford, 
MA&nbsp; 01863<BR>ed@topozone.com<BR>(978) 251-4242 </FONT></P></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List 
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Milo van der 
Linden<BR><B>Sent:</B> Wednesday, August 03, 2005 5:02 AM<BR><B>To:</B> 
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] WMS 
Server serving large raster<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>
<DIV><SPAN class=529125108-03082005><FONT face=Arial size=2>Hello 
list,</FONT></SPAN></DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial size=2>I have set up my 
first WMS Server and joined it with my standard MapInfo client, all works well. 
I am facing the following challenge however:</FONT></SPAN></DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial size=2>- I have over 1,5Gb 
of raster image data covering the whole of the Netherlands at a 1:25000 scale. I 
want to serve this data via my MapServer WMS Server in order to get it into my 
WMS capable smartphone GPS viewer. Since my phone holds limited memory, I want 
the rasters to be sent accross the air smart, meaning that only for the 
resolutions displayed (100x100) that part of the image should be 
sent.</FONT></SPAN></DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial size=2>My base rasters are 
5000x5000 pixels and about 5mb in size, they are tiled and all connect together 
or overlap.</FONT></SPAN></DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial size=2>In what way can I 
best organize my Map File in order to get: </FONT></SPAN></DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial size=2>- Highest 
performance on my smartphone</FONT></SPAN></DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial size=2>- only the detail 
that I need?</FONT></SPAN></DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial size=2>- The most compact 
Layer definition in the Map File?</FONT></SPAN></DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=529125108-03082005><FONT face=Arial size=2>Kind 
regards,</FONT></SPAN></DIV>
<DIV><SPAN class=529125108-03082005><SPAN lang=nl><FONT face=Tahoma size=2>Milo 
van der Linden </FONT></SPAN><BR><SPAN lang=nl><B><FONT face=Tahoma 
size=2>AVD-ICT</FONT></B><I></I><I> <FONT face=Tahoma size=2>GIS 
Consultant</FONT></I></SPAN> </DIV>
<DIV>
<UL>
  <LI><SPAN lang=nl><FONT face=Tahoma size=2>Hoogbloklandseweg 24</FONT></SPAN> 
  <LI><SPAN lang=nl><FONT face=Tahoma size=2>4205 NE&nbsp; 
  Gorinchem</FONT></SPAN></LI></UL>
<P><SPAN lang=nl><FONT face="Courier New" size=2>Tel. +31 183 50 81 
50</FONT></SPAN> <BR><SPAN lang=nl><FONT face="Courier New" size=2>Fax. +31 183 
50 81 60</FONT></SPAN> <BR><SPAN lang=nl><FONT face="Courier New" size=2>Mob. 
+31 629 54 06 96</FONT></SPAN> </SPAN></FONT></P></DIV></DIV></BODY></HTML>