GE Transportation will spend $231 million to upgrade two factories to meet North American and foreign demand for locomotives, mining equipment and other products including marine engines.