<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" size=3>Hello everyone,</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><?xml:namespace 
prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT 
face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT 
face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" size=3>I am new to the list and just start using 
Mapserver. I met some problem when I tried to do query a tile index for a set of 
geotiff image files. I have tried to google the answer but got no clue. So I 
really appreciate if someone here can help me out, or give me a concrete 
example.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT 
face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" size=3>My problem is as follows:</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT 
face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" size=3>I have an index for image tiles (geo tiff files). 
The index includes an attribute “path” which is the source path of individual 
.tiff file. Now I can successfully display the .tiff files on Mapserver. What I 
need to do now is that when a user clicks the map, the mapserver will return the 
“path” information for the tile .tiff image that is clicked. I set the mode to 
“indexquery”, but it always returned me zero record. I believe there is 
something I have missed but not sure what it is.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT 
face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" size=3>The mapfile config is as follows: 
</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT 
face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" size=3>LAYER</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>NAME davisphoto</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>TYPE raster</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>STATUS on</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>DEBUG on</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>TILEINDEX 
/home/danpatch/b/pinnais/public-web/data/stateplane_east/Davis_photo_index 
</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>TILEITEM "path"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" size=3>#<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>MAXSCALE 80000.0</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>CLASS</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman"><SPAN lang=EN-US><SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Name 
'</SPAN><?xml:namespace prefix = st1 ns = 
"urn:schemas-microsoft-com:office:smarttags" /><st1:City><st1:place><SPAN 
lang=EN-US>Davis</SPAN></st1:place></st1:City><SPAN lang=EN-US> 
Photo'</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN 
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>END<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN># CLASS</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" size=3>PROJECTION</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>"proj=tmerc"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>"lat_0=37.500000000"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>"lon_0=-85.666666667"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>"k=0.999967"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>"x_0=100000.000"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>"y_0=250000.000"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>"ellps=GRS80"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>"datum=NAD83"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>"units=ft"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN>"no_defs"<SPAN style="mso-spacerun: yes">&nbsp; 
</SPAN></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" size=3>END </FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT 
face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; 
</SPAN>HEADER 
'/home/danpatch/b/pinnais/public-web/orthoweb/querytemplate/davis_header.html'</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; 
</SPAN>FOOTER 
'/home/danpatch/b/pinnais/public-web/orthoweb/querytemplate/davis_footer.html'</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; 
</SPAN>TEMPLATE 
"/home/danpatch/b/pinnais/public-web/orthoweb/querytemplate/davis_query.html"</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" size=3>END<SPAN style="mso-spacerun: yes">&nbsp; </SPAN># 
LAYER</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT 
face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT 
face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" size=3>I wonder if someone can help me. Highly 
appreciated.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT 
face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT 
face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" size=3>Thanks,</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT 
face="Times New Roman" 
size=3>Xiaopeng</FONT></SPAN></P></FONT></DIV></BODY></HTML>