selectbylocation function

Select polygon features from another layer and adds polygon attributes to layer