[GRASS-dev] [GRASS GIS] #3172: v.what: does not take into account layer information
GRASS GIS
trac at osgeo.org
Mon Oct 3 00:37:36 PDT 2016
#3172: v.what: does not take into account layer information
--------------------------+--------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.0
Component: Vector | Version: unspecified
Resolution: | Keywords: v.what layer
CPU: Unspecified | Platform: Unspecified
--------------------------+--------------------------
Comment (by hellik):
Replying to [comment:1 annakrat]:
> In [changeset:"69647" 69647]:
> {{{
> #!CommitTicketReference repository="" revision="69647"
> v.what: use layer information (by mlennert), see #3172
> }}}
all layers
{{{
v.what -a map=myfire_manylayers at user1
coordinates=655179.780713,222274.755375 distance=20
East: 655179.780713
North: 222274.755375
------------------------------------------------------------------
Map: myfire_manylayers
Mapset: user1
Type: Point
Id: 30
Layer: 1
Category: 30
Driver: sqlite
Database: /home/bugs/grassdata/nc_spm_08_grass7/user1/sqlite/sqlite.db
Table: myfire_manylayers
Key column: cat
cat : 30
ID : 38
LABEL : Eastern Wake #1
LOCATION : 4828 Clifton Rd
CITY : Knightdale
MUN_COUNT : C
PUMPERS : 1
PUMPER_TAN : 0
TANKER : 0
MINI_PUMPE : 0
RESCUE_SER : 1
AERIAL : 1
BRUSH : 1
OTHERS : 2
WATER_RESC : 1
MUNCOID : 2
BLDGCODE : 269
AGENCY : FD
STATIONID : EW2
RECNO : 32
CV_SID2 : EW2A
CVLAG : 1.83
Layer: 2
Category: 30
Driver: sqlite
Database: /home/bugs/grassdata/nc_spm_08_grass7/user1/sqlite/sqlite.db
Table: myfire_manylayers_2
Key column: cat
cat : 30
nlayer : 2
Layer: 3
Category: 30
Driver: sqlite
Database: /home/bugs/grassdata/nc_spm_08_grass7/user1/sqlite/sqlite.db
Table: myfire_manylayers_3
Key column: cat
cat : 30
nlayer : 3
Layer: 4
Category: 30
Driver: sqlite
Database: /home/bugs/grassdata/nc_spm_08_grass7/user1/sqlite/sqlite.db
Table: myfire_manylayers_4
Key column: cat
cat : 30
nlayer : 4
Layer: 5
Category: 30
Driver: sqlite
Database: /home/bugs/grassdata/nc_spm_08_grass7/user1/sqlite/sqlite.db
Table: myfire_manylayers_5
Key column: cat
cat : 30
nlayer : 5
Layer: 6
Category: 30
Driver: sqlite
Database: /home/bugs/grassdata/nc_spm_08_grass7/user1/sqlite/sqlite.db
Table: myfire_manylayers_6
Key column: cat
cat : 30
nlayer : 6
}}}
select layer
{{{
v.what -a map=myfire_manylayers at user1 layer=6
coordinates=655179.780713,222274.755375 distance=20
East: 655179.780713
North: 222274.755375
------------------------------------------------------------------
Map: myfire_manylayers
Mapset: user1
Type: Point
Id: 30
Layer: 6
Category: 30
Driver: sqlite
Database: /home/bugs/grassdata/nc_spm_08_grass7/user1/sqlite/sqlite.db
Table: myfire_manylayers_6
Key column: cat
cat : 30
nlayer : 6
}}}
thanks for the quick fix. closing ticket or backporting first?
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/3172#comment:2>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list