Tools for spatial data analysis