[GRASS-dev] [GRASS GIS] #1606: WXGUI regression - attribute query tool reports "nothing found" when clicking on a vector object
GRASS GIS
trac at osgeo.org
Sun Feb 17 09:53:39 PST 2013
#1606: WXGUI regression - attribute query tool reports "nothing found" when
clicking on a vector object
--------------------------+-------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: reopened
Priority: blocker | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.3 RCs
Resolution: | Keywords: query
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment(by hellik):
Replying to [comment:6 annakrat]:
> Sorry if I misunderstood the problem but I have just tested it (Linux,
Windows) and I get right results. I created new vector in digitizer
without db connection and created two areas, one (centroid) with layer 1
and cat 1 and second in layer 2 with cat 1. Querying outputs expected
results.
>
> Module v.what used for queries does not know anything about d.vect
options layer and cats. Maybe there should be some connection but this is
a different problem.
tested here with
{{{
System Info
GRASS version: 6.4.3svn
GRASS SVN Revision: 55073
GIS Library Revision: 50937 (2012-02-25)
GDAL/OGR: 1.9.2
PROJ4: Rel. 4.8.0, 6 March 2012
Python: 2.7.2
wxPython: 2.8.12.1
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
}}}
and a self digitized vector (without attribute table for layer 1 and 2)
and areas and lines in both layers:
layer1
{{{
v.what --v -a map=susi at user1 east_north=633585.748944,224051.026304
distance=229.193251
Building spatial index...
East: 633585.748944
North: 224051.026304
Map: susi
Mapset: user1
Type: Area
Sq Meters: 22795916.264
Hectares: 2279.592
Acres: 5632.994
Sq Miles: 8.8016
Layer: 1
Category: 1
(Sun Feb 17 18:49:29 2013) Command finished (0 sec)
}}}
layer2
{{{
v.what --v -a map=susi at user1 east_north=642295.092471,223982.268329
distance=229.193251
Building spatial index...
East: 642295.092471
North: 223982.268329
Map: susi
Mapset: user1
Type: Area
Sq Meters: 14761474.121
Hectares: 1476.147
Acres: 3647.640
Sq Miles: 5.6994
Layer: 2
Category: 2
}}}
seems to work.
Helmut
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1606#comment:7>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list