ps_sfc_to_coords: Convert sfc (geometry) to pair of coordinates column.

View source: R/coords.R

ps_sfc_to_coordsR Documentation

Convert sfc (geometry) to pair of coordinates column.

Description

Convert sfc (geometry) to pair of coordinates column.

Usage

ps_sfc_to_coords(
  x,
  sfc_name = ps_active_sfc_name(x),
  X = "X",
  Y = "Y",
  Z = "Z"
)

Arguments

x

The object with columns

sfc_name

A string of the sfc name.

X

A string of the name of the X coordinate.

Y

A string of the name of the Y coordinate.

Z

A string of the name of the Z coordinate.

Value

The modified object with the sfc column removed


poissonconsulting/poisspatial documentation built on Nov. 9, 2023, 10:09 a.m.