Coder Social home page Coder Social logo

Comments (5)

rCarto avatar rCarto commented on May 25, 2024

Hello,
Ok, I will investigate the question of the default walking speed to obtain a grid large enough to contain the full isochrones.

The units for speed are in kilometers per hour.

from osrm.

rCarto avatar rCarto commented on May 25, 2024

I may have find the problem.
Do you use the OSRM demo server (the default one used with osrm R package) or your own?
The OSRM demo server only serve driving distances. The use of driving distances for time calculation and walk profile for isochrone computation would explain your output.

If you use your own server you have to set the correct profile (foot.lua instead of car.lua) in the first step of the OSRM server build...

see also #37

from osrm.

annnvv avatar annnvv commented on May 25, 2024

I am using the demo server. I didn't realize that the demo server only allows for driving distances.

I appreciate you taking the time to look into this, thank you.

from osrm.

MeganBeckett avatar MeganBeckett commented on May 25, 2024

Hi there, I have also been investigating this and from what I can see where speed is calculated in the function (https://github.com/rCarto/osrm/blob/39906d3ce00592bc622a6e2091c4c878b1f1f743/R/osrmIsochrone.R#L79), are the units really in km/hr?

Or meters/minute? Even so, the speed for "walking" then equates to 166 m/min - is that correct? That's nearly 10km/hr which is faster than most people can run?

Also, is it possible to set your own speeds for walking and driving?

Thanks!

from osrm.

rCarto avatar rCarto commented on May 25, 2024

Hi,
This speed is only used to create a grid to query travel times. So I used over-estimated speeds to have a grid large enough. The walking, driving and cycling speeds are defined at the OSRM server level through different profile files: https://github.com/Project-OSRM/osrm-backend/wiki/Profiles.
The original issue has been replied above, the problem came from the use of the demo server.

from osrm.

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.