Package uk.m0nom.adifproc.geocoding
Class NominatimGeocodingProvider
java.lang.Object
uk.m0nom.adifproc.geocoding.NominatimGeocodingProvider
- All Implemented Interfaces:
GeocodingProvider
Use the Open Streetmap Nominatim API to try and determine a station's location based on a full or
partial match of their QRZ.com address details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLocationFromAddress(String address) getLocationFromAddress(QrzCallsign qrzData)
-
Constructor Details
-
NominatimGeocodingProvider
public NominatimGeocodingProvider()
-
-
Method Details
-
getLocationFromAddress
public GeocodingResult getLocationFromAddress(QrzCallsign qrzData) throws IOException, InterruptedException - Specified by:
getLocationFromAddressin interfaceGeocodingProvider- Throws:
IOExceptionInterruptedException
-
getLocationFromAddress
public GeocodingResult getLocationFromAddress(String address) throws IOException, InterruptedException - Specified by:
getLocationFromAddressin interfaceGeocodingProvider- Throws:
IOExceptionInterruptedException
-