You have two factors at work.
1. The NESC dictates how close the electrical system can be built to other facilities.
2. Other governmental laws stating how close other facilities can be built to the electrical system.
3. Clearance requiremence for maintenance people to be away from electrical facilities.
Generally the electrical facilities can be built closer to buildings and such than the other equipment can be built to the electrical facilities. In both cases you can build a system that is non-maintainable. For instance at distribution voltage the poer line can maybe get within 7' of the building, but the building can only get within 10' of the line (depending on which one is built first), but the maintenance worker needs 10' between him and the energized equipment. 10' air + 3' person + 3' swinging arm = 16' If he's swinging a bar for installing a bilboard plan on more like 25' of clearance needed to make the guy legal.
Mark in Utah