Calculate distance and coordinates from xMapMatch result
Posted: Fri Aug 02, 2019 9:31 am
Hi there,
probably you can help me with our current use case:
We want to display the actual driven road on a map with help of xMapMatch and get distance and toll of this exactly route.
For this we currently do the following steps:
Therefore, my question:
Is it possible to calculate distance and toll with an exact input route (xMapMatch result)? I would need to avoid a recalculation to have exact results.
Many thanks!
If you have any further questions do not hesitate to ask me.
Julian Ulonska
probably you can help me with our current use case:
We want to display the actual driven road on a map with help of xMapMatch and get distance and toll of this exactly route.
For this we currently do the following steps:
- - a third party software sends us a GPS track (coordinate array) (result --> see the blue track in the screenshot)
- I am mapping this to the xMapMatch request structure to call the webservice method matchTrackExtended (result --> see the red track in the screenshot)
- After this I am taking the xMapMatch response to call calculateExtendedRoute to receive toll and distance for this track.
Therefore, my question:
Is it possible to calculate distance and toll with an exact input route (xMapMatch result)? I would need to avoid a recalculation to have exact results.
Many thanks!
If you have any further questions do not hesitate to ask me.
Julian Ulonska