From Crystal Brook it heads north to Port Augusta and then via the Trans-Australian Railway to Kalgoorlie including travelling over the world's longest straight stretch of railway track on the Nullarbor Plain measuring 478 kilometers .