aRTlayer-getPoints {aRT} | R Documentation

## Points data from a layer

### Description

Function that returns the points of a layer.

### Usage

    ## S4 method for signature 'aRTlayer':
    getPoints(object, table=NULL, as.sp=TRUE)

### Arguments

`object` | Object of class `aRTlayer`.
`table` | A table name, to be read from the database with the points as a SpatialPointsDataFrame. If `NULL`, the returned value does not contain any attribute but the ID.
`as.sp` | Return Spatial data or an object of class `aRTgeometry`

### Author(s)

Marcos Aurelio Carrero, Pedro Ribeiro de Andrade

### See Also

See `aRTlayer-class` to the description of this class.

[Package aRT version 1.7-1 Index]