<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)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* 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.EmailStyle18
        {mso-style-type:personal;
        font-family:"Times New Roman";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@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=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Use firebug and Firefox or IE7 and
developer toolbar to verify that you are even passing the values to the
service. You don’t seem to specify any id’s to your inputs and
nothing here seems to suggest you have configured the service definition
either. I think if you are going to configure your inputs you should do so in
the service as well so when you post the data the service is looking for
everything you are sending.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Blaine Hackett
[mailto:blaine@gisrangers.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, November 04, 2008
11:12 AM<br>
<b><span style='font-weight:bold'>To:</span></b> geomoose-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Geomoose-users] Address
search Redux</span></font><o:p></o:p></p>
</div>
<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'>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 style='margin-bottom:12.0pt'><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><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:place w:st="on"><st1:City w:st="on">Blaine</st1:City></st1:place> <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: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>
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>