I have some fairly complex, and not completely accurate shapes stored as shapely
Polygon objects. I'm trying to find the common borders, which should be as easy as finding the
LineString returned from
However, due the the slight inaccuracies I'm finding that
intersection is returning
Point objects, or sometimes a
GeometryCollection object. Never a simple
LineString except in my simple test code where the
Polygon shapes are accurate.
Is there any way of simplifying the borders, like a "snap-to" method, or a tolerance parameter that might ease my pain?