isochrone
Create isochrone contours to visualize areas accessible within a set time or distance from a specific location. Supports multiple travel methods and returns GeoJSON polygons for analysis.
Instructions
Generate isochrone contours showing areas reachable within specified time or distance constraints from a single location. Returns GeoJSON polygons representing the reachable areas.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contours | Yes | Array of 1-4 contours. All contours must be of the same type (all time or all distance). | |
costing | Yes | The method of travel to use for isochrone calculation (auto = automobile). | |
location | Yes | A geographic coordinate pair. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"contours": {
"description": "Array of 1-4 contours. All contours must be of the same type (all time or all distance).",
"items": {
"additionalProperties": false,
"description": "A contour definition with either time or distance constraint.",
"properties": {
"distance": {
"description": "The distance in km for the contour. Mutually exclusive with time.",
"exclusiveMinimum": 0,
"type": "number"
},
"time": {
"description": "The time in minutes for the contour. Mutually exclusive with distance.",
"exclusiveMinimum": 0,
"type": "number"
}
},
"type": "object"
},
"maxItems": 4,
"minItems": 1,
"type": "array"
},
"costing": {
"description": "The method of travel to use for isochrone calculation (auto = automobile).",
"enum": [
"auto",
"bus",
"taxi",
"truck",
"bicycle",
"bikeshare",
"motor_scooter",
"motorcycle",
"pedestrian",
"low_speed_vehicle"
],
"type": "string"
},
"location": {
"additionalProperties": false,
"description": "A geographic coordinate pair.",
"properties": {
"lat": {
"description": "The latitude of the point.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "The longitude of the point.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
}
},
"required": [
"location",
"costing",
"contours"
],
"type": "object"
}