add_xystring: Adds concatenated String of X and Y coordinates of centroids...

View source: R/utility_functions.R

add_xystringR Documentation

Adds concatenated String of X and Y coordinates of centroids of polygons to Simple Features polygon object. This String acts as a key to identify spatially identical polygons for use in tidyverse pivot functions.

Description

Adds concatenated String of X and Y coordinates of centroids of polygons to Simple Features polygon object. This String acts as a key to identify spatially identical polygons for use in tidyverse pivot functions.

Usage

add_xystring(myDF)

Arguments

myDF

sf polygon object

Value

character vector of XYStrings


nevilamos/FAMEFMR documentation built on April 17, 2025, 9:32 p.m.