| Convert to sp::Spatial* - Spatial geometry, sf::sfc - Simple Feature geometry | R Documentation | 
Convert arc.shape-class to sp spatial geometry:
SpatialPoints, SpatialLines, or SpatialPolygons.
Similar to arc.data2sp.
Convert arc.shape-class to sfc simple feature geometry:
POINT, MULTIPOINT, POLYGON, MULTIPOLYGON, LINESTRING, MULTILINESTRING.
Similar to arc.data2sf.
arc.shape2sp(shape, ...)
arc.shape2sf(shape, ...)
| shape | 
 | 
| ... | optional  | 
an object of class sp::Spatial*.
an object of class sf::sfc, which is a classed list-column with simple feature geometries.
arc.shape,
arc.data2sp
arc.data2sf
d <- arc.select(arc.open(system.file("extdata", "ca_ozone_pts.shp", package="arcgisbinding")), 'ozone')
x <- arc.shape(d)
geom <- arc.shape2sp(x)
## Not run: plot(geom)
geom <- arc.shape2sf(x)
## Not run: plot(geom)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.