Created
November 16, 2020 03:41
-
-
Save mikemahoney218/f2ee5a9e626202e1c4805a976b82d819 to your computer and use it in GitHub Desktop.
Code to create a map for day 19 of the 30 Day Map Challenge: NULL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(terrainr) | |
library(magrittr) | |
downloaded_tiles <- get_bbox(lat = 44.050604, lng = -74.051024) %>% | |
set_bbox_side_length(8000) %>% | |
get_tiles(services = c("elevation", "ortho")) | |
merged_tiles <- lapply(downloaded_tiles, merge_rasters) | |
raster_to_raw_tiles(merged_tiles[[1]][[1]], "tahawus") | |
raster_to_raw_tiles(merged_tiles[[2]][[1]], "tahawus", raw = FALSE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment