<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=787105218-20102010><FONT face=Arial color=#0000ff size=2>Hi
Zoran</FONT></SPAN>
</DIV>
<DIV><SPAN class=787105218-20102010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>
</DIV>
<DIV><SPAN class=787105218-20102010><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 class=787105218-20102010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>
</DIV>
<DIV><SPAN class=787105218-20102010><FONT face=Arial color=#0000ff size=2><A
href="http://www.catais.org/qgis/plugins.xml">http://www.catais.org/qgis/plugins.xml</A></FONT></SPAN>
</DIV>
<DIV><SPAN class=787105218-20102010><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>
</DIV>
<DIV><SPAN class=787105218-20102010><FONT face=Arial color=#0000ff
size=2>regards</FONT></SPAN>
</DIV>
<DIV><SPAN class=787105218-20102010><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:zoran.jankovic@zisis.hr]<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>
</DIV></FONT>
<P>
Hi Joe,
<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">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 target=_blank
href="http://doc.qgis.org/head/classQgsVectorLayer.html#733b974dce13d587e05cf3d4fc24f208">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
target=_blank href="http://carto.net">carto.net</A>>wrote:<BR>
<DIV>
<DIV></DIV>
<DIV class=h5><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 target=_blank
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>
</DIV></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>_______________________________________________<BR>
Qgis-user
mailing list<BR>
<A
href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</A><BR>
<A
target=_blank
href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</A><BR>
</DIV></DIV></BLOCKQUOTE>
</DIV><BR>
</DIV>
<P>
</P></BLOCKQUOTE></BODY></HTML>