arc.shape2sp {arcgisbinding}R Documentation

Convert Esri shape to sp spatial geometry

Description

Convert arc.shape-class to sp spatial geometry: SpatialPoints, SpatialLines, or SpatialPolygons.

Usage

arc.shape2sp(shape, wkt = arc.shapeinfo(shape)$WKT)

Arguments

shape

arc.shape-class

wkt

WKT spatial reference

See Also

arc.shape

Examples

require(sp)
d <- arc.open(system.file("extdata", "ca_ozone_pts.shp",
                          package="arcgisbinding"))
df <- arc.select(d, 'ozone')
sp.df <- arc.shape2sp(arc.shape(df))
## Not run: plot(sp.df)

[Package arcgisbinding version 1.0.0.124 Index]