export calculate distance