Driving mechanism and boundary control of urban sprawl