All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.afrigis.services.reversegeocoding.package-info Maven / Gradle / Ivy

/**
 * 

* These classes manage all calls to Reverse Geocoding AfriGIS services. *

* * * Sample Use: *
 *      import com.afrigis.services.AfriGISServices;
 *      import com.afrigis.services.ServiceCallFactory;
 *      import com.afrigis.services.reversegeocoding.ReverseGeocodeRequest;
 *      import com.afrigis.services.reversegeocoding.ReverseGeocodeResponse;
 *      import com.afrigis.services.reversegeocoding.AddressResult;
 *      
 *      ServiceCallFactory serviceFactory = AfriGISServices.instance("SomeKey", "SomeSeret");
 *               
 *      ReverseGeocodeRequest params = new ReverseGeocodeRequest(new Coordinate(-26.099082946777344d, 28.063194d));
 *      params.setLayer(Layer.STREETS.toString());
 *
 *      ReverseGeocodeResponse response = serviceFactory.get(params);
 *      List <AddressResult> results = response.listResults();
 *      
 *      for (AddressResult reverseGeocodeAddress : results) {
 *          System.out.println(reverseGeocodeAddress.getDocId());
 *      }
 * 
* * *

* Once a response is received, it will either contain error data or result * data. Check whether the response is an error before attempting to extract * results from it. *

* * * @author Sydney * @author hendrikc * */ package com.afrigis.services.reversegeocoding;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy