Coder Social home page Coder Social logo

Comments (20)

rafapereirabr avatar rafapereirabr commented on July 23, 2024

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.

JideDanalyst avatar JideDanalyst commented on July 23, 2024

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.
image

from r5r.

rafapereirabr avatar rafapereirabr commented on July 23, 2024

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.

JideDanalyst avatar JideDanalyst commented on July 23, 2024

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.

rafapereirabr avatar rafapereirabr commented on July 23, 2024

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.

JideDanalyst avatar JideDanalyst commented on July 23, 2024

from r5r.

JideDanalyst avatar JideDanalyst commented on July 23, 2024

Can I perform the validation on another platform other than R ?

from r5r.

rafapereirabr avatar rafapereirabr commented on July 23, 2024

probably yes, check the github of the original tool

from r5r.

JideDanalyst avatar JideDanalyst commented on July 23, 2024

image
this is the result

from r5r.

JideDanalyst avatar JideDanalyst commented on July 23, 2024

Does this means I need download another file ?

from r5r.

rafapereirabr avatar rafapereirabr commented on July 23, 2024

it looks like your GTFS has some critical errors. you might need another GTFS or to fix these errors;

from r5r.

JideDanalyst avatar JideDanalyst commented on July 23, 2024

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.

rafapereirabr avatar rafapereirabr commented on July 23, 2024

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.

JideDanalyst avatar JideDanalyst commented on July 23, 2024

Oh thank you sir. You have been helpful. This is clear now. Cheers!

from r5r.

JideDanalyst avatar JideDanalyst commented on July 23, 2024

Can I reach him on here ?

from r5r.

rafapereirabr avatar rafapereirabr commented on July 23, 2024

I'm sure you can find his email.

from r5r.

JideDanalyst avatar JideDanalyst commented on July 23, 2024

from r5r.

rafapereirabr avatar rafapereirabr commented on July 23, 2024

a few comments:

  1. 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)
  2. 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>
  3. 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.

JideDanalyst avatar JideDanalyst commented on July 23, 2024

from r5r.

rafapereirabr avatar rafapereirabr commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.