[GIS] Calculating median value of polygon from points in ArcGIS Desktop

arcgis-desktoplidarstatistics

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?

Best Answer

In Field Map, the available merge rules depend on the data type stored in the field.

To clarify, the field map option is available in the ArcToolbox spatial join tool, not in the spatial join dialog accessible from the Table of Contents right-click menu.

enter image description here