Create a shapefile geometry vector

shp_geometry(file)

new_shp_geometry(x, file, crs = NULL)

Arguments

file

A vector of filenames.

x

A vector of zero-based indices corresponding to the internal shape_id within the shapefile.

crs

An object that can be interpreted as a CRS

Value

A vector