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

Matija Kruljac
Matija Kruljac used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT Manager
Top Expert 2010
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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial