grass_v.to.db: Update attribute table.

View source: R/setup_grass_environment.R

grass_v.to.dbR Documentation

Update attribute table.

Description

Wrapper for v.to.db to catch errors arising in some GRASS versions

Usage

grass_v.to.db(map, option, type = "line", columns, format)

Arguments

map

character; name of the map where values should be uploaded.

option

character; what values should be uploaded

type

character; feature type (default = "line")

columns

character; name of the column top upload data to

format

character; data format of the new columns (if it must be created)

Details

Since different versions of GRASS handle v.to.db differently (older versions <= 7.4 need the column to exists. while newer ones create the column) different implementations are necessary

Value

Nothing. Uses v.to.db to populate attribute values from vector features.

Author(s)

Mira Kattwinkel, mira.kattwinkel@gmx.net


MiKatt/openSTARS documentation built on June 17, 2022, 5:08 a.m.