Learn R Programming

arcgisbinding (version 1.0.1.229)

arc.shape-class: Class "arc.shape"

Description

arc.shape is geometry collection

Arguments

Examples

Run this code
# NOT RUN {
d <- arc.open(system.file("extdata", "ca_ozone_pts.shp",
                          package="arcgisbinding"))
arc.df <- arc.select(d, "FID")

shape <- arc.shape(arc.df)
# create data.frame with X and Y columns
df <- data.frame(arc.df, X=shape$x, Y=shape$y)
# print out row #42
df[42,]

# }

Run the code above in your browser using DataLab