Skip to content

Queries of HF v2.2 using hl_uri all yield the same GPKG in AK domain #7

@bolotinl

Description

@bolotinl

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions