-
Notifications
You must be signed in to change notification settings - Fork 16
Draft API Docs
Ben Abelshausen edited this page Aug 26, 2016
·
2 revisions
Returns meta-data about instance. Example:
{
"id": guid,
"meta": {
},
"profiles": [
"car",
"car.shortest"
],
"contracted": [
"car"
]
}
Calculates routes.
/routing?profile={profilename}&loc={lat1,lon1}&loc={lat2,lon2}
A few examples:
/routing?profile=pedestrian&loc=51.203650,4.442086&loc=51.158802,4.433949
/routing?profile=car&loc=51.203650,4.442086&loc=51.158802,4.433949
The response will be a GeoJSON feature collection by default.