Comments (3)
Can you please post an actual request (e.g. with dry_run=True
and the raw response and its geometry
?
By the way, is it possible to get the speed and altitude at each coordinate in the geometry?
altitude yes, speed depends what you want exactly. refer to the documentation of the actual routing engine for details.
from routingpy.
You mean this below?
http://localhost:5700/route/v1/car/144.834014,-37.826133;144.826412,-37.848053?overview=full
Parameters:
{
"headers": {
"User-Agent": "routingpy/v0.3.3",
"Content-Type": "application/json"
},
"timeout": 60
}
when I set dry_run=True, no result is returned.
When I don't set dry_run, the results returned is as follow:
[(-37.82582, 144.83398), (-37.82583, 144.83382), (-37.82585, 144.83338), (-37.82587, 144.83304), (-37.82593, 144.83236), (-37.82596, 144.83049), (-37.82604, 144.83002)....
from routingpy.
jep, perfect. you're right there's smth wrong with the coord order. that's a (long-standing) bug indeed. in this line here we should reverse each coord, since the way we implemented decoding polylines (the google standard way) we return lat,long order. While we're fixing this, we should modify the decoding methods to take a order
parameter defaulting to latlng
which can determine in which way we want the coords to be, instead of reversing smth we could have avoided.
anyways, thanks @vutle , weird it went unnoticed for so long.. if you have an interest fixing this, I can review a PR.
from routingpy.
Related Issues (20)
- Rename `test_helper` file
- MapboxOSRM: CloudFront error when 2 requests follow each other HOT 15
- Google Router distance and duration wrong for single route response HOT 1
- Valhalla PBF in-/output
- Deprecate HERE provider HOT 4
- `preference` parameter isn't read when asking for isochrones with Valhalla engine HOT 3
- Add support for map-matching HOT 1
- Documentation missing HOT 1
- Superfluous `profile` parameter HOT 2
- 3.11 is out HOT 2
- Rename `isochrones` to `reachability` HOT 2
- activate coveralls again
- Only support isochrone requests for single location
- Upper limits in input destination in Computing the Distance Matrix HOT 5
- Support Graphhopper's POST Route Endpoint HOT 9
- GraphHopper "profile" is set under "vehicle" HOT 6
- Remove mapbox valhalla provider HOT 1
- Use type hinting in router methods HOT 1
- Add Valhalla's expansion method to example notebooks
- Info about coverage tests in CONTRIBUTING.md
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 routingpy.