Controlling railway gates using smart phones by tracking trains with GPS | IEEE Conference Publication | IEEE Xplore