Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sf_convert

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


wellknown

Convert Between 'WKT' and 'GeoJSON'

v0.7.2
MIT + file LICENSE
Authors
Scott Chamberlain [aut, cre] (<https://orcid.org/0000-0003-1444-9135>), Os Keyes [aut] (author of code in src/)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.