[GRASS-SVN] r70704 - grass/trunk/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 28 20:36:56 PST 2017


Author: annakrat
Date: 2017-02-28 20:36:56 -0800 (Tue, 28 Feb 2017)
New Revision: 70704

Modified:
   grass/trunk/gui/wxpython/mapdisp/frame.py
Log:
wxGUI: return multiple features within query distance when querying vector map, see #3292

Modified: grass/trunk/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/frame.py	2017-03-01 04:34:48 UTC (rev 70703)
+++ grass/trunk/gui/wxpython/mapdisp/frame.py	2017-03-01 04:36:56 UTC (rev 70704)
@@ -952,7 +952,7 @@
             try:
                 vectQuery = grass.vector_what(
                     map=vect, coord=(east, north),
-                    distance=qdist, encoding=encoding)
+                    distance=qdist, encoding=encoding, multiple=True)
             except grass.ScriptError:
                 GError(
                     parent=self, message=_(



More information about the grass-commit mailing list