While skimming the union function I could see it works with intersecting bounding boxes, layer features and attributes. But how, exactly does this function work; which are the lines that check for intersection, compose new features, adds the attributes to those features, etc?
closed as too broad by Vince, John Powell, Matthias Kuhn, Mapperz♦ Oct 7 '15 at 13:48
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.