Comments (4)
Perfect ! Let's do it !
from road2.
Hello @azarz, I like this idea. I prefer the second option and I would add a version. Something like {baseRoadUrl}/osrm/{osrmVersion}/driving/...
. Is that possible with your framework ?
And how could we handle resources ?
from road2.
Yes this is possible, the plugin only needs the url before /driving
for OSRM and before /isochrone
for Valhalla, so it doesn't matter what's before those.
For the same reason, the resource should be before those parts of the urls, maybe something like :
{baseRoad2Url}/osrm/{osrmVersion}/{resource}/driving/13.388860,52.517037;13.385983,52.496891?steps=true
and
{baseRoad2Url}/valhalla/{resource}/isochrone?json={"locations":[{"lat":-1.0825252603106321,"lon":35.47230915879868}],"costing":"pedestrian","contours":[{"time":10,"color":"0000ff"}],"polygons":true}
from road2.
Ok for OSRM. TODO for valhalla.
from road2.
Related Issues (20)
- [feat] Add a conf to modify each route inside the getCapabilities
- [feat] Create an errorResponse object
- [fix] Add the error code in the responses of the APIs
- [feat] Compute /PATCH configuration
- Long response time for no path found if end too far away from graph
- [fix] Analyse memory issues
- [doc] Translate code documentation in english
- [feat] Add all OSRM features
- [feat] /services/{service}/projections/{projection} implementation (1/2)
- [feat] GET /services/{service}/projections/{projection} implementation (2/2)
- [feat] /projections implementation
- [feat] /services implementation
- [fix] Update error possibilities on the admin API
- [doc] Translate documentation in english HOT 1
- [github] Move on YAML issue form
- [github] Add a code of conduct
- [github] Add contributing docs
- Add swagger-ui route for apis HOT 1
- [fix] Disconnect all sources (so bases) during a restart
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 road2.