<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:st1="urn:schemas-microsoft-com:office:smarttags" 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 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Times New Roman";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Sorry for the repost but I had not heard anything and I can’t
seem to figure this out. It is pretty important to be able to search an
address and searching with a number and allowing the user to pick the road name
I think is the best way to go.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>If someone could just point me in the right direction I can take it
from there. As always, any help is greatly appreciated.<o:p></o:p></span></font></p>
<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Blaine</span></font></st1:City></st1:place><br>
<br>
<o:p></o:p></p>
<p class=MsoNormal><i><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-style:italic'>SEE ORIGINAL TEXT BELOW</span></font></i><br>
I need to create and address search for GeoMoose. I have done this before with
regular mapserver but can't get it to work with GeoMoose and I thought someone
might have an idea what I am doing wrong.<br>
<br>
Essentially I am using an input field for the address number and a dropdown for
the street name. Once the user submits this the two are concatenated and it
searches the field with the address.<br>
<br>
I have tried it two ways. Neither works but I get different results.<br>
<br>
The first way was to use the same syntax I have used before and just add it to
the appropriate geomoose files. <br>
<br>
Here is the syntax for the first way which breaks and tells me it can't find
the querylayer:<br>
----<br>
theproject.html file:<br>
<div id="addsearch"><br>
<font color="black"><b>Search for Parcels by
Address:</b></font><br/><br>
Input House Number: <input type="text" name="number"/><br><br>
<br>
Select Street: <select name="street"/><br>
<option value="<st1:Street w:st="on"><st1:address w:st="on">NASHUA AVE
NE</st1:address></st1:Street>" [NASHUA AVE NE_select]> <st1:Street
w:st="on"><st1:address w:st="on">NASHUA AVE</st1:address></st1:Street><br>
</select><br>
<INPUT TYPE="submit" value="Search"><br><br>
<input type="hidden" name="map"
value="/ms4w/apps/GeoMOOSE/maps_otsego/itemquery.map"/><br>
<input type="hidden" name="mode"
value="nquery"><br>
</div><br>
---<br>
itemquery.map<br>
LAYER # Parcels Polygon Layer<br>
NAME 'ParcelAddressSearch'<br>
DATA 'landrecords/parcels.shp'<br>
STATUS DEFAULT<br>
TYPE POLYGON<br>
TEMPLATE 'landrecords/itemquery_address.html'<br>
FILTERITEM 'TPADDR1'<br>
FILTER "%number% %street%"<br>
END<br>
<br>
<br>
Here is the second way which says it is retrieving but just locks up the
browser.<br>
----<br>
xxx.html file:<br>
<div id="addsearch"><br>
<font color="black"><b>Search for Parcels by
Address:</b></font><br/><br>
Input House Number: <input type="text"
name="number"/><br><br>
<br>
Select Street: <select name="street"/><br>
<option value="<st1:Street w:st="on"><st1:address w:st="on">NASHUA AVE
NE</st1:address></st1:Street>" [NASHUA AVE NE_select]> <st1:Street
w:st="on"><st1:address w:st="on">NASHUA AVE</st1:address></st1:Street><br>
</select><br>
<INPUT TYPE="submit" value="Search"><br><br>
<input type="hidden" name="map"
value="/ms4w/apps/GeoMOOSE/maps_otsego/itemquery.map"/><br>
<input type="hidden" name="mode"
value="itemquery"><br>
<input type="hidden" name="qlayer"
value="ParcelAddressSearch"><br>
</div><br>
---<br>
itemquery.map<br>
LAYER # Parcels Polygon Layer<br>
NAME 'ParcelAddressSearch'<br>
DATA 'landrecords/parcels.shp'<br>
STATUS DEFAULT<br>
TYPE POLYGON<br>
TEMPLATE 'landrecords/itemquery_address.html'<br>
FILTERITEM 'TPADDR1'<br>
FILTER "%number% %street%"<br>
END<br>
<br>
<br>
Thanks for any help you can give me<br>
<st1:City w:st="on"><st1:place w:st="on">Blaine</st1:place></st1:City> <o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>****************************<o:p></o:p></span></font></p>
<p class=MsoAutoSig><st1:City w:st="on"><st1:place w:st="on"><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Blaine</span></font></st1:place></st1:City>
Hackett<o:p></o:p></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>President, GIS RANGERS<o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>651 303-8490<o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>blaine@gisrangers.com<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>