Police say the officer was at a makeshift camp looking for a suspect who had been breaking into vehicles downtown.
When he opened one tent, he found a man with a hatchet holstered to his leg.
Police say there was a struggle and the officer was cut in the thigh and the man was cut in the hand.
Both were treated in hospital for non life-threatening injuries.
Police say the man is in custody and will likely face charges.