aRTdb-importSpData {aRT}R Documentation

importSpData

Description

Function to import a shapefile to the database. It create a layer and import the data to it.

This function is just a wrapper to addShape.

Usage

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

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).
thname If used, create a theme with its name and returns it.
view Name of the view.

Author(s)

Pedro Ribeiro de Andrade Neto

See Also

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


[Package aRT version 1.0-0 Index]