<html 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" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Californian FB";
panose-1:2 7 4 3 6 8 11 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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 link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Wondering if this is possible?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I have a Service set up to allow the user to input a few
choices.<o:p></o:p></p>
<p class=MsoNormal>I then am attempting to send those to a .map file to query a
layer<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Can this be done…I am grabbing at straws here because
I don’t even know if this can be done?<span style='font-size:10.0pt;
font-family:"Californian FB","serif"'><o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Service from an xml file:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'><service
title="SearchByPID" selectable="false"
default="false" locked="true" div="PIDsearch"><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <url>/cgi-bin/mapserv.exe</url><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <input
type="hidden" name="map"
value="/ms4w/apps/GeoMOOSE/Maple_Grove_GeoMoose/itemquery_PID.map"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <input
type="hidden" name="mode" value="nquery"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <input
type="hidden" name="layer" value="parcels"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <input
type="select" name="PropertyType" title="Property
Type:"><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <option
value="Commercial">Commercial</option><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <option
value="Residential">Residential</option><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <option
value="Single Family">Single Family</option><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <option
value="Townhome">Townhome</option><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <option
value="Twinhome/Zero Lot">Twinhome/Zero Lot</option> <o:p></o:p></span></p>
<p class=MsoNormal style='text-indent:.5in'><span style='font-size:9.0pt;
color:#632423'></input><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <input
type="select" name="PriceFactor" title="Price
Factor:"><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <option
value="Greater Than">Greater Than</option><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <option
value="Less Than">Less Than</option><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <option
value="Between">Between</option><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <option
value="Equal To">Equal To</option><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <option
value="Greater Than Equal To">Greater Than Equal To</option> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <option
value="Less Than Equal To">Less Than Equal To</option><o:p></o:p></span></p>
<p class=MsoNormal style='text-indent:.5in'><span style='font-size:9.0pt;
color:#632423'></input> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'></service><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> <o:p></o:p></span></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>.map file being called from above…. IS there a way to
Use the filter to query the shapefile with the values from the two comboboxes
above?<o:p></o:p></p>
<p class=MsoNormal> Can
I make a where clause in the Filter….<o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'>Filter * WHERE Propertytype (above combobox)
and PriceFactor (above combobox)<o:p></o:p></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> LAYER #
Parcels Polygon Layer<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'>
NAME 'Parcels'<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'>
DATA 'parcels/parcels.shp'<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'>
STATUS DEFAULT<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'>
TYPE POLYGON<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'>
METADATA<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'>
qstring_validation_pattern
'.'<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'>
END<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'>
TEMPLATE 'parcels/identpar.html'<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'>
FILTERITEM 'PID'<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'>
FILTER /^%idPID%/<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:9.0pt;color:#632423'> END
<o:p></o:p></span></p>
</div>
</body>
</html>