Spatial Algorithms