Leveraging spatial relationships