Similar to home, they let farmers put their cattle in public parks. Either that or the land is owned by farmers, and people are allowed through it.
Regardless, on a recent cycling trip about town, we stopped to snap some cattle. They looked pretty chilled out.
Nice.