# NOT RUN {
library(sp)
data("nuts2006")
plot(nuts0.spdf, col = "grey60",border = "grey20", add=FALSE)
box()
for (i in list("topleft", "top", "topright", "right", "bottomright",
"bottom", "bottomleft", "left", c(3502127, 4770427))){
north(i)
}
library(sf)
mtq <- st_read(system.file("shape/martinique.shp", package="cartography"))
plot(st_geometry(mtq))
box()
for (i in list("topleft", "top", "topright", "right", "bottomright",
"bottom", "bottomleft", "left", c(746368, 1632993))){
north(i, south = TRUE)
}
# }
Run the code above in your browser using DataLab