GRASS Vector Attributes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (→See also) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
* string: text label attribute | * string: text label attribute | ||
* cat: vector ID number | * cat: vector ID number (cat: category, saved in both geometry file as well as attribute table) | ||
* integer: integer precision attribute | |||
* double: double precision attribute | * double: double precision attribute | ||
* ... | |||
* coords: vertex coordinates | * coords: vertex coordinates | ||
* dim: number of dimensions (2D, 3D etc) | * dim: number of dimensions (2D, 3D etc) | ||
=== Modification of attributes === | |||
* '''Graphical editing''' can be done with the [[WxGUI Attribute Table Manager]] and the [[WxGUI Vector Digitizer#Category.2FAttributes_management|WxGUI Vector Digitizer]] | |||
* '''Command line editing''' can be done with {{cmd|v.db.update}} and related modules. | |||
=== Special cases === | |||
Two categories (with slash in the middle) can be assigned to a single vector feature in a single layer. This can happen e.g. when importing overlapping polygons: | |||
91/230 | |||
73/99 | |||
196 | |||
=== See also === | |||
* [[Vector Attribute Display]] | |||
* [[Vector Database Management]] | |||
* [[Vector map attribute transfer between connected tables]] | |||
* [[Extracting coordinates of points and writing them to the attribute table]] | |||
[[Category:FAQ]] | |||
[[Category:Vector]] |
Latest revision as of 21:40, 24 March 2014
Q: How to edit GRASS Attributes?
A: Some commands allow specification of attributes, shown as: attr=string|cat|double|coords|dim
The meanings of these terms:
- string: text label attribute
- cat: vector ID number (cat: category, saved in both geometry file as well as attribute table)
- integer: integer precision attribute
- double: double precision attribute
- ...
- coords: vertex coordinates
- dim: number of dimensions (2D, 3D etc)
Modification of attributes
- Graphical editing can be done with the WxGUI Attribute Table Manager and the WxGUI Vector Digitizer
- Command line editing can be done with v.db.update and related modules.
Special cases
Two categories (with slash in the middle) can be assigned to a single vector feature in a single layer. This can happen e.g. when importing overlapping polygons:
91/230 73/99 196