I have a point layer coming from LIDAR data containing x,y,z and intensity values. On the other hand I have a layer containing several polygons. All the points are inside the polygons.
I need to calculate the median Z value of each polygon using the points. I could do a spatial join, but it offers only the possibility of calculating mean values unfortunately, not median.
How do I proceed?