Police have charged a man and cautioned two teenagers over separate incidents of defecating on railway property at train stations in southern Lake Macquarie and the New South Wales central coast.

A 27-year-old Summerland Point man faced Wyong court yesterday on charges of behaving offensively and damaging property, after an incident at Wyee railway station in January this year.

Two 17-year-old boys from Ourimbah and Berkley Vale were cautioned over a similar incident involving defecating at a railway station at Ourimbah in February.