arc.data2sp {arcgisbinding}R Documentation

Convert an arc.dataframe object to an sp SpatialDataFrame object

Description

Convert an ArcGIS data.frame to the equivalent sp data frame type. The output types that can be generated: SpatialPointsDataFrame, SpatialLinesDataFrame, or SpatialPolygonsDataFrame.

Usage

arc.data2sp(x)

Arguments

x

data.frame result of arc.select

Examples

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

[Package arcgisbinding version 1.0.0.124 Index]