You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am calculating isochrones for around 300 observations. When I run "otp_isochrone" with the "fromPlace" set to the sf object, the process fails. When I run the process in a loop to tackle each observation individually, the process is successful. Also, when I run the process on only the 1st n-rows up to a certain point (in this case 241 rows) it fails but 240 works.
To Reproduce
Using the IOW data in a local OTP server, the following code will reproduce the behviour.
Expected behavior
I expected all observation points to produce a multipolygon isochrone.
Screenshots
test<-tibble::tibble(id=1:400, x=-1.24763, y=50.68792) |>
st_as_sf(coords= c(x="x", y="y"), crs=4326 )
#> Error in st_as_sf(tibble::tibble(id = 1:400, x = -1.24763, y = 50.68792), : could not find function "st_as_sf"isochrone1<- otp_isochrone(otpcon, fromPlace=test[1:191,], mode="walk")
#> Error in otp_isochrone(otpcon, fromPlace = test[1:191, ], mode = "walk"): could not find function "otp_isochrone"
nrow(isochrone1)
#> Error in eval(expr, envir, enclos): object 'isochrone1' not foundisochrone_fail<- otp_isochrone(otpcon, fromPlace=test, mode="walk")
#> Error in otp_isochrone(otpcon, fromPlace = test, mode = "walk"): could not find function "otp_isochrone"
nrow(isochrone_fail)
#> Error in eval(expr, envir, enclos): object 'isochrone_fail' not found
warnings()
Describe the bug
I am calculating isochrones for around 300 observations. When I run "otp_isochrone" with the "fromPlace" set to the sf object, the process fails. When I run the process in a loop to tackle each observation individually, the process is successful. Also, when I run the process on only the 1st n-rows up to a certain point (in this case 241 rows) it fails but 240 works.
To Reproduce
Using the IOW data in a local OTP server, the following code will reproduce the behviour.
Expected behavior
I expected all observation points to produce a multipolygon isochrone.
Screenshots
Created on 2024-03-21 with reprex v2.1.0
System
Created on 2024-03-21 with reprex v2.1.0
Additional context
@Robinlovelace as per the discussion this morning
The text was updated successfully, but these errors were encountered: