Causal invariant geographic network representations with feature and structural distribution shifts