Opened 16 years ago
Closed 16 years ago
#267 closed defect (fixed)
v.what returns "Line:" attribute for points and centroids
Reported by: | msieczka | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 6.4.0 |
Component: | Vector | Version: | svn-develbranch6 |
Keywords: | Cc: | ||
CPU: | All | Platform: | All |
Description
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"?
Note:
See TracTickets
for help on using tickets.
I changed "Line" to "Id", devbr6 (r33153) and trunk (r33154).