This package can be used to get the geographic coordinates of locations using geocoding Web services.
There is a base class that provides a common API to access Web services that can analyze and determine the definition of a world location and return the associated latitude and longitude.
There is one function that takes as parameters the country name, location zip code and optionally the city and state. That function returns an array with the latitude, longitude of the location or an error message.
Currently, there are implementation classes that can access geocoding Web services of Yahoo, Google and Worldkit. |