"Planning is a governmental purpose and function of the state and agencies and political subdivisions of the state." . . . .