A new study finds that moving from low- to high-density neighborhoods might be related to reductions in weight gain.