It is made in Sverchok. Bridges and rails are generated procedurally.
Demo: https://youtu.be/DV0oF7AXX-g
Here how node tree looks like:
![Node tree](https://user-images.githubusercontent.com/28003269/83911444-53637900-a77d-11ea-8104-62fc476b6571.png)