NEFSC / READ-SSB-CHAJI-Effort-Displacement---Scallop

Other
0 stars 0 forks source link

Error in wk_handle... loop is not valid: Edge has duplicate vertex #221

Closed mchaji closed 10 months ago

mchaji commented 10 months ago

st_joinerror

This error is coming up in the processing rmd when trying to join the lease areas to ten minute squares. I suspect that this is due to a new sf package update that using a different mapping approach in s_2. I tried using the old package to fix the issue, but the dependencies were new too so I think that was also a part of the problem.

mchaji commented 10 months ago
  1. ran ' sf::st_is_valid(x)' to determine where the affected shapefiles the problem lies. This will produce TRUE & FALSE values, if anything comes up as FALSE it means that specific polygon is creating the error.
  2. sometimes the issue can be fixed using 'sf::st_make_valid(x)', but that didn't work in this case.
mchaji commented 10 months ago

Fix in ArcGIS Pro

mle2718 commented 10 months ago

@mchaji we can close this too, right?

mchaji commented 10 months ago

@mchaji we can close this too, right?

we can I was keeping it open to link it to the commit to update it, but I'll add it with a comment later