Displaying 1 result from an estimated 1 matches for "glength".
Did you mean:
length
2016 Apr 28
0
Snowfall - Error in checkForRemoteErrors(val) with sfClusterApplyLB()
...on ", k), sep="\n")
if (......) {
} else {
if (class(ob1)=="SpatialCollections") {
ob2 <- ob1 at lineobj
} else if (class(ob1)=="SpatialLines") {
ob2 <- ob1
}
ob3 <- data.frame(length_m=sapply(1:length(ob2), function(l) gLength(ob2 [l, ])))
.....
}
.....
}
sfStop()
The problem is that the code returns the error message:
Error in checkForRemoteErrors(val) :
one node produced an error: object 'ob2' not found
>From the debugging function "sfCat", I also get these warning messages:
Warni...