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

Value

vector of ID's