Skip to content

Commit

Permalink
avoid crazy slow read from ring direction check fixes #411
Browse files Browse the repository at this point in the history
  • Loading branch information
dblodgett-usgs committed Sep 16, 2024
1 parent 33573b4 commit 6e69c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_nhdplushr.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ get_nhdplushr <- function(hr_dir, out_gpkg = NULL,

for(layer in layers) {
if(!is.null(out_gpkg) && layer %in% layer_names & !overwrite) {
out <- read_sf(out_gpkg, layer)
out <- read_sf(out_gpkg, layer, check_ring_dir = FALSE)
} else {

layer_set <- lapply(gdbs, get_hr_data, layer = layer, ...)
Expand Down

0 comments on commit 6e69c29

Please sign in to comment.