sf_convert: Convert spatial objects to WKT

View source: R/sp_convert.R

sf_convertR Documentation

Convert spatial objects to WKT

Description

sp_convert turns objects from the sp package (SpatialPolygons, SpatialPolygonDataFrames) or the sf package (sf, sfc, POLYGON, MULTIPOLYGON) - into WKT POLYGONs or MULTIPOLYGONs

Usage

sf_convert(x)

Arguments

x

an sf or sfc object. one or more can be submitted

Value

a character vector of WKT objects


ropensci/wellknown documentation built on April 8, 2023, 11:54 p.m.