[GRASS-dev] [GRASS GIS] #267: v.what returns "Line:" attribute for
points and centroids
GRASS GIS
trac at osgeo.org
Thu Aug 28 11:00:12 EDT 2008
#267: v.what returns "Line:" attribute for points and centroids
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Keywords: | Platform: All
Cpu: All |
----------------------+-----------------------------------------------------
It looks weird. Example, in spearfish, add vegcover, query it and you get
output like:
{{{
East: 590751.108647
North: 4914649.113082
Map: vegcover
Mapset: PERMANENT
Type: Centroid
Line: 10505
Layer: 1
Category: 5
Driver: dbf
Database: /home/grassdata/spearfish60/PERMANENT/dbf/
Table: vegcover
Key column: cat
cat : 5
label : mixed forest
}}}
"Line: 10505" looks strange given that we are querying a centroid. I
realized this "Line" is a feature ID actually, as cen be checked with
'd.vect vegcover display=shape,topo'. Wouldn't it be better if v.what
printed "ID" instead of "Line"?
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/267>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list