We have a lot of coordinates generated by GPS and UWB devices for different users in our system. For a given user for a certain time range, when we tried to display their history trace(the yellow points in the image) on the map, the trace looks ugly because of the precision of the location device.
Generally, we can create the road network(the green line in the image) and use something like "snap to road" to correct the points to the center of the "road".
However, I'd like to know if it is possible to implement that without the road network.
Also, the trace may cut the wall when the location frequency is low:
Any idea to interpolate some points to bypass the wall and make sure the interpolated points match the map?






