The Maine Department of Transportation will close part of a park-and-ride in Portland to allow a growing homeless encampment to stay in one half of the lot.