\HeaderA{aRTdb-createLayer}{Create a layer}{aRTdb.Rdash.createLayer}
\aliasA{createLayer}{aRTdb-createLayer}{createLayer}
\aliasA{createLayer,aRTdb-method}{aRTdb-createLayer}{createLayer,aRTdb.Rdash.method}
\keyword{database}{aRTdb-createLayer}
\begin{Description}\relax
Creates a new layer in a database and returns it.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S4 method for signature 'aRTdb':
createLayer(object, layername, proj=proj)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] Object of aRTdb class.
\item[\code{layername}] Name of the layer.
\item[\code{proj}] Projection in proj.4 format, and dafault is no projection. 
Some projections are not supported by TerraLib.
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
Pedro Ribeiro de Andrade Neto
\end{Author}
\begin{SeeAlso}\relax
See \code{\LinkA{aRTlayer-class}{aRTlayer.Rdash.class}} to the description of this class, and
\code{\LinkA{openLayer}{openLayer}} to just open an existent layer.
See also \pkg{spproj} for conversion between projections.
\end{SeeAlso}

