In the great days of railroads, the railroad company were sometimes also the biggest local employers and took pride into taking care of their employes.
Begin of the 20th century the Bavarian railroad constructed in Nuernberg what became to be one of the biggest shunting yards in Germany. The little hill was used to divide up the trains.
For all the people working there they also built this neighbourhood in 1912. The engine above the entrance was stolen at the end of WW II, but returned when it was found in the harbour of Bremen and ready to be shipped to America
They not only built houses, but also schools and churches
This building in the middle was called "die Burg" and had separate entrances to all the appartments.
These buildings had a typical southern Bavarian style.... otherwise the buildings of this time in Nuernberg were from non-plastered/sandstone-blocks.
You could even rent (and still can do so) patches of land between the tracks as little gardens. They call it railroad agriculture