OpenLR™ is a standard for handling map locations.
![OpenLR Map](/sites/default/files/inline-images/OpenLR_Flows_API_labeled.png)
It is designed to transfer location information between different traffic management systems, using dissimilar maps. The encoded locations are typically specific road stretches, lists of connected roads, point locations or areas.
OpenLR™ allows users to read data from Flows without knowing the internal network representation used by Flows.
In Street Forecast API context, a forecast result is labelled with an OpenLR code for every single street of the network.
Example:
streetForecast {
id: 52920
fromNode: 894
forecast {
start {
seconds: 1700831364
}
end {
seconds: 1700831400
}
speed_valid: true
speed: 83.110725402832031
timezone: "UTC"
}
forecast {
start {
seconds: 1700831400
}
end {
seconds: 1700832000
}
speed_valid: true
speed: 83.88555908203125
timezone: "UTC"
}
forecast {
start {
seconds: 1700832000
}
end {
seconds: 1700832600
}
speed_valid: true
speed: 85.318397521972656
timezone: "UTC"
}
forecast {
start {
seconds: 1700832600
}
end {
seconds: 1700833200
}
speed_valid: true
speed: 85.942306518554688
timezone: "UTC"
}
openLRcode: "CwlJ3yeJ8AEWc+kX8dgBbOcS"
}
As shown in the example, you can see a street identified by:
- id: 52920
- fromNode: 894
...and labeled with OpenLRcode CwlJ3yeJ8AEWc+kX8dgBbOcS.