A Hamilton man is facing charges of committing an indecent act after allegedly exposing himself to a woman on the Rail Trail, and then telling police that he wouldn't show up in court to answer to the charges.

A 24-year-old woman first called police on Friday and told them that a man was exposing himself on the trail, just west of Chedoke Golf Course.

Officers walking on the path found the man lying on a grass area of the trail. "As officers approached the man admitted to the behaviour," a police news release reads.

The man was arrested and taken to the police station – where he then said he wouldn't go to court to answer to the charges.

Police then opposed his bail.

A 28-year-old Hamilton man faces charges of committing an indecent act.