I have 2 polygons that have some parts overlapping like this :
I have the coordinates of the 2 polygons.
I would want to have the coordinates without the overlapping part.
My idea is to create 2 new polygons but without the overlapping part, so reduce the size of one of the polygons.
from shapely.geometry import Polygon
p = Polygon([(1,1),(1,2),(4,2),(4,1)])
q = Polygon([(2,1.5),(2,3),(3,3),(3,1.5)])
Here is an example of the data that I am working with.
Thanks in advance for the help