arc.shape: Get "arc.shape" geometry object

arc.shapeR Documentation

Get "arc.shape" geometry object

Description

Get geometry object of arc.shape-class from arc.data object.

Usage

 
 arc.shape(x)

Arguments

x

a data.frame object of type arc.data

Value

returns arc.shape-class

See Also

arc.shapeinfo, arc.select, arc.data

Examples


d <- arc.open(system.file("extdata", "ca_ozone_pts.shp", package="arcgisbinding"))
df <- arc.select(d, 'ozone')

shp <- arc.shape(df)
stopifnot(length(shp) == nrow(df))

shp
## Not run: 
geometry type   : Point
WKT             : PROJCS["USA_Contiguous_Albers_Equal_Area_Conic",GEOGCS["GCS_...
WKID            : 102003
length          : 193

## End(Not run)

R-ArcGIS/r-bridge documentation built on May 3, 2024, 9:47 a.m.