Why take first or last object from array of placemarks in reverse geocoding on iOS?

When working with reverse geocoding some address could be ambiguous for given location and the returned array of placemarks can contain multiple values (address gets multiple hits). This happens very rarely. Usually practice is to take first or last object from given array. So, I want to know why is this common practice. I've looked in Apple documentation and they also took object at index 0. Does the first object contains the most accurate address if the array of placemarks contains more than one object for given location (lat, long)? Thanks for your answers.
Matija KruljacAsked:
Who is Participating?
 
Jackie ManConnect With a Mentor Commented:
I think that the reason is common sense.

Reverse geocoding is a concept to find the location address from the geolocation info obtained by the sensor of the devices.

The reverse lookup is essentially matching the geolocation info with the location address database matching the same or closer value of geolocation info inside the database. The first record is of course the most accurate one.
0
All Courses

From novice to tech pro — start learning today.