<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)">
<title>Untitled Document</title>
<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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
p.nametitle, li.nametitle, div.nametitle
        {mso-style-name:name_title;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:10.5pt;
        font-family:"Trebuchet MS","sans-serif";
        color:#000099;}
p.org, li.org, div.org
        {mso-style-name:org;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:9.0pt;
        font-family:"Trebuchet MS","sans-serif";
        color:#006600;}
p.links, li.links, div.links
        {mso-style-name:links;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:9.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
span.nametitle1
        {mso-style-name:name_title1;
        font-family:"Trebuchet MS","sans-serif";
        color:#000099;}
span.org1
        {mso-style-name:org1;
        font-family:"Trebuchet MS","sans-serif";
        color:#006600;}
span.links1
        {mso-style-name:links1;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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 bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Does your mapfile also have a TEMPLATE tag?&nbsp; That would
give a second response.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Len<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> Devon Piernot
[mailto:piernotd@uwplatt.edu] <br>
<b>Sent:</b> Tuesday, December 01, 2009 4:41 PM<br>
<b>To:</b> geomoose-users<br>
<b>Subject:</b> [Geomoose-users] select function returns duplicate records<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Hey all,<br>
<br>
When selecting any layer in my demo application (2.0.l), the results tab
displays the correct number of found shapes, but it also produces duplicate
html records.&nbsp; I've attached a screen shot as an example.&nbsp; I haven't
really played with the select.php code so I think the problem must be with my
mapbook or the individual mapfiles, but I can't see anything wrong with them.<br>
<br>
Here is an example of the METADATA heading in one of these mapfiles:<br>
&nbsp;&nbsp;&nbsp; METADATA<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'identify_record' 'identify_zoning.html'<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'select_record'&nbsp;&nbsp;
'select_zoning.html'<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'select_header'&nbsp;&nbsp;
'select_header.html'<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
'itemquery'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'itemquery_zone.html'<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'itemquery-filter' '/.*[qstring].*/i'<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'qstring_validation_pattern' '.'<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'feature_report' 'parcel.xml'<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; TOLERANCE 0<br>
<br>
<br>
Has anyone experienced a similar problem? Any ideas?<br>
<br>
Thanks<o:p></o:p></p>

<div>

<p class=MsoNormal>-- <o:p></o:p></p>

<p><span class=nametitle1><span style='font-size:10.5pt'>Devon Piernot</span></span><span
style='font-size:10.5pt;font-family:"Trebuchet MS","sans-serif";color:#000099'><br>
</span><span class=org1><span style='font-size:9.0pt'>GIS / Web Developer</span></span><span
style='font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:#006600'><br>
<span class=org1>Southwestern Wisconsin Regional Planning Commission</span><br>
</span><span class=links1><span style='font-size:9.0pt'>(608) 342-6065</span></span><br>
<span class=links1><span style='font-size:9.0pt'><a
href="mailto:piernotd@uwplatt.edu">piernotd@uwplatt.edu</a></span></span><span
style='font-size:9.0pt'><br>
<span class=links1><a href="http://www.swwrpc.org">www.swwrpc.org</a></span></span><o:p></o:p></p>

</div>

</div>

</body>

</html>