<!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>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3354" name=GENERATOR>
<STYLE>@font-face {
        font-family: Calibri;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-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: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-compose
}
.MsoChpDefault {
        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 dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=885542319-07072008>I am not answering your question - sorry.&nbsp; Instead 
I have&nbsp;questions for you.&nbsp; Will Google allow using their maps as a 
WMS?&nbsp; Did you get special permission for this?&nbsp; Everything I have read 
says this is not allowed from the Google side.&nbsp;I am asking because we would 
really like to use Google as a background for our web app also and if this is a 
new development then we would&nbsp;be interested in doing it 
also.&nbsp;Thanks.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV align=left><FONT face="Dutch801 Rm BT" size=2>Bruce Cheney</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mapserver-users-bounces@lists.osgeo.org 
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Steve 
White<BR><B>Sent:</B> Monday, July 07, 2008 12:02 PM<BR><B>To:</B> 
Mapserver-users<BR><B>Subject:</B> [mapserver-users] How to query attributes via 
WMS<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN lang=EN-GB>I&#8217;m using mapserver to overlay png tiles 
over a google maps interface and it&#8217;s working well. I have a series of shp files 
on the server and I want to build a search interface so the user can query the 
actual data. An example would be in simple terms: &#8216;select all data from shp 
where layer = &#8216;thislayer&#8217; and field like &#8216;%castle%&#8217;&#8217;.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB>Is it possible to interpret a variable if I 
sent it via the Url with the WMS call? For example, I&#8217;ll tag on 
&amp;TestVar=castle to the WMS call. Can the map file be set up to interpret 
TestVar and perform a query against a shp file field in a given 
layer?<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB>Thanks,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-GB><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal><SPAN 
lang=EN-GB>Steve<o:p></o:p></SPAN></P></DIV></BODY></HTML>