neshan_traffic_analytics
Analyze historical traffic patterns at any location. Get a congestion score, hourly breakdown with color-coded traffic levels, and a static map with traffic overlay.
Instructions
Analyse historical traffic patterns around a location.
Returns three things:
kpi: overall traffic congestion score for the location (higher = more congested).
chart: 24-hour traffic breakdown — one entry per hour with a numeric score and a color key (green → free flow, yellow → moderate, orange → heavy, red → congested).
static_map: a PNG image of the area (~500 m radius) with traffic overlay.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude of the location. | |
| lng | Yes | Longitude of the location. |