POST /{country}/{version}/{level}/traveltime

Travel time analyses provided by Targomo.

Search for all regions with a specified travel time of a point. By default, the maximum travel time is 120 minutes.

This endpoint requires additonal permissions, please contact us if you'd like access to traveltime.

<div class="internal-only">

Traveltime access claims

The following scopes allow access to traveltime:

  • gis:traveltime_access - Gives access to the /traveltime endpoint. Returns codes and traveltimes.
  • gis:traveltime_polygon - Add this scope to return geojson polygon as well.

Traveltime limit:

By default, all clients with gis:traveltime_access claim can request up to 120 minutes travel time. This limit can be increased up to 300 minutes with a client claim of the form gis:traveltime:{limit}.

So for example, gis:traveltime:300 will allow clients to request a maximum of 300 minutes travel time.

</div>

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

latnumber required
lonnumber required
traveltimesinteger[] required

Up to 6 travel times (drive times) can be run at a time. By default, the maximum travel time is 120 minutes, but more can be requested.

intersectionMethod'contained' | 'centroid' | 'touching'
  • touching - Any region that is touching (intersects) the requested area.

  • centroid - Any region's who's centroid lies inside of the requested area.

  • contained - Any region that lies entirely inside of the requested area.

Example request

{
  "traveltimes": [
    10,
    20,
    30
  ]
}

Response

Changes

No recorded changes to this operation across all 1 revision of this API.