Comments (7)
Apparently, the pbf.mapdb and pbf.mapdb.p files are required by R5. I tried deleting them, but R5 created them again the next time I ran setup. I've added them to .gitignore.
from r5r.
The network.dat
is the graph, I suppose, but not sure what the others are.
from r5r.
I' not entirely sure why R5 create these other .pbf.mapdb.p
, though this seems to be a data base that R5 uses internally. In any case, I don't see why this should be a concern for the moment, right?
Regarding the other questions, update the lastest version of r5r
and let me know if the problem persists. Rigth now, the setup_r5
function should be able to build a network if only a OSM.pbf file is provided with no GTFS. So, the GTFS file is optional so to speak, but it cannot create a network without an OSM.pbf file.
from r5r.
The problem persists. Here's a reproducible code, can you check if you get the same error?
dir.create("~/test_r5r")
files_path <- system.file("extdata", package = "r5r")
file.copy(
from = paste0(files_path, "/", list.files(files_path)),
to = "~/test_r5r"
)
setup_r5("~/test_r5r")
from r5r.
In my test, "~/test_r5r" is not recognised as a correct path. I don't know if this is an R or Java issue. Changing the path to "/home/marcus/test_r5r" worked.
I've found the function path.expand() that does what we need.
from r5r.
I believe it's working now.
ce42bdb
from r5r.
Works alright for me now!
from r5r.
Related Issues (20)
- Trouble Installing R5R in R: Fatal error HOT 2
- Error testing R5 v7.1 - does not have member field 'int maxDestinations' HOT 1
- Error in .jcall("RJavaTools", "Z", "hasField", .jcast(x, "java/lang/Object"), : java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "<parameter1>" is null HOT 39
- Update required JDK version in Getting Started vignette HOT 6
- r5r v2.0 on CRAN HOT 1
- Isochrones in low-road density contexts HOT 7
- network.dat not built after running setup_r5 HOT 8
- Recurring issue from issue #382: Isochrones in low-road density contexts HOT 1
- Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException HOT 4
- Code redundancy in R5TravelTimeComputer
- convinient function to check Java version HOT 9
- Transit mode not used, problems with GTFS data? HOT 9
- Error using setup_r5() HOT 3
- Errors with setup_r5() HOT 10
- Issues with travel_time_matrix including reasonable transit times HOT 1
- r5r Not recognizing Java Version HOT 21
- Initialize_r5r_core HOT 15
- java.lang.ArrayIndexOutOfBoundsException error when calling accessibility HOT 6
- Max Walk Time HOT 3
- Catchments at different times HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r5r.