One thought has been over looked.
With todays restricted developments the covenants of the development might preclude beehives just as they have targeted hanm radio antennas, certain types of pets, etc. Even 5 acre developments have been know to have restrictive covenants.
For cities and communities that have ordances allowing beekeeping most have a hive per lot size ratio that allows a given number of hives per total square footage of the lot. In my area that ratio starts out with a 50X75 ft lot allowing 1 hive, a 75X100 ft lot 2 hives, a quarter acre lot 3 hives and a lot of 1 acre or more 6-10 hives depending on available setbacks.
Another restriction might be setbacks from the property line. Usually if there is a setback of less than 25 ft then a fence is required to force the bees overhead of path and roadways. More than 25 ft and there is no fence requirement. At 10 ft or less a fence and signage are often required.
I live on 1.5 acres, my bees are contained in a fenced and signed (all 4 sides) bee yard at least 50 feet from any property line, and according to city ordinance I can have 10 hives on my property. My family has owned the property since 1974, when it was zoned agricultural and all livestock and bees are grandfathered in due to zoning changes. I have purposely exceeded the restrictions of the ordinance for any possible liability issues.