Is there any option to adjust coordinates received from gps tracker to align along with the road? Google is having a feature called SnapToRoad, is there something like this in esri?
There's no high level tool to do this, but you can use the geometry engine to work something out.
If a road in this case is a polyline, you can find the distance between the road and the point, and if the distance is less than some number, move the point onto the polyline. Here's a simple example showing this: JS Bin - Collaborative JavaScript Debugging (mouse over the view around the line to see the snapping effect)
A few things to note: I recommend doing all of this in the web mercator spatial reference. Whichever spatial reference you use needs to match, that is the polyline's sr must match the point's sr. In the example, I set the "snap distance" to 10 pixels. If you want to snap based on world-meter-distance, you could take out the pixel logic and use meters instead.
try and see https://github.com/simonscheider/mapmatching . Here use networkx but you can edit python for use Network Analyst (for details HMM https://en.wikipedia.org/wiki/Hidden_Markov_model http://www.blackarbs.com/blog/introduction-hidden-markov-models-python-networkx-sklearn/2/9/2017 )
or use service rest https://msdn.microsoft.com/en-us/library/mt814927.aspx
Hi@MohammedSajid ,
At ArcGIS Pro 3.0 there is a new GeoAnalytics Desktop tool called Snap Tracks. To access this tool you'll need ArcGIS Pro 3.0 and an advanced license.
Here are some resources to get started with the tool:
If you have any questions, or have any feedback on how the tool work for you, please reach out to geoanalytics-pes@esri.com
For records, the post left on 06-27-2022 01:23 PM belongs to @BethanyScott.