Spatial similarity measurements