Duplicate feature ids in refactor 10L
I get blocked adding code chunks again. Will add as comment.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author Maintainer
This is giving me some issues and seems like a bug. We have 4 features with the same geometry, with 2 different IDs, and 2 different toID's
data = sf::read_sf("/Volumes/Transcend/ngen/CONUS-hydrofabric/refactor/refactor_10L.gpkg", 'refactored_flowpaths') (tmp = which(duplicated(data$ID))) #> [1] 55921 96134 (id = data$ID[tmp]) #> [1] 10055919 10096131 (o = dplyr::filter(data, ID %in% id)) #> Simple feature collection with 4 features and 7 fields #> Geometry type: MULTILINESTRING #> Dimension: XY #> Bounding box: xmin: -94.60996 ymin: 39.11524 xmax: -94.6072 ymax: 39.12005 #> Geodetic CRS: NAD83 #> # A tibble: 4 × 8 #> ID toID LENGTHKM TotDASqKM member_COMID LevelPathID refactor_ID #> * <dbl> <dbl> <dbl> <dbl> <chr> <int> <int> #> 1 10055919 10145864 0.551 1029456. 2255489 1 7023 #> 2 10055919 10145865 0.551 1029456. 2255489 1 7023 #> 3 10096131 10145864 0.139 149104. 3727783 132 47235 #> 4 10096131 10145865 0.139 149104. 3727783 132 47235 #> # … with 1 more variable: geom <MULTILINESTRING [°]>
Created on 2022-07-20 by the reprex package (v2.0.1)
Edited by Mike Johnson - Mike Johnson changed title from Duplicate feature id is refactor 10L to Duplicate feature ids in refactor 10L
changed title from Duplicate feature id is refactor 10L to Duplicate feature ids in refactor 10L
- Owner
I tracked this through to the code that combines RPUs into a single VPU. Will chase down what's causing it and get a fix in.
- Bock, Andy mentioned in commit 31c15381
mentioned in commit 31c15381
- Blodgett, David L. closed with commit e4cbb24c
closed with commit e4cbb24c
- Mike Johnson mentioned in issue #82 (closed)
mentioned in issue #82 (closed)
- Blodgett, David L. mentioned in commit e4cbb24c
mentioned in commit e4cbb24c
Please register or sign in to reply