Bob, <br> <br><br><div class="gmail_quote">On Mon, Oct 24, 2011 at 12:36 PM, Bob Bistrais <span dir="ltr"><<a href="mailto:Bob.Bistrais@maine.gov">Bob.Bistrais@maine.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial">I’m building a GeoMoose app which uses a line shapefile
as my main data layer. I’ve been modifying the select_custom.php
and related code to work with it. I got things to work correctly with a
basic select. When I click the button to open the table of results, it
opens properly. So far so good. Here’s where things get
strange:<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial">When I click the red x button to close the table, the result
displays in the Results tab again, but now, adjacent line segments are
selected. If I open the table again, attributes for those new segemtns
are displayed. Close the table again, and even more adjacent segments get
selected.</span></font></p></div></div></blockquote><div><br>I think that it does an intersect of (center or perhaps end?) points back with the original layer. In the some data cases, this selects additional features. I think that you found it worked correctly for non-overlapping polygons, try it with polygons that overlap and you should observe the same behavior I think. This could perhaps be addressed by passing feature IDs, JSON, GeoJSON or something else between the table and the Results tab.<br>
<br><br>Eli<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">
<font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"><u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial">As best as I can tell, closing the table triggers the buffered_select_followup
service. I tried setting the buffer distance to 0 in mapbook.xml, but
that didn’t do it. I have not seen this issue before when working
with polygon data. Does anyone have any insight as to how I can keep it
from selecting more line segments?<u></u><u></u></span></font></p>
</div>
</div>
<br>_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
<br></blockquote></div><br>