| arc.shapeinfo {arcgisbinding} | R Documentation |
arc.shapeinfo provides details on what type of geometry is stored
within the dataset, and the spatial reference of the geometry. The
well-known text, WKT, allows interoperable transfer of the spatial
reference system (CRS) between environments. The WKID is a numeric
value that ArcGIS uses to precisely specify a projection.
arc.shapeinfo(object)
object |
arc.dataset-class object |
typegeometry type: "Point", "Polyline", or "Polygon"
hasZTRUE if geometry includes Z-values
hasMTRUE if geometry includes M-values
WKTwell-known text representation of the shape's spatial reference
WKIDwell-known ID of the shape's spatial reference
arc.dataset-class arc.shape-class
d <- arc.open(system.file("extdata", "ca_ozone_pts.shp",
package="arcgisbinding"))
# from arc.dataset
info <- arc.shapeinfo(d)
info$WKT # print dataset spatial reference
# from arc.shape
df <- arc.select(d, 'ozone')
arc.shapeinfo(arc.shape(df))