Skip to content

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"
  ]
}

/routing?

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

Response Structure

The response will be a GeoJSON feature collection by default.

Clone this wiki locally