It's most likely that you took the photographs on private property. Train stations are usually private property as they are owned by CityRail. Railway yards or other railway property owned by Government is also usually considered 'private property'.
Photographs taken on private property comes under trespass, and it is illegal. If they choose to pursue it, they can get an injunction to stop you from publishing or using the photos.
If its hard to identify the place, I wouldn't worry too much about it. It's very unlikely anyone would actually come across it and go "hey that's the photo from the guy that was there taking photos once"
Just be aware that it's illegal
Photographs taken on private property comes under trespass, and it is illegal. If they choose to pursue it, they can get an injunction to stop you from publishing or using the photos.
If its hard to identify the place, I wouldn't worry too much about it. It's very unlikely anyone would actually come across it and go "hey that's the photo from the guy that was there taking photos once"
Just be aware that it's illegal