Coder Social home page Coder Social logo

Large requests to local server about osrm HOT 8 CLOSED

riatelab avatar riatelab commented on May 23, 2024
Large requests to local server

from osrm.

Comments (8)

rCarto avatar rCarto commented on May 23, 2024

Have you have started the osrm server with the --max-table parameter set to something largeur than 100?

from osrm.

evanodell avatar evanodell commented on May 23, 2024

I have, the same error keeps happening. Terminal is clearly returning some data, every time I run a command the list of coordinates is displayed in the Terminal window, but in R I'm getting the same error.

from osrm.

rCarto avatar rCarto commented on May 23, 2024

I won't have access to my osrm instance till the 4th of January, so I can only try to guess solutions here.
The list on the terminal means that queries are actually sent to osrm, not that R is receiving a response.
Which version of osrm server are you running? Some previous versions needed to be modified before build to authorize larger table queries.

from osrm.

evanodell avatar evanodell commented on May 23, 2024

That is alright, I managed to figure out what was wrong, my commands to change the request limit in OSRM wasn't working. Thanks for your help.

from osrm.

rCarto avatar rCarto commented on May 23, 2024

Good to hear that!

from osrm.

Anyaoha avatar Anyaoha commented on May 23, 2024

@evanodell could you share with me how you manage to get this done. I'm running on difficulties in setting the osrm, local server and limits in R studio

from osrm.

evanodell avatar evanodell commented on May 23, 2024

@Anyaoha This was my osrm setup:

wget http://download.geofabrik.de/europe/great-britain/england-latest.osm.pbf
osrm-extract -p ../profiles/car.lua england-latest.osm.pbf

osrm-extract england-latest.osm.pbf -p profiles/car.lua

./osrm-contract england-latest.osrm
osrm-routed --max-table-size=999999999 england-latest.osrm

Or at least that is what I have saved, I haven't looked at that particular project in several years. Hopefully this works for you.

from osrm.

Anyaoha avatar Anyaoha commented on May 23, 2024

Thanks @evanodell thanks.
I have my osrmTable set out with that and Iā€™m currently working above the restrictions of the osrmTable.

My question now is how do I extend the restriction on the osrmRoute in order to work with more route analysis with osrm

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.