Determining latitude and longitude