| 1 |
\name{coordinates-methods} |
| 2 |
\docType{methods} |
| 3 |
\alias{coordinates-methods} |
| 4 |
% \alias{coordinates} |
| 5 |
\alias{coordinates,list-method} |
| 6 |
\alias{coordinates,data.frame-method} |
| 7 |
\alias{coordinates,matrix-method} |
| 8 |
\alias{coordinates,SpatialPoints-method} |
| 9 |
\alias{coordinates,SpatialMultiPoints-method} |
| 10 |
%\alias{coordinates,SpatialPointsDataFrame-method} |
| 11 |
\alias{coordinates,SpatialPolygons-method} |
| 12 |
\alias{coordinates,SpatialPolygonsDataFrame-method} |
| 13 |
\alias{coordinates,Line-method} |
| 14 |
\alias{coordinates,Lines-method} |
| 15 |
\alias{coordinates,SpatialLines-method} |
| 16 |
\alias{coordinates,GridTopology-method} |
| 17 |
\alias{coordinates,SpatialPixels-method} |
| 18 |
\alias{coordinates,SpatialPixelsDataFrame-method} |
| 19 |
\alias{coordinates,SpatialGrid-method} |
| 20 |
\alias{coordinates,SpatialGridDataFrame-method} |
| 21 |
\alias{coordinates<-,data.frame-method} |
| 22 |
\title{ retrieve (or set) spatial coordinates } |
| 23 |
\description{ retrieve (or set) spatial coordinates from (for) spatial data } |
| 24 |
\section{Methods}{ |
| 25 |
\describe{ |
| 26 |
\item{obj = "list"}{ list with (at least) two numeric components of equal length } |
| 27 |
\item{obj = "data.frame"}{ data.frame with at least two numeric components } |
| 28 |
\item{obj = "matrix"}{ numeric matrix with at least two columns } |
| 29 |
\item{obj = "SpatialPoints"}{ object of, or deriving from, SpatialPoints } |
| 30 |
\item{obj = "SpatialPointsDataFrame"}{ object of, or deriving from, |
| 31 |
SpatialPointsDataFrame } |
| 32 |
\item{obj = "SpatialPolygons"}{ object of, or deriving from, SpatialPolygons } |
| 33 |
\item{obj = "SpatialPolygonsDataFrame"}{ object of, or deriving from, |
| 34 |
SpatialPolygonsDataFrame } |
| 35 |
\item{obj = "Line"}{ object of class Line; returned value is matrix } |
| 36 |
\item{obj = "Lines"}{ object of class Lines; returned value is list of matrices } |
| 37 |
\item{obj = "SpatialLines"}{ object of, or deriving from, SpatialLines; returned |
| 38 |
value is list of lists of matrices } |
| 39 |
\item{obj = "GridTopology"}{ object of, or deriving from, GridTopology } |
| 40 |
\item{obj = "GridTopology"}{ object of, or deriving from, GridTopology } |
| 41 |
\item{obj = "SpatialPixels"}{ object of, or deriving from, SpatialPixels } |
| 42 |
\item{obj = "SpatialPixelsDataFrame"}{ object of, or deriving from, SpatialPixelsDataFrame } |
| 43 |
\item{obj = "SpatialGrid"}{ object of, or deriving from, SpatialGrid } |
| 44 |
\item{obj = "SpatialGridDataFrame"}{ object of, or deriving from, SpatialGridDataFrame } |
| 45 |
}} |
| 46 |
\section{Methods for "coordinates<-"}{ |
| 47 |
\describe{ |
| 48 |
\item{object = "data.frame", value="ANY"}{ promote data.frame to object of class |
| 49 |
\link{SpatialPointsDataFrame-class}, by specifying coordinates; see \link{coordinates}} |
| 50 |
}} |
| 51 |
\keyword{methods} |