This article proposes a new distance measure called Spatial Assembling Distance (SpADe) to handle noisy, shifting, and scaling time series data. SpADe can effectively measure the similarity between time series that exhibit amplitude and temporal variations. The article also applies SpADe to the task of continuous pattern detection in streaming time series data and shows it achieves high accuracy and efficiency.