Skip to contents

Method to load a vector file and convert it into a SpatVector object.

Usage

input_vector(x, ...)

# S4 method for class 'character'
input_vector(x, ...)

# S4 method for class 'SpatVector'
input_vector(x, ...)

# S4 method for class 'sf'
input_vector(x, ...)

Arguments

x

path (character) to the file or a SpatVector object.

...

additional arguments to terra::vect.

Value

SpatVector

See also