What is the meaning of Pointsman?

A man in charge of railroad points (switches).

Source: wiktionary.org