HERE is a company specialized in mapping technologies, location data, and related automotive services to individuals and companies. It is majority-owned by a consortium of German automotive companies, making it a key player for vehicle automation technology.
The Location Library is one of the components offered by their platform, allowing Java and Scala developers to access data related to the road network and other properties. It also offers utilities to navigate the through graph abstractions and algorithms to map match GPS traces to the road network.
The library needed to offer support for location referencing. A location reference describes a location. That can be a particular point, shape, or part of the road network. More specifically, the library needed to support TPEG2, a data protocol used for traffic and travel related information, and what the standard calls “applications”, which are containers that carry specific content. Among them OpenLR (OLR) and TMC. While TMC relies on predefined location tables to refer to road segments, OLR defines rules for generating map-independent location references that use on a collection of waypoints and other detailed information for each of those points, and rely on map matching to decode the references.
We added support for TPEG2 TMC and OpenLR location referencing to the HERE Location Library, together with examples and the documentation that is provided to users of the library.
While doing so, we collaborated with internal teams to ensure alignment with the existing Location Library, and delivered presentations to pilot customers to validate the solution direction.
To support our development and the validation of the implementation, we created tools that could automatically run hundreds of test cases against expected results, and that produced GeoJSON-based map visualizations to provide us with better understanding of these results and potential improvements.
Some of the technical aspects of our work included: