mat_st_to_df: mat_st_to_df

View source: R/sf_functions.R

mat_st_to_dfR Documentation

mat_st_to_df

Description

mat_st_to_df

Usage

mat_st_to_df(shp, add_xy = FALSE)

Arguments

shp

shp

add_xy

Logical. Add xy coordinates?

Examples

library(sf)
shp <- st_sf(a=c(3,2), geometry=st_sfc(st_point(1:2), st_point(2:3)))
mat_st_to_df(shp)
mat_st_to_df(shp, add_xy = TRUE)

MatthieuStigler/matPkg documentation built on Sept. 19, 2024, 5:19 a.m.