Reputation: 1
I use the Here Rout Matching v8 API to match routes from sequences of GPS coordinates. I pass the GPS coordinates as a CSV trace file in the POST request body (as documented here https://developer.here.com/documentation/route-matching/api-reference.html). The resulting route contains one leg, which in turn contains the sequence of links connecting the leg's origin to the leg's destination.
In my use case, some of the GPS coordinates in the trace file are stop locations. Can I change my request so that the matched route is divided into multiple legs? To be clear, I would like
I tried passing additional columns in the CSV trace file (speed and time, indicating that the GPS trace actually stops at the stopover locations) but I still got a matched route with a single leg.
Upvotes: -1
Views: 369
Reputation: 47
Yes, there's limitation to the number of waypoints you can use. If you want to use more waypoints it's recommended to use the import route functionality. Also, there are more configurations like offroad driving etc are on the way for importRoute, you can check once with the Sales Executive from HERE. I have found this product may be it will help you - https://developer.here.com/documentation/routing-waypoints/api-reference.html . It's always better to explain your exact use case, input and expected output. It helps other people to suggest you solutions.
Upvotes: 0