Comments (8)
The error seems to come from the OSRM public API, as my own OSRM server is still giving results without errors.
The "Error: The URL sent to the OSRM public API is too long. Enter less sources or destinations." message is misleading as it appears every time the server gives no answer... I will correct that.
I'll investigate the OSRM public API problem.
from osrm.
Ok great, thanks! Please keep me posted. Let me know if there's anything I can do on my end.
from osrm.
I confirm that the problem comes from the OSRM public API .
Trying one of their example won't work (http://router.project-osrm.org/route/v1/driving/13.388860,52.517037;13.397634,52.529407;13.428555,52.523219?overview=full&steps=true).
As they state:
Please note the API Usage Policy. Especially note that there are no guarantees regarding availability, stability or correctness of results. It's server to demonstrate OSRM, not a production-ready API.
(https://github.com/Project-OSRM/osrm-backend/wiki/Demo-server)
The best way to avoid these kind of disturbance would be to install your own OSRM instance...
from osrm.
Ah I see. I figured the way around this would have to be downloading my own OSRM map. Would you by any chance know the best way to go about this? I'm fairly new to R and API.
from osrm.
specifically, installing the osrm map and integrating it into the osrm functions
from osrm.
To install an OSRM instance you would have to follow the steps describe in the wiki pages of the project : https://github.com/Project-OSRM/osrm-backend/wiki/Building-OSRM
from osrm.
Thanks!
from osrm.
The OSRM demo server currently runs both a v4 endpoint as well as a v5 endpoint (different APIs, with v5 scheduled for shut down). During the last days the demo server has some hiccups mostly from us introducing lane handling and testing a new release.
Disclaimer: the demo server always runs from the latest master commit and uses a fresh planet every day. That is, we want the demo server to break on the planet instead of us not noticing problems.
We're happy to help with any problems, just ping us.
https://github.com/Project-OSRM/osrm-backend#contact
from osrm.
Related Issues (20)
- How can I remove alternate routes when using osrm package in leaflet(r)? HOT 1
- Improve error handling osrmIsochrone(): out of bounds
- Improve error handling `osrmIsochrone()`: character vector of location HOT 1
- Improve error handling `osrmIsochrone()`: handle empty isochrones
- Improve documentation `osrmIsochrone()`: `breaks` argument
- Define "isometric" and "isodistance"
- Speed parameter HOT 3
- Stop osrm "connecting" to the network via certain types of roads HOT 6
- Problem with input data and osrmTrip() HOT 3
- curl::curl_fetch_memory(utils::URLencode(url) => connection was reset HOT 4
- osrmIsochrone(): 'loc' is too far from the OSRM network but loc is not too far... HOT 9
- Error in `osrmTrip()` when location coordinates are close to each other and/or not on roads HOT 2
- pairwise distance matrix from OSRM? HOT 2
- Using custom driving profiles HOT 2
- Problem with self-hosted server connection HOT 11
- Curl Header Overflow for Large Distance Matrices HOT 4
- fix pkg level documentation
- Duration of trip in osrmRoute and time of the day/traffic HOT 1
- Error using `osrmTable` with local server: long vectors not supported yet HOT 1
- Is snaping coordinates to the street network possible when mapping isochrones? HOT 4
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 osrm.