arc.shape-class | R Documentation |
arc.shape
S4 class. Object arc.shape
is a geometry collection.
arc.shape
is attached to an ArcGIS data.frame
as the
attribute "shape". Each element corresponds to one record in
the input data frame. Points are presented as an array of lists, with
each list containing (x
, y
, Z
, M
), where
Class list
, directly.
.Data
internal
shapeinfo
geometry information, for mode details see arc.shapeinfo
signature(x = "arc.shape", i=numeric)
select geometry subset
return geometry information
length of collection
arc.shape
,
arc.shapeinfo
d <- arc.select(arc.open(system.file("extdata", "ca_ozone_pts.shp", package="arcgisbinding")), "FID")
shape <- arc.shape(d)
shape
## Not run:
geometry type : Point
WKT : PROJCS["USA_Contiguous_Albers_Equal_Area_Conic",GEOGCS["GCS_...
WKID : 102003
length : 193
## End(Not run)
# access X and Y values
xy <- list(X=shape$x, Y=shape$y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.