Does the footbridge cross the railway, or just the road beside it?

How to say “Does the footbridge cross the railway, or just the road beside it?” in Japanese

In Japanese

あの歩道橋(ほどうきょう)、線路(せんろ)の向(む)こうまで渡(わた)れる? それとも横(よこ)の道路(どうろ)を渡(わた)るだけ?

Ano hodōkyō, senro no mukō made watareru? Soretomo yoko no dōro o wataru dake?

Does the footbridge cross the railway, or just the road beside it? in other languages