.vRecat | R Documentation |
Each geometry in a GRASS vector has a "category" number (abbreviated "cat" in output and modules). Geometries can have the same or different numbers, but for functions to work as intended, they often need to have sequential category values, starting at 1, with no skips between integers. This function reconstitutes the category values of a vector in GRASS so they being with 1 and have no skips. This function is mostly of use to developers.
.vRecat(x, gtype, cats = NULL)
x |
A |
gtype |
Character: Type of vector features in GRASS format (i.e., either |
cats |
|
The sources()
name of a vector.
.vIncrementCats()
, .vCats()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.