I'd like to know if there is a way to create a polygon in shapely from two not connected linestrings. I've been struggling with this question from some hours now and I can't find a way to deal with it.
For example, I'd like to have the polygon with those linestrings as its exterior coords.
from shapely.geometry import Polygon
p1 = Polygon([1.32, 7.66], [1.4, 5.56], [2.98, 4.5], [5.86, 4], [12.16, 4.88])
p2 = Polygon([1.62, 0], [2, 1], [3.16, 1.68], [5, 2], [8.44, 2.14], [9.92, 0.58], [12, 0], [13.62, 0.8])