Closed danielmerbet closed 5 years ago
It looks to me like your segments 20 and 17 are unconnected. You can check with the topologydots
function. I ran the cleanup
function to connect these segments and got a riverdistance
of 2309719.
Also, I imagine you want your startvert
to be 19 not 18 as this is the "end" of the segment. nrow(stream$lines[12][[1]])
@jsta Thank you very much...You are right, the stream shapefile had unconnected segments. Now, it is working properly.
Hello,
I am using this code:
When I check the plots of the river and points, they seem correct, but I am encoutering this error:
I send you the initial shapefiles (river and points, with the same projection). Thank you in advance for your help and thank you for this great package.
branco_riverANDpoints.zip