Request
POST https://opendata.zilina.sk/api/datasets/v1/core/geojson/items
Parameters
{
"classes": "TrafficLightController"
}
classType (string, required) – The type of objects to be included in the result.
USER GUIDE
Detailed instructions for querying datasets are available here.
Answer
[
.
.
.
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
19.216906,
48.743281
]
},
"properties": {
"id": "647dbaef1ca03b00015697d6",
"active": "none",
"item": {
"id": "647dbaef1ca03b00015697d6",
"name": "I66 x Šalkova",
"type": "Device",
"class": "TrafficLightController",
"producer": "CROSS Zlín a.s.",
"model": "CROSS RS 4",
"serialNo": "0750060c-d427-4a23-87ba-c16feebfa4e8",
"note": "BB_Sal_I66",
"connectorId": "647db81e1ca03b00015695c5",
"position": {
"type": "Point",
"coordinates": [
19.216906,
48.743281
]
},
"meta": {
"controllerId": 54,
"plans": [
{
"id": 648,
"no": 1,
"name": "P1_D_90s",
"description": "Mimo špičky",
"emergency": false
},
{
"id": 649,
"no": 2,
"name": "P2_D_104",
"description": "Hodinová Špičky",
"emergency": false
}
],
"specialPlans": [],
"detectors": [
{
"id": 991,
"no": 1,
"name": "DVA"
},
{
"id": 992,
"no": 2,
"name": "DVC1"
},
{
"id": 993,
"no": 3,
"name": "DVC2"
},
{
"id": 994,
"no": 4,
"name": "DVC3"
},
{
"id": 995,
"no": 5,
"name": "DVD1"
},
{
"id": 996,
"no": 6,
"name": "DVD2"
},
{
"id": 997,
"no": 7,
"name": "DKC1"
},
{
"id": 998,
"no": 8,
"name": "DKC2"
},
{
"id": 999,
"no": 9,
"name": "DKoC1"
},
{
"id": 1000,
"no": 10,
"name": "DKoC2"
},
{
"id": 1001,
"no": 11,
"name": "DPC"
}
],
"signalGroups": [
{
"id": 823,
"no": 1,
"name": "VA"
},
{
"id": 824,
"no": 2,
"name": "VC"
},
{
"id": 825,
"no": 3,
"name": "VD"
},
{
"id": 826,
"no": 4,
"name": "KC"
},
{
"id": 827,
"no": 5,
"name": "PC"
}
],
"stages": [],
"sections": [],
"stageTransitions": []
},
"operatingStatus": "Active",
"malfunctions": [
{
"timestamp": "2024-02-22T14:50:52.000Z",
"type": "DetectorFailure",
"device": "65544",
"component": "DKoC1"
},
{
"timestamp": "2025-02-04T07:32:28.000Z",
"type": "DetectorFailure",
"device": "65541",
"component": "DVD2"
},
{
"timestamp": "2025-02-04T07:32:28.000Z",
"type": "DetectorFailure",
"device": "65545",
"component": "DKoC2"
},
{
"timestamp": "2025-02-04T07:32:28.000Z",
"type": "ControllerPowerSupply",
"device": "128",
"component": "ControllerPowerSupply"
},
{
"timestamp": "2025-02-04T07:32:28.000Z",
"type": "DetectorFailure",
"device": "65538",
"component": "DVC2"
},
{
"timestamp": "2025-02-04T07:32:28.000Z",
"type": "DetectorFailure",
"device": "65543",
"component": "DKC2"
},
{
"timestamp": "2025-02-04T07:32:28.000Z",
"type": "DetectorFailure",
"device": "65536",
"component": "DVA"
},
{
"timestamp": "2025-02-04T07:32:28.000Z",
"type": "DetectorFailure",
"device": "65537",
"component": "DVC1"
},
{
"timestamp": "2025-02-04T07:32:28.000Z",
"type": "DetectorFailure",
"device": "65540",
"component": "DVD1"
},
{
"timestamp": "2025-02-04T07:32:28.000Z",
"type": "DetectorFailure",
"device": "65539",
"component": "DVC3"
},
{
"timestamp": "2025-02-04T07:32:28.000Z",
"type": "DetectorFailure",
"device": "65542",
"component": "DKC1"
},
{
"timestamp": "2025-02-04T07:32:28.000Z",
"type": "LampError",
"device": "1048849",
"component": "1 (Yellow)"
}
],
"systemStatus": {
"status": "Disconnected",
"timestamp": "2025-02-20T13:46:19.454Z",
"changed": "2025-02-04T07:39:28.263Z",
"issues": []
},
"address": null,
"area": null,
"lifetime": null,
"managementUrl": null,
"parentId": null
}
}
},
.
.
.
]
id: Unique device identifier.
active: Device status (in this case, none).
item: Object with device details:
Basic Information:
id: Item identifier.
name: Device name (e.g., intersection “I66 x Šalkova”).
type: Item type (Device).
class: Device class (TrafficLightController).
producer: Manufacturer (CROSS Zlín a.s.).
model: Model (CROSS RS 4).
serialNo: Device serial number.
note: Device note.
connectorId: Connector identifier.
position: Device coordinates.
Metadata:
controllerId: Traffic controller identifier.
plans: List of control plans with properties:
id: Plan identifier.
no: Plan number.
name: Plan name (e.g., P1_D_90s for off-peak mode).
description: Plan description.
emergency: Indicates whether it is an emergency plan (true/false).
specialPlans: List of special plans (currently empty).
detectors: List of detectors, each with an ID, number, and name (e.g., DVA, DVC1).
signalGroups: Signal groups with an ID, number, and name (e.g., VA, VC).
stages, sections, stageTransitions: Currently empty fields.
Device Status:
operatingStatus: Operating status (Active).
malfunctions: List of malfunctions:
timestamp: Time of the malfunction occurrence.
type: Type of malfunction (e.g., DetectorFailure, LampError).
device: Identifier of the malfunctioning device.
component: Component that is faulty (e.g., DKoC1, 1 (Yellow)).
System Status:
systemStatus: System status:
status: Current connection status (Disconnected).
timestamp: Last time the status was updated.
changed: Time of the last status change.
issues: List of issues (currently empty).