createLayer {aRT} | R Documentation |
Creates a new layer in a database and returns it. When created using an aRTdb
object,
it returns an empty layer. When created using an aRTlayer
object, it fills it with cells according
to a given resolution.
## S4 method for signature 'aRTdb': createLayer(object, lname, proj=proj) ## S4 method for signature 'aRTlayer': createLayer(object, lname, rx, ry, allbox)
object |
Object of aRTdb or aRTlayer class. |
lname |
Name of the new layer. |
proj |
Projection in proj.4 format, and dafault is no projection. Some projections are not supported by TerraLib. |
rx |
The x axis resolution of the cell layer. |
ry |
The y axis resolution of the cell layer. |
allbox |
Will new layer have cells in the whole box of the original layer, or the cells will comprise only where there is some geometry? |
Pedro Ribeiro de Andrade
See aRTlayer-class
to the description of this class, and
openLayer
to just open an existent layer. See createAndFillColumn
to
the description on how to fill cellular spaces.
See also spproj for conversion between projections.