The law requires most confinements to be built at least a quarter-mile away from the nearest home and a half-mile from the nearest town. While those setback distances are greater than in many other states, Illinois does not allow local governments to impose more stringent standards or take into account wind and weather patterns, topography and facility features that affect the movement of airborne particles.