Learn R Programming

arcgisbinding (version 1.0.1.229)

arc.data2sf: Convert an arc.dataframe object to an sf Simple Feature object

Description

Convert an ArcGIS data.frame to the equivalent sf object type. The output types that can be generated: POINT, MULTIPOINT, POLYGON, MULTIPOLYGON, LINESTRING, MULTILINESTRING.

Usage

arc.data2sf(x)

Arguments

x

data.frame result of arc.select

Examples

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

Run the code above in your browser using DataLab