Revision 3b318773f96eb74f0d8f7c9dd3a699416186a48d authored by R. Kyle Bocinsky on 26 September 2016, 21:27:04 UTC, committed by cran-robot on 26 September 2016, 21:27:04 UTC
1 parent e0c523b
polygon_from_extent.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/UTILITY_FUNCTIONS.R
\name{polygon_from_extent}
\alias{polygon_from_extent}
\title{Turn an extent object into a polygon}
\usage{
polygon_from_extent(x, proj4string = NULL)
}
\arguments{
\item{x}{An \code{\link{extent}} object, or an object from which an extent object can be retrieved.}
\item{proj4string}{A PROJ.4 formatted string defining the required projection. If NULL,
the function will attempt to get the projection from x using \code{\link{projection}}}
}
\value{
A SpatialPolygons object.
}
\description{
Turn an extent object into a polygon
}
\keyword{internal}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...