Comments (9)
Hi!
I'm having the same issue, also i noticed that only happens when you add a negative coordinate to the loc requirement, if you type positive positive coordinates it works.
from osrm.
@gmachin11 Thanks for the hint!
from osrm.
You're welcome, i tried for each combination of positive and negative, only worked for the positive positive one, like in here:
osrmIsochrone(loc = c(13.43,52.47), breaks = seq(0,12,2))
from osrm.
I think that this problem comes from the demo servers (http://router.project-osrm.org/r & https://routing.openstreetmap.de/). It seems that they do not manage the point encoding in google polyline format very well.
I've tried the latest version of OSRM (v.5.27.1) with docker and it is working as expected.
The first priority of osrm
package is to be up to date with the OSRM server latest version. So the package is ok in principle & this is not a bug π .
Solutions:
- Users affected by this problem could reach to OSRM demo server maintainers and see if an update of the OSRM version is possible from their side. According to their doc the routing.openstreetmap.de demo server uses v5.23.0 (released in Oct. 2020).
- I want users to be able to test the package with demo servers before deciding to use their own instance, so I'll try to circumvent the problem within the package and release an update soon.
from osrm.
Should be fixed in the dev version of the package.
remotes::install_github('riatelab/osrm')
from osrm.
Yes ! π
I have reinstalled the dev version and now it works.
In fact I had inverted the coordinates of latitude and longitude in my first example and it was the reason why it did not work (the point was in the middle of the sea). π
from osrm.
Good morning,
using R osrmIsochrone, I've got the same error : 'loc' is too far from the OSRM network.
No negative value in coordinates and dev version installed from Riate.
It seems like if sf points located at the ends of the roads couldn't be taken into account for isochrones calculation.
from osrm.
@ACouillet
Thanks for the feedback, can you give me the coordinates of the point you're trying to get isochrones from ?
from osrm.
@rCarto
Merci Timothéé !
geometry (x / y, WGS84)
6.164979 / 44.11091
In fact, I deduced that among the 15000 points to be treated, some are connected to the network but on portions defined in OSM as roads not accessible to cars so logically the "car" isochrones cannot be calculated...
Also, in some cases, it seems that portions of the network are poorly defined (after verification with IGN data, they should accept an iso calculation which is still impossible).
It is therefore more a problem of characterization of the network in OSM than a malfunction of the program !
from osrm.
Related Issues (20)
- 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
- 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
- Not working "exclude" option HOT 2
- Retry functionality? HOT 1
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.