Performing geospatial calculations