I realized that the r5r does not write back a calculated network.dat / respectively fails in the building process when the input files cover a whole country. (If I try the same for a small subset e.g. the city of Hamburg than r5r works as described and expected).
Operating System:
Ubuntu 20.04.1 LTS
RAM: 1 TB
120 cernels
Input files:
germany-latest-osm.pbf (https://download.geofabrik.de/europe/germany-latest.osm.pbf)
-GTFS files (whole public transport for Germany):
https://download.gtfs.de/germany/fv_free/latest.zip
https://download.gtfs.de/germany/nv_free/latest.zip
https://download.gtfs.de/germany/rv_free/latest.zip
Command to build and save the Graph:
options(java.parameters = "-Xmx500G")
library(r5r)
r5r_core <- setup_r5(data_path = , verbose = TRUE)
Error Message:
...
4:13:13.159 [main] WARN com.conveyal.r5.streets.StreetLayer - Vertex 2590721757 not found to use as via node for restriction 4429938, skipping this restriction
14:13:13.159 [main] WARN com.conveyal.r5.streets.StreetLayer - Did not find from/to edges for restriction 4429939, skipping
14:13:13.159 [main] WARN com.conveyal.r5.streets.StreetLayer - Did not find from/to edges for restriction 4429940, skipping
14:13:13.159 [main] WARN com.conveyal.r5.streets.StreetLayer - Did not find from/to edges for restriction 4429941, skipping
14:13:13.159 [main] WARN com.conveyal.r5.streets.StreetLayer - Did not find from/to edges for restriction 4429942, skipping
14:13:13.199 [main] ERROR com.conveyal.r5.streets.StreetLayer - Invalid turn restriction 4437683, does not have from, to and via, skipping
14:13:13.201 [main] ERROR com.conveyal.r5.streets.StreetLayer - Turn restriction 4437852 has multiple 'from' members, skipping.
14:13:13.201 [main] ERROR com.conveyal.r5.streets.StreetLayer - Turn restriction 4437855 has multiple 'from' members, skipping.
Error in rJava::.jnew("org.ipea.r5r.R5RCore", data_path, verbose) :
java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 19950683
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4