Plot S2 Geographies
s2_plot(
x,
...,
asp = 1,
xlab = "",
ylab = "",
rule = "evenodd",
add = FALSE,
plot_hemisphere = FALSE,
simplify = TRUE,
centre = NULL
)
Passed to plotting functions for features: graphics::points()
for point and multipoint geometries, graphics::lines()
for linestring
and multilinestring geometries, and graphics::polypath()
for polygon
and multipolygon geometries.
Passed to graphics::plot()
Passed to graphics::plot()
Passed to graphics::plot()
The rule to use for filling polygons (see graphics::polypath()
)
Should a new plot be created, or should handleable
be added to the
existing plot?
Plot the outline of the earth
Use FALSE
to skip the simplification step
The longitude/latitude point of the centre of the orthographic projection
The input, invisibly
s2_plot(s2_data_countries())
s2_plot(s2_data_cities(), add = TRUE)