American elevated rapid transit in NY, Philadelphia, Chicago have many many areas where the trains and stations are literally just outside the windows of the buildings as it passes through dense neighborhoods. Sometimes its over a major commercial street or an alleyway like in Chicago but in many cases the building is mere feet from the elevated structure.
Here's the Jamaica line in Brooklyn:
<><><>