Skip to content

Commit

Permalink
load geojson
Browse files Browse the repository at this point in the history
  • Loading branch information
ramarty committed Dec 6, 2023
1 parent a134c73 commit d9d40dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/blackmarbler.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ file_to_raster <- function(f,

tile_i <- f %>% str_extract("h\\d{2}v\\d{2}")

#bm_tiles_sf <- read_sf("https://raw.githubusercontent.com/worldbank/blackmarbler/main/data/blackmarbletiles.geojson")
data("bm_tiles_sf")
bm_tiles_sf <- read_sf("https://raw.githubusercontent.com/worldbank/blackmarbler/main/data/blackmarbletiles.geojson")
grid_i_sf <- bm_tiles_sf[bm_tiles_sf$TileID %in% tile_i,]

grid_i_sf_box <- grid_i_sf %>%
Expand Down

0 comments on commit d9d40dc

Please sign in to comment.