<!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 5.50.4616.200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hello mapserver users,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Is there any working sample using itemquery or 
itemnquery in 3.5. ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I can't figure out how and where the value passed 
in http vars is tested in the mapfile. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Any help would be very appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Follow some code...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Au revoir...</FONT></DIV>
<DIV><FONT face=Arial size=2>Laurent Foulonneau</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I use a form </FONT><FONT face=Arial size=2>like 
:</FONT></DIV>
<DIV><FONT face=Arial size=2>&lt;input type="hidden" name="mode" 
value="itemquery"&gt;<BR>&nbsp;&lt;input type="hidden" name="item" 
value="Nom"&gt;<BR>&nbsp;&lt;input type="TEXT" size="30" name="value" 
value=""&gt;<BR>&nbsp;&lt;input type="submit" value="Search"&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>so it produce an url like :</FONT></DIV>
<DIV><FONT face=Arial size=2><A 
href="http://ubiq.hn.org/carto/noumea.phtml?minx=641474.000000&amp;miny=7531714.000000&amp;maxx=655534.000000&amp;maxy=7542134.000000&amp;imagewidth=500&amp;imageheight=375&amp;CMD=&amp;INPUT_TYPE=&amp;INPUT_COORD=&amp;quartiers=Y&amp;KEYMAPXSIZE=222&amp;KEYMAPYSIZE=185&amp;mode=itemquery&amp;item=Nom&amp;value=Ducos">http://ubiq.hn.org/carto/noumea.phtml?minx=641474.000000&amp;miny=7531714.000000&amp;maxx=655534.000000&amp;maxy=7542134.000000&amp;imagewidth=500&amp;imageheight=375&amp;CMD=&amp;INPUT_TYPE=&amp;INPUT_COORD=&amp;quartiers=Y&amp;KEYMAPXSIZE=222&amp;KEYMAPYSIZE=185&amp;mode=itemquery&amp;item=Nom&amp;value=Ducos</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>with my mapfile like :</FONT></DIV><FONT face=Arial 
size=2>
<DIV>NAME DEMO<BR>STATUS ON<BR>SIZE 500 375<BR>EXTENT 641474 7531714 655534 
7542134<BR>UNITS METERS<BR>SHAPEPATH "../noumea"<BR>FONTSET 
../etc/fonts.txt<BR></DIV>
<DIV>WEB<BR>&nbsp; MINSCALE 0<BR>&nbsp; MAXSCALE 50000000<BR>&nbsp; IMAGEPATH 
"/tmp/ms_tmp/" <BR>&nbsp; IMAGEURL "/ms_tmp/"<BR>&nbsp; LOG 
"/tmp/gmap.log"<BR>END</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>QUERYMAP<BR>&nbsp; STYLE HILITE<BR>&nbsp; COLOR 200 200 
200<BR>END</DIV>
<DIV>&nbsp;</DIV>
<DIV>LAYER<BR>&nbsp; NAME quartiers<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;&nbsp; 
"DESCRIPTION" "Nom"<BR>&nbsp;&nbsp;&nbsp; "RESULT_FIELDS" "Nom Perimetre 
Surface"<BR>&nbsp; END<BR>&nbsp; TYPE POLYGON<BR>&nbsp; STATUS ON<BR>&nbsp; DATA 
nou_utm<BR>&nbsp; LabelItem "Nom"<BR>&nbsp; CLASSITEM "Nom"<BR>&nbsp; 
CLASS<BR>&nbsp;&nbsp;&nbsp; COLOR 240 240 240<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 
190 190 190<BR>&nbsp;&nbsp;&nbsp; TEMPLATE "query.html"<BR>&nbsp; END<BR>END # 
layer</DIV>
<DIV>&nbsp;</DIV>
<DIV>END #mapfile</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>My template "query.html" file only contain </DIV>
<DIV>[Nom]</DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></FONT></DIV></BODY></HTML>