carto-routing-od-analysis
Installation
SKILL.md
Routing and Origin-Destination Analysis
Builds CARTO Workflows that compute routes, travel time/distance matrices, and isoline catchment areas. Supports driving and walking modes. Also covers OD flow pattern analysis using spatial indexing.
Prerequisites: Load carto-create-workflow for the development process, JSON structure, and validation commands.
Instructions
Three main workflow patterns exist. Choose based on the use case:
| Pattern | Component | Use when |
|---|---|---|
| Isoline/Isochrone | native.isolines |
You need catchment polygons around locations (e.g. "everywhere reachable within 10 min") |
| OD Matrix | native.routesodmatrix |
You need travel time/distance between every origin-destination pair (analytics, no geometry) |
| Route Creation | native.routes |
You need actual route line geometries between OD pairs (visualization, detailed path) |