Is there a way in Shapely to calculate intersections of geometries with some tolerance?
Imagine we have lines that are the same, but their coordinates are written with different precision.
LINESTRING(83 55, 84 56)
LINESTRING(83 55, 84.499999998 56.4999999998)
Or imagine a line had decimal fractions, and was rounded in another program, and returned back. I saw that rounding caused unexpected geometry behaviour (like lines that should intersect, do not because of 10th digit precision), so am trying to work around this.
The problem I'm solving is to find if a route in OSRM has passed through a certain segment in OSM highways, that are imported in Python separately from OSRM.