Description Usage Arguments Value Examples
Make a Tilegram
1 | makeTilegram(sp)
|
x |
An sf object |
A sf projected to EPSG:32663 equidistant grid
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | library(sf)
nc <- st_read(system.file("shape/nc.shp", package = "sf"))
ncTileGram <- makeTilegram(nc)
require(GADMTools)
CH_districts <- gadm_sf_loadCountries("CHE", level = 2, basefile = "./")
CH_districts <- CH_districts$sf
CH_districts_tilegram <- makeTilegram(CH_districts)
ggplot() +
geom_sf(data = CH_districts, aes(fill = NAME_1))
ggplot() +
geom_sf(data = CH_districts_tilegram, aes(fill = NAME_1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.