I have two features: points and grid cells (vector). I want to select a point within a grid cell (some cell do not have point) using python script and create a new feature layer with below conditions:
- If no point in cell then leave as it is.
- If only one point then pick that point.
- If more than one point then calculate average point.
How can I achieve this task ? I will appreciate your help.