precalculate latlon data