Learn R Programming

arcgisbinding (version 1.0.1.229)

arc.shape2sp: 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)

Arguments

wkt

WKT spatial reference

See Also

arc.shape

Examples

Run this code
# NOT RUN {
require(sp)
d <- arc.select(arc.open(system.file("extdata", "ca_ozone_pts.shp", package="arcgisbinding")), 'ozone')
x <- arc.shape2sp(arc.shape(d))
# }
# NOT RUN {
plot(x)
# }

Run the code above in your browser using DataLab