aRTlayer {aRT} | R Documentation |
Class aRTlayer
Description
Class that represents a layer of information in the database. It can insert
geometries into the database, process them, and create/open aRTtable
, aRTtheme
,
or aRTquerier
objects.
TerraLib layers can store different geometries within a single layer.
Objects from the Class
Objects can be created by calling createLayer()
and openLayer()
, methods of aRTdb
.
Extends
Class aRTcomponent
, directly.
Methods
- addLines:
- Inserts lines in the layer.
- addPoints:
- Inserts points in the layer.
- addPolygons:
- Inserts polygons (rings) in the layer.
- addRaster:
- Inserts a raster data in the layer.
- addShape:
- Inserts data from a shapefile in the layer.
- createLayer:
- Creates a layer with cellular data, based on the spatial data of the layer.
- createTable:
- Creates a table and returns it.
- createTheme:
- Creates a theme and returns it.
- getBox:
- Returns the bunding box of the layer.
- getDistance:
- Returns the distance betweeen layer objects.
- getLines:
- Returns the lines of the layer.
- getMetric:
- Returns a metric operations (buffer, length, area, convex hull).
- getNN:
- Returns the nearest neighbours of some geometries. (Not implemented yet)
- getOperation:
- Returns the centroid, convex hull, or buffer of a given object.
- getPoints:
- Returns the points of the layer.
- getPolygons:
- Returns the polygons of the layer.
- getProj:
- Returns information about the projection of the layer.
- getRaster:
- Returns the raster of the layer.
- getRelation:
- Looks for spatial relations as contains, crosses, touches.
- getSetOperation:
- Calculates a set operation (union, difference, intersection, xor).
- importTable:
- Imports a data.frame to a new table.
- openTable:
- Opens an existent table.
- openTheme:
- Opens an existent theme.
- openQuerier:
- Opens a query over the layer.
- plot:
- Plots the data.
- showTables:
- Shows all information tables in the layer.
Author(s)
Marcos Aurelio Carrero, Pedro Ribeiro de Andrade
See Also
See aRTlayer-METHOD
for a method of this class or CLASSNAME-class
for links to other classes.
Package spproj for conversion of projections.
[Package
aRT version 1.6-4
Index]