Rdocumentation
powered by
Learn R Programming
tmap (version 1.6)
get_IDs: Get ID's of the shape items
Description
Get ID's of the shape items. For polygons and lines, the ID attribute is used. For points, the coordinates are used.
Usage
get_IDs(shp)
Arguments
shp
shape object, which is one of
SpatialPolygons(DataFrame)
SpatialPoints(DataFrame)
SpatialLines(DataFrame)
Value
vector of ID's