Class GetGoogleGeocode

java.lang.Object
org.deltava.dao.http.DAO
org.deltava.dao.http.GetGoogleGeocode

public class GetGoogleGeocode extends DAO
A Data Access Object to do reverse geocoding using the Google HTTP API. The GeoLocation URL is https://maps.google.com/maps/geo?q=(lat),(long)invalid input: '&sensor'=falseinvalid input: '&key'=(key)
Since:
2.3
Version:
11.2
Author:
Luke
  • Constructor Details

    • GetGoogleGeocode

      public GetGoogleGeocode()
  • Method Details

    • getGeoData

      public GeocodeResult getGeoData(GeoLocation loc) throws DAOException
      Retrieves the Geocoding results for the location.
      Parameters:
      loc - the GeoLocation
      Returns:
      a List of GeocodeResult beans
      Throws:
      DAOException - if an I/O error occurs