s2plot_projection_orthographic: Define a projection to use with s2plot

Description Usage Arguments

View source: R/proj.R

Description

Define a projection to use with s2plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
s2plot_projection_orthographic(point, rotation = 0)

s2plot_projection_default(geog, add = FALSE)

s2plot_prepare(projection, geog)

s2plot_project(projection, geog)

## S3 method for class 's2plot_projection_orthographic'
s2plot_prepare(projection, geog)

## S3 method for class 's2plot_projection_orthographic'
s2plot_project(projection, geog)

Arguments

point

The centre of the projection

rotation

Rotation

geog

A s2::as_s2_geography()

add

Add to the current plot? Use FALSE to create a new plot.

projection

Right now s2plot_projection_orthographic() is the only projection. The default is either calculated based on the s2::s2_centroid_agg() of geog or the last used projection if add = TRUE.


paleolimbot/s2plot documentation built on July 10, 2020, 12:35 a.m.