Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigate upstream fails for comid 4651042 #1

Open
hdugan opened this issue May 2, 2024 · 1 comment
Open

Navigate upstream fails for comid 4651042 #1

hdugan opened this issue May 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@hdugan
Copy link
Collaborator

hdugan commented May 2, 2024

Other NHD functions work for this comid. This fails, and so this site is not mapped to salt use.

comids_ut <- navigate_nldi(
  list(featureSource = "comid",
       featureID = 4651042),
  mode = "upstreamTributaries",
  distance_km = 1000)
@hdugan hdugan added the bug Something isn't working label May 8, 2024
@lindsayplatt
Copy link
Owner

Hmmm that command did not fail for me. I am using nhdplusTools v1.1.0.

> comids_ut 
$origin
Simple feature collection with 1 feature and 3 fields
Geometry type: LINESTRING
Dimension:     XY
Bounding box:  xmin: -75.78338 ymin: 39.82052 xmax: -75.76803 ymax: 39.82447
Geodetic CRS:  WGS 84
# A tibble: 1 × 4
  sourceName    identifier comid                                                                      geometry
  <chr>         <chr>      <chr>                                                              <LINESTRING [°]>
1 NHDPlus comid 4651042    4651042 (-75.76803 39.82382, -75.7682 39.82394, -75.76927 39.82405, -75.77001 39.8…

$UT_flowlines
Simple feature collection with 4 features and 1 field
Geometry type: LINESTRING
Dimension:     XY
Bounding box:  xmin: -75.78338 ymin: 39.82052 xmax: -75.76114 ymax: 39.82447
Geodetic CRS:  WGS 84
# A tibble: 4 × 2
  nhdplus_comid                                                                                  geometry
  <chr>                                                                                  <LINESTRING [°]>
1 4651042       (-75.76803 39.82382, -75.7682 39.82394, -75.76927 39.82405, -75.77001 39.82433, -75.77...
2 4652086                (-75.76598 39.82362, -75.76606 39.82352, -75.76784 39.82379, -75.76803 39.82382)
3 4651036                 (-75.76479 39.8235, -75.76491 39.82373, -75.76536 39.82373, -75.76598 39.82362)
4 4652354                                                         (-75.76114 39.82251, -75.76479 39.8235)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants