Proving yet again that technology is not foolproof, a man drove onto a train track in Melbourne, Australia after following GPS directions.

After driving onto the tracks on Wednesday night, the driver tried to reverse his car out of the predicament, Victoria Police said in a statement. The car ended up becoming stuck on the tracks, in the path of an oncoming train.

The man escaped uninjured, abandoning his car before the train hit. While the car ended up being pushed about 15 metres before coming to a standstill. The 13 passengers aboard the train were also unhurt.

The police are unable to comment further on the case, which is still being investigated, including which GPS system the unlucky punter was using.

"His GPS has turned him left onto the railway lines. It looks a lot like a road at night," Robert, a local resident, told the ABC. "It's happened before."

Image: ABC News screenshot

GPS fails are, unfortunately, all too common in Australia. In 2012, police in Mildura had to warn motorists not to rely on Apple Maps to find the small town, as several people had to be rescued after following the app into a remote national park.

"Some of the motorists located by police have been stranded for up to 24 hours without food or water and have walked long distances through dangerous terrain to get phone reception," Mildura police said in a statement to CNN.

Also in 2012, three Japanese tourists were forced to abandon their hire car in the waters of Moreton Bay after their GPS system instructed them to drive from the Queensland mainland to North Stradbroke Island — definitely an island, definitely surrounded by water — the Redland City Bulletin reported.

"It told us we could drive down there," Yuzu Noda said regarding the GPS. "It kept saying it would navigate us to a road. We got stuck ... there's lots of mud."

The lesson in all this is, no matter what your GPS tells you, if it looks like a train track it is a train track.