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
if (otpcon$otp_version>=2.0&otpcon$otp_version<=2.1) {
57
+
stop("Isochrones are not supported by OTP v2.0-2.1. Consider using v1.5 or v2.2+.")
58
+
} elseif (otpcon$otp_version>=2.2) {
59
+
message("OTP v2.2+ experimentaly supports isochrones, see https://docs.opentripplanner.org/en/v2.4.0/sandbox/TravelTime/")
60
+
}
61
+
}
62
+
63
+
# Warn about walking isochrones not being supported by OTP v2
64
+
if (otpcon$otp_version>=2.0) {
65
+
if (length(mode) ==1&&mode=="WALK") {
66
+
warning("Walking-only isochrones are not supported by OTP v2. You can only use \"WALK,TRANSIT\". When set to \"WALK\" OTPv2 defaults to \"WALK,TRANSIT\". See https://docs.opentripplanner.org/en/v2.4.0/sandbox/TravelTime/")
0 commit comments