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

Description Usage Arguments Value

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

1
get_IDs(shp)

Arguments

shp

shape object, which is one of

  1. SpatialPolygons(DataFrame)

  2. SpatialPoints(DataFrame)

  3. SpatialLines(DataFrame)

Value

vector of ID's


mtennekes/oldtmaptools documentation built on May 11, 2019, 8:22 p.m.