<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR>
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=036303320-09042009><FONT face=Arial color=#0000ff size=2>Or a 
string variable containing a comma-delimited list of the ID numbers that you 
really want?</FONT></SPAN></DIV>
<DIV><SPAN class=036303320-09042009><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=036303320-09042009><FONT face=Arial color=#0000ff 
size=2>David.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  mapserver-users-bounces@lists.osgeo.org 
  [mailto:mapserver-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Jay 
  Kapalczynski<BR><B>Sent:</B> Thursday, April 09, 2009 3:31 PM<BR><B>To:</B> 
  'Moen, Paul T.'; mapserver-users@lists.osgeo.org<BR><B>Subject:</B> RE: 
  [mapserver-users] RE: Highlight<BR><BR></FONT></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Thanks 
  for your response&#8230;<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'">$qlayer-&gt;queryByAttributes(&#8216;PID&#8217;,&#8217;PID 
  IN (1, 2,7,9,23,87)&#8217;,MS_MULTIPLE);<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'">Is the 1, 
  2,7,9,23,87 examples of PID values, if so I assume that these can be replaced 
  with variables?<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'">Thanks 
  again<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <DIV>
  <DIV 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
  <P class=MsoNormal><B><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> 
  mapserver-users-bounces@lists.osgeo.org 
  [mailto:mapserver-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Moen, 
  Paul T.<BR><B>Sent:</B> Thursday, April 09, 2009 3:15 PM<BR><B>To:</B> 
  mapserver-users@lists.osgeo.org<BR><B>Subject:</B> Re: [mapserver-users] RE: 
  Highlight<o:p></o:p></SPAN></P></DIV></DIV>
  <P class=MsoNormal><o:p>&nbsp;</o:p></P>
  <P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'"><BR>If the 
  database that you are querying has the same attributes as the shape file, you 
  can query the Layer that points to the shape file and display the highlighted 
  results on your map. &nbsp;I know nothing about GeoMOOSE but I know it can be 
  done with php-mapscript. &nbsp;<BR><BR>Regardless of what you are using, you 
  need a map file layer for the shape file with the parcels.<BR>You will then 
  need to use php-mapscript to query that layer with something like<BR>$map = 
  ms_newMapObj(PATH TO YOU MAPFILE);<BR>$qlayer = 
  $map-&gt;$map-&gt;getLayerByName(NAME OF PARCEL 
  LAYER);<BR>$qlayer-&gt;queryByAttributes(&#8216;PID&#8217;,&#8217;PID IN (1, 
  2,7,9,23,87)&#8217;,MS_MULTIPLE);<BR>You will then need to create the output image 
  from query using something like<BR>$img = 
  $map-&gt;drawQuery();<BR>header('Content-Type: 
  image/jpeg');<BR>$img-&gt;saveImage("");<BR><BR>I can&#8217;t give you specifics 
  without knowing how GeoMOOSE works, so the best thing is to look at the 
  documentation for GeoMOOSE if that is what you are using.<BR><BR>On 4/9/09 
  2:17 PM, "Jay Kapalczynski" &lt;<A 
  href="jkapalczynski@ci.maple-grove.mn.us">jkapalczynski@ci.maple-grove.mn.us</A>&gt; 
  wrote:</SPAN><o:p></o:p></P>
  <P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'">Dang I misspoke&#8230;I 
  am sorry&#8230;<BR>&nbsp;<BR>I am querying a Database for records, these records 
  have a PID (unique Number).<BR>These are the records that show up in the 
  Table.<BR>&nbsp;<BR>As this happens I have to take the results and run the 
  query against the parcels to get the features in the Shapefile, then 
  highlight..<BR>&nbsp;<BR>If that makes any sense&#8230;<BR>&nbsp;<BR>If I am in a 
  PHP file and have the records returned from the query (database)&#8230;what would I 
  have to do next to take those records and run a query to highlight the parcels 
  (PID to PID)?<BR>&nbsp;<BR>Can all of this be accomplished in the PHP 
  file?<BR>&nbsp;<BR>Thanks&#8230;and sorry for my 
  ignorance&#8230;<BR><BR><BR>&nbsp;<BR><BR></SPAN><B><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Calibri','sans-serif'">From:</SPAN></B><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Calibri','sans-serif'"> <A 
  href="mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</A> 
  [<A 
  href="mailto:mapserver-users-bounces@lists.osgeo.org">mailto:mapserver-users-bounces@lists.osgeo.org</A>] 
  <B>On Behalf Of </B>Moen, Paul T.<BR><B>Sent:</B> Thursday, April 09, 2009 
  1:57 PM<BR><B>To:</B> <A 
  href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR><B>Subject:</B> 
  Re: [mapserver-users] RE: Highlight<BR></SPAN><BR><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'">Set the mapfile 
  QUERYMAP style to highlight <A 
  href="http://mapserver.org/mapfile/querymap.html">http://mapserver.org/mapfile/querymap.html</A>. 
  &nbsp;&nbsp;Draw the map using drawQuery() instead of draw().<BR><BR>$img = 
  $map-&gt;drawQuery();<BR>header('Content-Type: 
  image/jpeg');<BR>$img-&gt;saveImage("");<BR><BR>On 4/9/09 1:31 PM, "Jay 
  Kapalczynski" &lt;<A 
  href="jkapalczynski@ci.maple-grove.mn.us">jkapalczynski@ci.maple-grove.mn.us</A>&gt; 
  wrote:<BR>Basically what I have is a query that runs on a shapefile&#8230;<BR>It 
  returns the records into a table, which I then have the option to zoom 
  to.<BR>&nbsp;<BR>I am looking for a bit more&#8230;.after I run the query (php) I 
  want the returned records to highlight in the map&#8230;<BR>I can get the Unique 
  identifier but don&#8217;t know if I can write some code in PHP to highlight those 
  features<BR>&nbsp;<BR>I don&#8217;t even know where to start here&#8230;<BR><BR>The query 
  and returning records into the table, as well as, the zoom to work great&#8230;just 
  need the highlight 
  part<BR>&nbsp;<BR>Thanks<BR>&nbsp;<BR>&nbsp;<BR><BR></SPAN><B><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Calibri','sans-serif'">From:</SPAN></B><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Calibri','sans-serif'"> Jay Kapalczynski 
  <BR><B>Sent:</B> Thursday, April 09, 2009 1:03 PM<BR><B>To:</B> <A 
  href="mapserver-users@lists.osgeo.org">'mapserver-users@lists.osgeo.org</A> 
  &lt;<A 
  href="mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A>&gt; 
  '<BR><B>Subject:</B> Highlight<BR></SPAN><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'"><BR>Any way to 
  highlight a feature in my map in PHP?<BR>&nbsp;<BR>I can grab a unique 
  identifier but can figure out how to highlight 
  it&#8230;<BR>&nbsp;<BR>THanks<BR>&nbsp;<BR><BR>Paul</SPAN> <o:p></o:p></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'"><BR>Paul</SPAN><o:p></o:p></P></DIV></BLOCKQUOTE></BODY></HTML>