powered by
Plot S2 Geographies
s2_plot( x, ..., asp = 1, xlab = "", ylab = "", rule = "evenodd", add = FALSE, plot_hemisphere = FALSE, simplify = TRUE, centre = NULL )
The input, invisibly
A wkb() or wkt()
wkb()
wkt()
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.
graphics::points()
graphics::lines()
graphics::polypath()
Passed to graphics::plot()
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?
handleable
Plot the outline of the earth
Use FALSE to skip the simplification step
FALSE
The longitude/latitude point of the centre of the orthographic projection
s2_plot(s2_data_countries()) s2_plot(s2_data_cities(), add = TRUE)
Run the code above in your browser using DataLab