<br><br><div class="gmail_quote">On Fri, Mar 26, 2010 at 5:01 PM, M.E.Dodd <span dir="ltr"><<a href="mailto:m.e.dodd@open.ac.uk">m.e.dodd@open.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Is it possible to find the nearest point in one table compared to points in another table BUT without using the same point in the second table more than once.<br>
I have one table of points and want to find the nearest point in another table, the trouble is that some points in the second table are used many times and others are not used at all even though they are only slightly further away.  There are different numbers of points in each table, each table has hundreds or thousands of points.  The multiple use of points in the second table like this might be biasing the analysis.<br>
</blockquote><div><br></div><div>Effectively, an iterative process should work (although I am not sure you can do it with QGIS).</div><div><br></div><div>Effectively, you have to eliminate the point from dataset two after it is identified as "nearest point" to one in dataset one. But there is one aspect you have to consider: there will be more then one solution, and you have to decide, which one you want to choose - shortest sum of distances possibly? In addition, you will get different solutions, depending on which point in dataset one you begin with. </div>
<div>So effectively: </div><div>yes, it is possible</div><div>but you have to define your problem more accurately</div><div>and it requires an iterative approach, with (likely) an optimisation</div><div>I don't know if it can be done in QGIS.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Rainer</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
<br>
--<br>
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>NEW GERMAN FAX NUMBER!!!<br><br>Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<br><br>Centre of Excellence for Invasion Biology<br>
Natural Sciences Building<br>Office Suite 2039<br>Stellenbosch University<br>Main Campus, Merriman Avenue<br>Stellenbosch<br>South Africa<br><br>Cell:           +27 - (0)83 9479 042<br>Fax:            +27 - (0)86 516 2782<br>
Fax:            +49 - (0)321 2125 2244<br>email:          <a href="mailto:Rainer@krugs.de">Rainer@krugs.de</a><br><br>Skype:          RMkrug<br>Google:         <a href="mailto:R.M.Krug@gmail.com">R.M.Krug@gmail.com</a><br>
<br>