The decision to build the 12 miles railway between the harbour and the international border with DSWA followed the start of construction of the Swakopmund-Windhuk Staatsbahn in DSWA in 1897 and was an attempt to not forfeit freight trade opportunities into the interior once that line was completed.