Skip to contents

This function takes an SF object, and adds two columns containing the coordinates in the geometry column.

Usage

sfc_as_cols(x, names = c("x", "y"))

Arguments

data

An SF (Simple Feature) object.

Value

The same object, now with two columns containing the coordinates in the geometry column.

See also

Other NEMO-MEDUSA spatial tools: Update-drivers, Window(), vectors_2_direction()