I have a Polygon Shapefile that represents US counties and a Point Shapefile that represents hospitals. The hospital attributes table includes fields like "Number of Beds", "Number of Patients" and "Number of Doctors". I want to find the data for the hospital which has the maximum number of doctors in each county.
Lets say these Points fall inside county xyz.
Hospital.....Beds....Patients...Doctors
1 ................ 20 ...... 200 .......... 10
2 ................ 12 ...... 300 .......... 5
3 ................ 15 ...... 100 .......... 13
My desired result should look like:
County.....Hospital.....Beds....Patients...Doctors
xyz ............3 ................ 15 ...... 100 .......... 13
Getting just maximum of Doctors is not what I need (or maximum of all fields).