Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You have an address of a location and you want to find the spatial location (longitude, latitude) of that address.
Reverse geocoding is the process of
retrieving a meaningful address, city and country, and so on, using
spatial locations (Longitude, Latitude).
Geocoding, on the other hand, is
the process of finding the spatial locations of a given address. Both
geocoding and reverse geocoding
facilities are encapsulated into the CLGeocoder class in the CoreLocation framework.
We geocode spatial locations by passing the address as NSString to the geocodeAddressString:completionHandler:
method of the CLGeocoder class. The
completionHandler parameter of this
method accepts a block object that returns no value and has two
parameters: