Skip to contents

Add or replace spatial features

Usage

add_spatial_features(x, features)

replace_spatial_features(x, ids, features, key_col = NULL)

Arguments

x

An sf object.

features

An sf object containing new or replacement features.

ids

Existing feature ids to replace. Matched like remove_spatial_features().

key_col

Optional stable id column.

Value

An sf object.