<!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> </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> </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> </DIV>
<DIV><FONT face=Arial size=2>Any help would be very appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Follow some code...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </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><input type="hidden" name="mode"
value="itemquery"><BR> <input type="hidden" name="item"
value="Nom"><BR> <input type="TEXT" size="30" name="value"
value=""><BR> <input type="submit" value="Search"></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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&miny=7531714.000000&maxx=655534.000000&maxy=7542134.000000&imagewidth=500&imageheight=375&CMD=&INPUT_TYPE=&INPUT_COORD=&quartiers=Y&KEYMAPXSIZE=222&KEYMAPYSIZE=185&mode=itemquery&item=Nom&value=Ducos">http://ubiq.hn.org/carto/noumea.phtml?minx=641474.000000&miny=7531714.000000&maxx=655534.000000&maxy=7542134.000000&imagewidth=500&imageheight=375&CMD=&INPUT_TYPE=&INPUT_COORD=&quartiers=Y&KEYMAPXSIZE=222&KEYMAPYSIZE=185&mode=itemquery&item=Nom&value=Ducos</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> MINSCALE 0<BR> MAXSCALE 50000000<BR> IMAGEPATH
"/tmp/ms_tmp/" <BR> IMAGEURL "/ms_tmp/"<BR> LOG
"/tmp/gmap.log"<BR>END</DIV>
<DIV> </DIV>
<DIV><BR>QUERYMAP<BR> STYLE HILITE<BR> COLOR 200 200
200<BR>END</DIV>
<DIV> </DIV>
<DIV>LAYER<BR> NAME quartiers<BR> METADATA<BR>
"DESCRIPTION" "Nom"<BR> "RESULT_FIELDS" "Nom Perimetre
Surface"<BR> END<BR> TYPE POLYGON<BR> STATUS ON<BR> DATA
nou_utm<BR> LabelItem "Nom"<BR> CLASSITEM "Nom"<BR>
CLASS<BR> COLOR 240 240 240<BR> OUTLINECOLOR
190 190 190<BR> TEMPLATE "query.html"<BR> END<BR>END #
layer</DIV>
<DIV> </DIV>
<DIV>END #mapfile</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>My template "query.html" file only contain </DIV>
<DIV>[Nom]</DIV>
<DIV> </DIV>
<DIV></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></FONT></DIV></BODY></HTML>