<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Messaggio</TITLE>

<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=722201208-27052005>You 
are right: googling the web I did find using of ITEMNQUERYMAP combined with an 
expression for QSTRING.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=722201208-27052005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=722201208-27052005>But as 
you can see in the following example, I need to manually specify "mapxy" and 
"scale" parameters to see something highlighted:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=722201208-27052005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=722201208-27052005><A 
href="http://sit.comune.lugo.ra.it/cgi-bin/mapserv?mode=itemnquerymap&amp;map_querymap_size=500%20375&amp;mapxy=1729487.0255+4927174.2505&amp;scale=2000&amp;map=/dati/sit/Lugo_PRG.map&amp;mapsize=&amp;layer=CTR_5000&amp;layer=Mappali&amp;layer=Quadrocatasto&amp;layer=Grafo_stradale&amp;qlayer=Mappali&amp;qitem=PARTKEY&amp;qstring=('[PARTKEY]'%20in%20'E730%20%20%2077%20%20427,E730%20%20%2077%20%20428,E730%20%20%2077%20%20266'">http://sit.comune.lugo.ra.it/cgi-bin/mapserv?mode=itemnquerymap&amp;map_querymap_size=500%20375&amp;mapxy=1729487.0255+4927174.2505&amp;scale=2000&amp;map=/dati/sit/Lugo_PRG.map&amp;mapsize=&amp;layer=CTR_5000&amp;layer=Mappali&amp;layer=Quadrocatasto&amp;layer=Grafo_stradale&amp;qlayer=Mappali&amp;qitem=PARTKEY&amp;qstring=('[PARTKEY]'%20in%20'E730%20%20%2077%20%20427,E730%20%20%2077%20%20428,E730%20%20%2077%20%20266'</A>)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=722201208-27052005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=722201208-27052005>If I 
omit center point and scale factor, I see the ENTIRE map (and I don't want it!) 
instead of a map automatically centered and zoomed to enclose all queried 
features:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=722201208-27052005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=722201208-27052005><A 
href="http://sit.comune.lugo.ra.it/cgi-bin/mapserv?mode=itemnquerymap&amp;map_querymap_size=500%20375&amp;map=/dati/sit/Lugo_PRG.map&amp;mapsize=&amp;layer=CTR_5000&amp;layer=Mappali&amp;layer=Quadrocatasto&amp;layer=Grafo_stradale&amp;qlayer=Mappali&amp;qitem=PARTKEY&amp;qstring=('[PARTKEY]'%20in%20'E730%20%20%2077%20%20427,E730%20%20%2077%20%20428,E730%20%20%2077%20%20266'">http://sit.comune.lugo.ra.it/cgi-bin/mapserv?mode=itemnquerymap&amp;map_querymap_size=500%20375&amp;map=/dati/sit/Lugo_PRG.map&amp;mapsize=&amp;layer=CTR_5000&amp;layer=Mappali&amp;layer=Quadrocatasto&amp;layer=Grafo_stradale&amp;qlayer=Mappali&amp;qitem=PARTKEY&amp;qstring=('[PARTKEY]'%20in%20'E730%20%20%2077%20%20427,E730%20%20%2077%20%20428,E730%20%20%2077%20%20266'</A>)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=722201208-27052005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=722201208-27052005>What 
do I miss?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=722201208-27052005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=722201208-27052005>&nbsp;&nbsp;&nbsp; Daniele</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=722201208-27052005></SPAN></FONT><FONT face=Arial color=#0000ff 
size=2><SPAN class=722201208-27052005></SPAN></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=it dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer Users List 
  [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Fawcett, 
  David<BR><B>Sent:</B> Monday, May 23, 2005 7:04 PM<BR><B>To:</B> 
  MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS] How 
  can I highlight more than one feature in QUERY mode?<BR><BR></FONT></DIV>
  <DIV><SPAN class=937140217-23052005><FONT face=Arial color=#0000ff 
  size=2>Should that be ITEMNQUERYMAP?</FONT></SPAN></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <P><FONT face=Arial size=2>David Fawcett</FONT> <BR><FONT face=Arial 
  size=2>Minnesota Office of Environmental Assistance</FONT> <BR><FONT 
  face=Arial size=2>david.fawcett@moea.state.mn.us</FONT> <BR><FONT face=Arial 
  size=2>651.215.0200</FONT> </P>
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer Users List 
    [mailto:MAPSERVER-USERS@LISTS.UMN.EDU]<B>On Behalf Of </B>Daniele 
    Margotti<BR><B>Sent:</B> Saturday, May 21, 2005 3:51 AM<BR><B>To:</B> 
    MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] How 
    can I highlight more than one feature in QUERY mode?<BR><BR></FONT></DIV>
    <DIV><SPAN class=908444608-21052005><FONT face=Arial size=2>Hi 
    list,</FONT></SPAN></DIV>
    <DIV><SPAN class=908444608-21052005><FONT face=Arial size=2>with CGI 
    mode=ITEMQUERYMAP I can produce a map with one highlighted feature (defined 
    using QITEM, QLAYER and QSTRING).</FONT></SPAN></DIV>
    <DIV><SPAN class=908444608-21052005><FONT face=Arial 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=908444608-21052005><FONT face=Arial size=2>How can I 
    highlight more than one feature (within the same layer) using the same 
    syntax (QITEM + QLAYER + QSTRING)?</FONT></SPAN></DIV>
    <DIV><SPAN class=908444608-21052005><FONT face=Arial size=2>Is there the 
    possibility to use an "OR condition" or a regular expression in QSTRING 
    parameter?</FONT></SPAN></DIV>
    <DIV><SPAN class=908444608-21052005><FONT face=Arial 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=908444608-21052005><FONT face=Arial size=2>Thank 
    you,</FONT></SPAN></DIV>
    <DIV><SPAN class=908444608-21052005>&nbsp;&nbsp;&nbsp; <FONT face=Arial 
    size=2>Daniele</FONT></SPAN></DIV>
    <DIV><SPAN class=908444608-21052005><FONT face=Arial 
    size=2></FONT></SPAN>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>