Hi Stefan,<div><br></div><div>Yes! This is exactly what I was looking for! You were too fast for me, I'm still on my first step: Python for Dummies :-))</div><div>As I can see the main stuff is in "featurefindertool.py"? And it works through all the features in the selected layer every time?</div>
<div><br></div><div>But, I really do not have that many features, and it takes 2-3 seconds to find the nearest feature on my, not so very new laptop, in a layer with cca 4200 point features.</div><div><br></div><div>Best regards,</div>
<div><br></div><div>PS Stefan, do you have a PayPal account? Or, does anyone know any better way of transfering (modest, I'm afraid) amount of money? PayPal is limited to paying only in Croatia...</div><div><br></div>
<div><br clear="all">--- <br>Zoran Jankovic<br>ZIS-Izrada softvera i savjetovanje / ZIS - Software Development and Consulting<br><br><a href="http://www.zisis.hr">http://www.zisis.hr</a><br><br>M: 00 385 98 682 902<br>T: 00 385 44 683 374<br>
<br>A. Senoe 4<br>44320 Kutina<br>Croatia<br>
<br><br><div class="gmail_quote">On Wed, Oct 20, 2010 at 8:54 PM, Ziegler Stefan <span dir="ltr"><<a href="mailto:Stefan.Ziegler@bd.so.ch">Stefan.Ziegler@bd.so.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div><span><font face="Arial" color="#0000ff" size="2">Hi
Zoran</font></span>
</div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>
</div>
<div><span><font face="Arial" color="#0000ff" size="2">I had
some time left, took all my code snippets and also the one from Carson. Please
try the plugin "Nearest" that should cover your example 1:</font></span>
</div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>
</div>
<div><span><font face="Arial" color="#0000ff" size="2"><a href="http://www.catais.org/qgis/plugins.xml" target="_blank">http://www.catais.org/qgis/plugins.xml</a></font></span>
</div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span>
</div>
<div><span><font face="Arial" color="#0000ff" size="2">regards</font></span>
</div>
<div><span><font face="Arial" color="#0000ff" size="2">Stefan</font></span>
</div>
<blockquote dir="ltr" style="padding-left:5px;margin-left:5px;border-left:#0000ff 2px solid;margin-right:0px">
<div><font face="Times New Roman" size="2">-----Ursprüngliche
Nachricht-----<br>
<b>Von:</b> Zoran Jankovic
[mailto:<a href="mailto:zoran.jankovic@zisis.hr" target="_blank">zoran.jankovic@zisis.hr</a>]<br>
<b>Gesendet am:</b> Mittwoch, 20. Oktober
2010 19:21<br>
<b>An:</b> qgis-user<br>
<b>Betreff:</b> Re: Fwd: [Qgis-user]
QGIS "Near"<br>
</font></div><div><div></div><div class="h5">
<p>
Hi Joe,
</p><div><br>
</div>
<div><br>
<div class="gmail_quote">On Wed, Oct 20, 2010 at 5:06 PM, Joe Larson <span dir="ltr"><<a href="mailto:joelarso@gmail.com" target="_blank">joelarso@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">
Does
the function 'snapWithContext'<br>
<a href="http://doc.qgis.org/head/classQgsVectorLayer.html#733b974dce13d587e05cf3d4fc24f208" target="_blank">http://doc.qgis.org/head/classQgsVectorLayer.html#733b974dce13d587e05cf3d4fc24f208</a><br>
which
"Snaps to segment or vertex within given tolerance." seem like<br>
what
you're looking for? I came across it while trying to get
Quantum<br>
Navigator working recently...seemed relative, but I'm no
expert!<br>
<br>
</blockquote>
<div><br>
</div>
<div>This is similar to the mentioned solution with selecting by radius, or
changing the tolerance of ID tool. Close, but no cigar. Since this is not very
urgent, I've decided to continue pursuing that outlined solution Carson gave,
and write a plugin i Python based on that. Since I actually never used Python
before, it may take a while, but hey, I get to learn sth. new :-).
</div>
<div>I never got the word back from Carson, has he developed anything along
these lines, but I have to presume he didn't...
</div>
<div>Anyone interested in joning me, or even earning some money, is still
invited to jump on board. My GIS implementation project is well on the way,
and it seems there'll even be some money involved :-).
</div>
<div>
</div>
<div>Zoran
</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">
~joe<br>
<br>
On
Tue, Oct 19, 2010 at 9:55 AM, Andreas Neumann <a.neumann at <a href="http://carto.net" target="_blank">carto.net</a>>wrote:<br>
<div>
<div></div>
<div><br>
> Hi Zoran,<br>
><br>
> I believe the
infrastructure of what you want is already wihtin the<br>
> selection and
identify tools in QGIS. Isn't this almost implemented in the<br>
> current
identify tool?<br>
><br>
><br>
It sort of is, but not completely.
Identify will ID all the features within<br>
certain radios (percentage of
extent), but it will ID _all_ of the features<br>
within this radius. I only
need the nearest, no matter how far away... Let<br>
us say it is, for
simplicity, within current extent.<br>
<br>
<br>
> The current identify tool
selects "near" or "close by" features within a<br>
> certain tolerance.
This tolerance can be set in "Options" --> "Map tools"<br>
> "search
radius". I believe it currently only effects the identify tool. Do<br>
>
you want the same tolerance also be used for the click-selection
tool?<br>
><br>
><br>
Look above. This could be useful, but it is not the
functionality I'm<br>
currently looking after.<br>
<br>
<br>
> Are you also
aware that in QGIS 1.6 there are new selection tools?<br>
><br>
> * by
click<br>
> * by rectangle<br>
> * by polygon<br>
> * by
freehand<br>
> * by radius<br>
><br>
><br>
Yup, these are great, but
they all select _multiple_ features within radius,<br>
rectangle,
etc.<br>
<br>
<br>
> Maybe this also helps to address your
needs?<br>
><br>
> Of course you can combine it with previous selections
by pressing the ctrl<br>
>
key.<br>
><br>
><br>
<br>
BR,<br>
<br>
<br>
---<br>
Zoran
Jankovic<br>
ZIS-Izrada softvera i savjetovanje / ZIS - Software Development
and<br>
Consulting<br>
<br>
<a href="http://www.zisis.hr" target="_blank">http://www.zisis.hr</a><br>
<br>
M: 00 385 98 682
902<br>
T: 00 385 44 683 374<br>
<br>
A. Senoe 4<br>
44320
Kutina<br>
Croatia<br>
</div></div>
<div>
<div></div>
<div>_______________________________________________<br>
Qgis-user
mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">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>
</div></div></blockquote>
</div><br>
</div>
<p>
</p><p></p></div></div></blockquote></div></blockquote></div><br></div>