Learn R Programming

tmaptools (version 2.0)

get_IDs: Get ID's of the shape items of sp objects

Description

Get ID's of the shape items of sp objects. For polygons and lines, the ID attribute is used. For points, the coordinates are used.

Usage

get_IDs(shp)

Arguments

Value

vector of ID's