Comments (20)
Your map above only shows the result for walking. You're saying that the results for public transport look exactly the same. Correct?
This is likely related to question 6 in our FAQ.
on another point 1, you should run options(java.parameters = "-Xmx16G")
before loading r5r with library(r5r)
on another point 2, your maps for 60 and 90 min. show a very clear discontinuity in accessibility levels, with a square shape. I supect that your OSM data does not cover the entire region of interest, which I assume includes all areas colored in blue
from r5r.
the result for walking and public transport looks thesame that's why I uploaded one.
for the OSM this: transit <- transit_network_to_sf(r5r_core)
transit$routes %>%
mapview(zcol = "mode"). pulls it out from the directory ? Can I download this from Overpass directly or from R. I need a clear approach on this one. Thanks. and how many files will this comprise?
I have chosen the date from the GTFS calenda_data. here is the image.
from r5r.
ok, it seems you're setting the departure time within the GTFS calendar period.
I would suspect there might me some issues with the quality of the GTFS, but honestly, it could be other things. It is very hard to understand what could be going wrong without the data or a reproducible example. In any case, I'd recommend you run the GTFS validator to check for any issues / probrlems in the GTFS feed. You can do this using the {gtfstools} package.
from r5r.
Thanks. I will run and find out what is the issue.
Just to ask.. I have downloaded the OSM_PBF file again from BBBike extract covering reasonable amount of area. This goes directly to my directory right ? while this code calls it in: transit <- transit_network_to_sf(r5r_core)
transit$routes %>%. because it seems that codes calls in a certain network different from what I have in my directory
from r5r.
yes, you would need to replace the old OSM data in the directory with the new one, and you also need to delete the network.dat
file as well to make sure r5r builds a new network with the new data.
the function transit_network_to_sf(r5r_core)
will load the network stored in the r5r_core
object. This network is saved locally in the network.dat
file.
from r5r.
from r5r.
Can I perform the validation on another platform other than R ?
from r5r.
probably yes, check the github of the original tool
from r5r.
from r5r.
Does this means I need download another file ?
from r5r.
it looks like your GTFS has some critical errors. you might need another GTFS or to fix these errors;
from r5r.
Thats the problem sir fixing is the issue. I am not familiar with that.
And where do you suggest we download a good quality GTFS for London. Thanks
from r5r.
unfortunately, I don't have experience with GTFS feed in the UK. Perhaps Duncan or colleagues at CASA might be able to help.
from r5r.
Oh thank you sir. You have been helpful. This is clear now. Cheers!
from r5r.
Can I reach him on here ?
from r5r.
I'm sure you can find his email.
from r5r.
from r5r.
a few comments:
- Since you're changing the files used to build the network, perhaps you might to set
overwrite = TRUE
, to make sure you build a new network instead of just loading the old network to memory:setup_r5(data_path = path, overwrite = TRUE)
- Most of these 'error' messages are internal messages from Java we cannot silence in R. They are not 'errors' per se. As you can see, r5r was able to build the network. See the message you get
Finished building network.dat at C:\Users\JUMIA-4237\Desktop\Accessiblity File/network.dat>
- The real error you're getting is when you run
transit_network_to_sf(r5r_core)
. I haven't seen this error before, and I suspect it is because of your GTFS feed. Have you fixed the errors in the GTFS feed?
Try running st <- street_network_to_sf(r5r_core)
to see if it works,
from r5r.
from r5r.
So it really is an issue with the GTFS data, not with r5r. I'm sorry I cannot help you much further with that. I'd recommend you look at this paper, which points to where you can find GTFS for London and other cities in the UK.
I'm closing this issue for now since this is not an issue with r5r itself.
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
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.