I've been using the HERE Java library to decode binary TPEG files, however I am running into trouble when trying to get locations from the TMC location reference.
I'd like to be able to take the TMC reference (location id, country code, location table version) and get lat/long coordinates. Unfortunately, after pouring through HERE's API docs, I can't seem to find an API that would do this for me.
Once you have a
TMCLocationReference, you can transform it to aLinearLocationusingLocationReferenceResolvers.tmcmethod.There should be an example in Resolving a Location Reference section.
The resolver allows you to transform the
TMCLocationReferenceinto aLinearLocationcontaining internal HERE maps ids, which can be transformed to WKT likeLineStrings using for instance thePropertyMaps.geometrymethod, for which you can find more details in the dev guide.As an example, you could do something like this: