<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=574574513-09112005><FONT face=Arial color=#0000ff size=2>Eric, 
</FONT></SPAN></DIV>
<DIV><SPAN class=574574513-09112005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=574574513-09112005><FONT face=Arial color=#0000ff size=2>A 
different approach is to use URL variables to substitute a new expression for 
the classes in your two layers.  </FONT></SPAN></DIV>
<DIV><SPAN class=574574513-09112005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=574574513-09112005>
<P><A 
href="http://myurl/cgi-bin/mapserv.exe?map=%5Cmaps%5Ctestmap%5Ctestlegend.map&mode=map&subjectproperty=6666&comps="><FONT 
size=2>http://<SPAN 
class=574574513-09112005>myurl</SPAN>/cgi-bin/mapserv.exe?map=%5Cmaps%5Ctestmap%5Ctestlegend.map&<SPAN 
class=574574513-09112005>mode=map&</SPAN><SPAN 
class=574574513-09112005>subjectproperty</SPAN>=<SPAN 
class=574574513-09112005>6666</SPAN>&<SPAN 
class=574574513-09112005>comps</SPAN>=</FONT></A><SPAN 
class=574574513-09112005><FONT face=Arial color=#0000ff 
size=2> 1111,2222,3333,4444 </FONT></SPAN></P>
<P><SPAN class=574574513-09112005><FONT face=Arial color=#0000ff size=2>In you 
mapfile, in your parcel layer, you have three classes:</FONT></SPAN></P>
<P><SPAN class=574574513-09112005><FONT face=Arial color=#0000ff 
size=2> CLASS <BR>       NAME 
"Subject"<BR>       EXPRESSION ('[APN]' in 
'%subjectproperty%')<BR>       OUTLINECOLOR 0 0 
0   <BR>       COLOR 255 
0 0<BR>    END<BR>    CLASS 
<BR>       NAME 
"Comparable"<BR>       EXPRESSION ('[APN]' in 
'%comps%')<BR>       OUTLINECOLOR 0 0 
0   <BR>       COLOR 0 
255 0<BR>    END</FONT></SPAN></P>
<P><SPAN class=574574513-09112005><FONT face=Arial color=#0000ff 
size=2>    CLASS <BR>       NAME 
"EverythingElse"<BR>       OUTLINECOLOR 0 0 
0   <BR>       COLOR 255 255 
255 <BR>    END</FONT></SPAN></P>
<P><SPAN class=574574513-09112005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </P>
<P><SPAN class=574574513-09112005><FONT face=Arial color=#0000ff 
size=2>David.</FONT></SPAN></P>
<P><SPAN class=574574513-09112005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN></SPAN> </P>
<P> </P>
<P><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>Eric Brown<BR><B>Sent:</B> Tuesday, November 08, 2005 11:06 PM<BR><B>To:</B> 
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] 
Multi-colored hilite results or other options<BR><BR></P></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT face=Tahoma size=2>Good evening,</FONT></DIV>
  <DIV><FONT face=Tahoma size=2></FONT> </DIV>
  <DIV><FONT face=Tahoma size=2>I've been working on several issues and have 
  resolved most of them by trial and error.</FONT></DIV>
  <DIV><FONT face=Tahoma size=2></FONT> </DIV>
  <DIV><FONT face=Tahoma size=2>Here's a rough example of how I can show 
  multiple hilighted parcels</FONT></DIV>
  <DIV><FONT face=Tahoma size=2></FONT> </DIV>
  <DIV><FONT face=Tahoma size=2><img src="[program]?map=[map]<A 
  href="http://www.kerndata.com/cgi-bin/mapserv.exe?map=kerngis/kerndata_comparable.map&layer=parcels&layer=roads&layer=cities&layer=copyright180&mode=itemnquerymap&slayer=parcels&qlayer=parcels&qitem=APN&qstring=('[APN]'">&layer=layer1&layer=layer2&mode=itemnquerymap&slayer=parcels&qlayer=parcels&qitem=APN&qstring=('[APN]'</A> 
  IN '51417116,51449224,51454111,51449212')&mapext=shapes"></FONT></DIV>
  <DIV><FONT face=Tahoma size=2></FONT> </DIV>
  <DIV><FONT face=Tahoma size=2>as far as how to provide multiple views  at 
  different extents, just add "scale=xxxxxx" where xxxx is the scale - e.g. 
  10000.</FONT></DIV>
  <DIV><FONT face=Tahoma size=2>also, the above example requires replacement of 
  [program] and [map] with your program and map name.</FONT></DIV>
  <DIV> </DIV>
  <DIV><FONT face=Tahoma size=2>My question is... </FONT></DIV>
  <DIV><FONT face=Tahoma size=2></FONT> </DIV>
  <DIV><FONT face=Tahoma size=2>As in the example above - I'd like to show a 
  comperable sales map - with the subject displayed in one color, the 
  comparables displayed in another.</FONT></DIV>
  <DIV><FONT face=Tahoma size=2></FONT> </DIV>
  <DIV><FONT face=Tahoma size=2>Any insight would be greatly 
  appreciated.</FONT></DIV>
  <DIV><FONT face=Tahoma size=2></FONT> </DIV>
  <DIV><FONT face=Tahoma size=2>Thank you,</FONT></DIV>
  <DIV><FONT face=Tahoma size=2></FONT> </DIV>
  <DIV><FONT face=Tahoma size=2>- Eric 
Brown</FONT></DIV></BLOCKQUOTE></BODY></HTML>