"I am looking for train stations next to the river."
Translation:A folyó mellett keresek pályaudvarokat.
I guess if you're looking for train stations that are located next to the river, you will also be close to the river. :)
Grammatically, the English sentence can account for both meanings. Hungarian makes a difference there. The given translation locates you at the river rather than the train stations.