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

arc.shape-classR Documentation

Class "arc.shape"

Description

arc.shape S4 class. Object arc.shape is a geometry collection.

Details

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

Extends

Class list, directly.

Slots

.Data

internal

shapeinfo

geometry information, for mode details see arc.shapeinfo

Methods

[

signature(x = "arc.shape", i=numeric) select geometry subset

arc.shapeinfo

return geometry information

length

length of collection

See Also

arc.shape, arc.shapeinfo

Examples

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)


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