as.aRTgeometry {aRT} | R Documentation

## as.aRTgeometry

### Description

Converts a Spatial data to the aRT format. It does not convert `SpatialPoints` because this class does not have ID, but it converts `SpatialPointsDataFrame`.

### Usage

    ## S4 method for signature 'SpatialPointsDataFrame':
    as.aRTgeometry(object)
    ## S4 method for signature 'SpatialLines':
    as.aRTgeometry(object)
    ## S4 method for signature 'SpatialPolygons':
    as.aRTgeometry(object)

### Arguments

`object` | Object of sp class.

### Author(s)

Pedro Ribeiro de Andrade

### See Also

`getGeometry` to convert the result to `sp` again.

[Package aRT version 1.7-1 Index]