New data structures and algorithms for the efficient management of large spatial datasets