In the mid-1860s the Royal Württemberg State Railways (German: Königlich Württembergischen Staats-Eisenbahnen) planned a line from Stuttgart to Calw.
This would branch from the Northern Railway (Nordbahn) in Feuerbach or Zuffenhausen and run through the Strohgäu district to Leonberg.
This decision had a negative impact on the community of Weil im Dorf, as the line only touched the north-west of the district.
In 1913 and 1914, plans were developed for a line of the Stuttgart suburban tramway from Feuerbach via Weil im Dorf to Gerlingen.
The traffic engineer Professor Walter Lambert had developed a transportation plan for the state capital and its environs.