congestion
Count distinct vessels per hour by status (anchored, moored, under way) to gauge traffic congestion in a maritime area, answering how long the queue is for charterers.
Instructions
How busy an area has been, hour by hour, from the recorded track.
Counts distinct vessels per hour by what they were reporting: at anchor, moored, or under way. The anchored count is the one that answers "how long is the queue", which is what a charterer rings an agent about.
Each vessel is counted once per hour it was heard in, so a vessel reporting twenty times in an hour counts once. An hour with no coverage reads as zero and is indistinguishable from an hour with no ships, which is why the response reports how many positions each hour was built from.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | Area to report instead, as 'south,west,north,east' in degrees. | |
| hours | No | How far back to look, in hours, up to two weeks. | |
| region | No | Region key to report, for example 'malacca-strait'. Call list_regions for the keys. Ignored when bbox is given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |