-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathgeo_projected.Rd
45 lines (41 loc) · 1.26 KB
/
geo_projected.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geo_projected.R
\name{geo_projected}
\alias{geo_projected}
\alias{gprojected}
\title{Perform GIS functions on a temporary, projected version of a spatial object}
\usage{
geo_projected(shp, fun, crs, silent, ...)
}
\arguments{
\item{shp}{A spatial object with a geographic (WGS84) coordinate system}
\item{fun}{A function to perform on the projected object (e.g. from the sf package)}
\item{crs}{An optional coordinate reference system (if not provided it is set
automatically by \code{\link[=geo_select_aeq]{geo_select_aeq()}})}
\item{silent}{A binary value for printing the CRS details (default: TRUE)}
\item{...}{Arguments to pass to \code{fun}}
}
\description{
This function performs operations on projected data.
}
\examples{
lib_versions <- sf::sf_extSoftVersion()
lib_versions
# fails on some systems (with early versions of PROJ)
if (lib_versions[3] >= "6.3.1") {
shp <- routes_fast_sf[2:4, ]
geo_projected(shp, sf::st_buffer, dist = 100)
}
}
\seealso{
Other geo:
\code{\link{bbox_scale}()},
\code{\link{bind_sf}()},
\code{\link{geo_bb}()},
\code{\link{geo_bb_matrix}()},
\code{\link{geo_buffer}()},
\code{\link{geo_length}()},
\code{\link{geo_select_aeq}()},
\code{\link{quadrant}()}
}
\concept{geo}