Convert polylines to Shapely objects for later

This will be useful later on when we want to get the area and "length"
(circumference) of a polygon, for calculating the stroke width.