Add conversion for Polylines and Polygons