This function queries GRASS to obtain metadata on a vector.
Arguments
- x
A
GVector
or thesources()
name of one.- integer
Logical. If
TRUE
(default), the "cats" of a vector will be returned as type integer. IfFALSE
, they will be returned as a character vector.- cats
NULL
(default) or an integer vector of category numbers, one per geometry.