4.3 Bounding Boxes
Antarctica_map <- map(fill = TRUE, plot = FALSE) |>
st_as_sf() |>
filter(ID == "Antarctica")
Antarctica_map |>
ggplot() +
geom_sf() +
labs(title = "Antarctica",
subtitle = "Think of the latitude",
caption = "Spatial Data Science book club")
## xmin ymin xmax ymax
## -180.00000 -85.19218 179.62032 -60.52090
which clearly does not contain the region (ymin being -90 and xmax 180).
Fiji_map <- map(fill = TRUE, plot = FALSE) |>
st_as_sf() |>
filter(ID == "Fiji")
Fiji_map |>
ggplot() +
geom_sf() +
labs(title = "Fiji",
subtitle = "Think of the longitude",
caption = "Spatial Data Science book club")
## xmin ymin xmax ymax
## -179.86734 -21.70586 180.17769 -12.47695
seems to span most of the Earth