Sabir Moideen
asked on
compare Coordinates and vehicle routes
We have path management and monitoring in our tracking system. Using path management we can draw a path on a map and assign it to a vehicle. Once the vehicle completes the day shift we would like to know whether the vehicle sticks with the planned path or not. how we can compare the planned path with the actual path received from the vehicle.
in another way, we have planned coordinates for the vehicle to follow, and we have the actual coordinates, how we can compare both and get if vehicles stick with this route and if not what is the matching percentage.
in another way, we have planned coordinates for the vehicle to follow, and we have the actual coordinates, how we can compare both and get if vehicles stick with this route and if not what is the matching percentage.
assuming that the planned and actual coordinates of both start and end point are identical.
you could draw a line into a line chart where x would be the mileage of the planned path and y the interpolated y-coordinate of the planned path. do the same for the actual path but scale x-values of the second line such that the total mileage is equal. with that you could draw a 3rd line to the same chart where y is the absolute difference between line1 and line2. the integral of the 3rd line would be a good measure how much the paths do match.
Sara
you could draw a line into a line chart where x would be the mileage of the planned path and y the interpolated y-coordinate of the planned path. do the same for the actual path but scale x-values of the second line such that the total mileage is equal. with that you could draw a 3rd line to the same chart where y is the absolute difference between line1 and line2. the integral of the 3rd line would be a good measure how much the paths do match.
Sara
I found a link for you, that could help.
https://gis.stackexchange.com/questions/97348/comparing-routes-using-code
For similar routes check and to check that the two routes are close to each other, it recommends:
GraphHopper
I checked the GraphHopper website:
https://www.graphhopper.com/pricing/
and there is a Free Package too.
Hope it helps.
https://gis.stackexchange.com/questions/97348/comparing-routes-using-code
For similar routes check and to check that the two routes are close to each other, it recommends:
GraphHopper
I checked the GraphHopper website:
https://www.graphhopper.com/pricing/
and there is a Free Package too.
Hope it helps.
ASKER
We' re looking for SDK/plugin /API to integrate with our solution
Hi,
You can use Google Maps API.
https://stackoverflow.com/questions/34597229/google-maps-api-for-c-sharp
You can use Google Maps API.
https://stackoverflow.com/questions/34597229/google-maps-api-for-c-sharp
I wish I could say I have done this myself but have not had a client for it.
Arcview may be a good choice though
https://developers.arcgis.com/labs/rest/get-a-route-and-directions/. See "Add a barrier to your route"
https://developers.arcgis.com/rest/network/api-reference/vehicle-routing-problem-service.htm
Mapbox also seems promising https://docs.mapbox.com/android/navigation/overview/off-route/
Arcview may be a good choice though
https://developers.arcgis.com/labs/rest/get-a-route-and-directions/. See "Add a barrier to your route"
https://developers.arcgis.com/rest/network/api-reference/vehicle-routing-problem-service.htm
Mapbox also seems promising https://docs.mapbox.com/android/navigation/overview/off-route/
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
You can compare the coordinates of each logged vehicle position with the estimated position on the route taking into consideration the vehicle speed and see the deviations above an established threshold. The accuracy will heavily depend on the logging frequency and map resolution.