getting polylines