Dunno about local ordinances, but believe neighbors within x number of feet from where chickens live may lodge a complaint. Our strategy, bringing in a new rooster on purpose, is to give eggs to our neighbors occasionally. Start before the crowing begins!