For navigation applications (e.g. Alignment Tracking), I have prepared routes along some of the largest highways in densely populated countries. highway routing is based on open OSM data.
When the route is more detailed than necessary. Use Simplify Objects to reduce unnecessary complexity in contour lines, rivers, and coastlines. Simplifying objects, also known as generalizing or weeding, reduces the number of points on a complex line.
When you use Simplify Objects, you simplify complex routes by removing all interior nodes that fall within the specified tolerance width (~ 0.005km/15ft) . Line segments falling within the same corridor are generalized into a single route.
This optimization has reduced the number of vertices on the lines by almost three times, which is a significant improvement. This will help to avoid application suspension when working with long roads and other linear objects.
This simplification can be applied not only to motorways, but also to railways, rivers, coastlines, borders and contour lines