aRTdb-importSpData {aRT} | R Documentation

## importSpData

### Description

Function to import a Spatial data to the database. It create a layer and a table, and then import the data to them.

### Usage

    ## S4 method for signature 'aRTdb':
    importSpData(object,spdata,lname,tname=lname, proj=NA,thname=NULL,view=thname)

### Arguments

`object` | Object of class `aRTdb`.
`spdata` | object of class `Spatial`.
`lname` | Name of the layer that will store the data.
`tname` | Name of the table (default is NA).
`proj` | A string containing a PROJ.4 description.
`thname` | If used, create a theme with its name and returns it.
`view` | Name of the view.

### Author(s)

Pedro Ribeiro de Andrade

### See Also

See `aRTdb-class` to show the description of this class.

[Package aRT version 1.7-1 Index]