-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Queries using hl_uri in AK all return the same exact geopackage.
Other methods in AK work fine (e.g. querying by id), and querying by hl_uri seems to work fine in the other domains besides AK.
library(hydrofabric)
library(glue)
library(hfsubsetR)
input = "~/hydrofabric/data/v2.2/ak_nextgen.gpkg"
subset_func <- function(gage_id){
hfsubsetR::get_subset(hl_uri = glue("gages-{gage_id}"),
gpkg = input,
hf_version = hf_version,
lyrs = c("divides", "flowpaths", "network", "nexus",
"flowpath-attributes",
"divide-attributes"),
type = 'nextgen',
overwrite = TRUE)
}
hf1 <- subset_func("15284000")
hf2 <- subset_func("15271000")
hf3 <- subset_func("15294005")
identical(hf1, hf2) # yields TRUE
identical(hf1, hf3) # yields TRUE
Metadata
Metadata
Assignees
Labels
No labels