Unsolved library or algorithm for geodetic calculations
-
Hi,
I'm working on car navigation application. In order to determine on which route segment car is currently I need to now point on path closest to my GPS coordinates, something like:
https://developers.arcgis.com/qt/latest/qml/api-reference/qml-esri-arcgisruntime-geometryengine.html#nearestCoordinate-methodI have based my app on this example
https://github.com/tmpsantos/qmapboxglapp/tree/tmpsantos-cheaprulerIn Qt there is Coordinate::distanceTo() method but I need point on path closest to my current coordinates.
Does anyone knows some algorithm or third part library to use for that?Best Regards,
Marek