Re: [GRASS-dev] Select vector feature - Error

2015-03-03 Thread Martin Landa
Hi,

2015-03-03 9:45 GMT+01:00 Moritz Lennert :

[...]

> BTW, two remarks for enhancement:
>
> - It would be nice if the tool allowed to select also by drawing a polygon,
> not only by clicking.

right, it's in TODO.

> - There is no close button on the little window listing the selected
> features.

Sending in copy to the author (Matej Krejci), thanks for testing. Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] Select vector feature - Error

2015-03-03 Thread Moritz Lennert

On 02/03/15 11:28, Margherita Di Leo wrote:

Hi,

when i try to select a feature with the "select vector feature" button
from map display, I get an Error pop up that reads:

Error occured during calling of handler: _onMapClickHandler
Handler was unregistered.

Reason: VectorSelectBase instance has no attribute 'map'

Traceback (most recent call last):
   File "/usr/local/grass-7.1.svn/gui/wxpython/mapwin/base.py", line
191, in HandlersCaller
 handler(event)
   File "/usr/local/grass-7.1.svn/gui/wxpython/gui_core/vselect.py",
line 187, in _onMapClickHandler
 vWhatDic = self.QuerySelectedMap()
   File "/usr/local/grass-7.1.svn/gui/wxpython/gui_core/vselect.py",
line 272, in QuerySelectedMap
 message=_("Failed to query vector map(s) <%s>.") % self.map)
AttributeError: VectorSelectBase instance has no attribute 'map'


I cannot reproduce using freshly checked out trunk and the NC dataset.

BTW, two remarks for enhancement:

- It would be nice if the tool allowed to select also by drawing a 
polygon, not only by clicking.
- There is no close button on the little window listing the selected 
features.


Moritz
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


[GRASS-dev] Select vector feature - Error

2015-03-02 Thread Margherita Di Leo
Hi,

when i try to select a feature with the "select vector feature" button from
map display, I get an Error pop up that reads:

Error occured during calling of handler: _onMapClickHandler
Handler was unregistered.

Reason: VectorSelectBase instance has no attribute 'map'

Traceback (most recent call last):
  File "/usr/local/grass-7.1.svn/gui/wxpython/mapwin/base.py", line 191, in
HandlersCaller
handler(event)
  File "/usr/local/grass-7.1.svn/gui/wxpython/gui_core/vselect.py", line
187, in _onMapClickHandler
vWhatDic = self.QuerySelectedMap()
  File "/usr/local/grass-7.1.svn/gui/wxpython/gui_core/vselect.py", line
272, in QuerySelectedMap
message=_("Failed to query vector map(s) <%s>.") % self.map)
AttributeError: VectorSelectBase instance has no attribute 'map'

Thanks

-- 
Best regards,

Dr. Margherita DI LEO
Scientific / technical project officer

European Commission - DG JRC
Institute for Environment and Sustainability (IES)
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-...@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev