I'm trying to get the average speed from the "HERE Real Time Traffic" catalog in the "Flow" layer. I could see that there was an example in the documentation:
https://developer.here.com/documentation/java-scala-dev/dev_guide/here-realtime-traffic/index.html
Thanks to the segmentID, in the example, it manages to retrieve the desired data, but in my case I don't have a segmentID and I would like to retrieve this data thanks to the gps coordinate (lat,long).
I want to know if there is a way to get the segmentID using the coordinates ? or to use the exemple but with a lat,long values.
I tried to convert the coordinates to segmentid but i didn't find an appropriete fonction to do.
I also think about using API REST to get the segmentid but i don't think it will be an good idea.