Dopravní profily Olomouc
Datová vrstva obsahuje denní měření dopravních intenzit v Olomouci na vybraných dopravních profilech (vjezdy a výjezdy do parkovacích ploch). Obsahuje celkové a hodinové počty vjezdů a výjezdů.
Refreshes every 15 minutes Public (no authentication needed) Time Series Aggregations
Time Series Parameters
This endpoint supports full dynamic time series queries. You can use the following optional query parameters:
- start: Start of the time range (e.g., '-7d', '2023-01-01T00:00:00Z'). Defaults to -1d.
- stop: End of the time range (e.g., 'now()'). Defaults to now.
- window: Aggregation window. Allowed values: 15m1h1d
- agg_func: Aggregation function(s). Can be a single value or comma-separated. Allowed values: sum
Build Your Query
Generated API Query URL
Open Generated Query In
Live API Endpoints
You can use these links to directly access the data in different formats.
Usage Examples
Here is how you can access the data programmatically.
curl -X GET "https://iot.citiq.cloud/portal/api/v2/view/olomouc-traffic-gates/?start=-1d&window=1h&agg_func=sum"
import requests
response = requests.get("https://iot.citiq.cloud/portal/api/v2/view/olomouc-traffic-gates/?start=-1d&window=1h&agg_func=sum")
print(response.json())
fetch("https://iot.citiq.cloud/portal/api/v2/view/olomouc-traffic-gates/?start=-1d&window=1h&agg_func=sum")
.then(response => response.json())
.then(data => console.log(data));
Try It Out
Click the button to see a live JSON response from this API endpoint.
Available Operational Metrics
The `operational_data` array in the API response will contain objects with the following structure, based on the metrics you configured for this view.
| Field Key | Description | Unit |
|---|---|---|
| No operational metrics have been configured for this view. | ||
Available Measurements
The table below describes the measurements available in this view. For complete metadata, including units, icons, and value ranges, please refer to the metadata endpoint.
| Field Key | Description | Data Type | Value Range |
|---|---|---|---|
gate_increment_value |
Gate increment | INTEGER | Not defined |
gate_len0_speed2_increment |
cars 30-60km/h | INTEGER | Not defined |
gate_len0_speed1_increment |
cars <30km/h | INTEGER | Not defined |
gate_len0_speed3_increment |
cars >60km/h | INTEGER | Not defined |
gate_len0_speed0_increment |
cars opposite | INTEGER | Not defined |
gate_len2_speed1_increment |
trucks 0-30km/h | INTEGER | Not defined |
gate_len2_speed2_increment |
trucks 30-60km/h | INTEGER | Not defined |
gate_len2_speed3_increment |
trucks >60km/h | INTEGER | Not defined |
gate_len2_speed0_increment |
trucks opposite | INTEGER | Not defined |
gate_len3_increment |
uncategorized | INTEGER | Not defined |
gate_len1_speed2_increment |
vans 30-60km/h | INTEGER | Not defined |
gate_len1_speed1_increment |
vans <30km/h | INTEGER | Not defined |
gate_len1_speed3_increment |
vans >60km/h | INTEGER | Not defined |
gate_len1_speed0_increment |
vans opposite | INTEGER | Not defined |