sfc_as_cols: Pull Coordinates from a Simple Feature Geometry Column

View source: R/misc functions.R

sfc_as_colsR Documentation

Pull Coordinates from a Simple Feature Geometry Column

Description

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()


Jack-H-Laverick/MiMeMo.tools documentation built on March 6, 2023, 3:44 p.m.