public interface NominatimClient
| Modifier and Type | Method and Description |
|---|---|
Address |
getAddress(double longitude,
double latitude)
Reverse geocode the given coordinates.
|
Address |
getAddress(double longitude,
double latitude,
int zoom)
Reverse geocode the given coordinates using a specific zoom level
|
Address |
getAddress(int longitudeE6,
int latitudeE6)
A convenience method to do the same as
getAddress(double, double) but with int E6 latitude and
longitude. |
Address |
getAddress(NominatimReverseRequest reverse)
Reverse geocoding request.
|
Address |
getAddress(String type,
long id)
Deprecated.
|
List<Address> |
lookupAddress(List<String> typeId)
This method can be used to lookup addresses with an OSM type and ID
|
List<Address> |
lookupAddress(NominatimLookupRequest lookup)
Address lookup request.
|
List<Address> |
search(NominatimSearchRequest search)
Search for addresses.
|
List<Address> |
search(String query)
Search for results with the given query.
|
List<Address> search(String query) throws IOException
See also search(NominatimSearchRequest) to obtain more result details.
query - the queryIOException - a communication error occurredAddress getAddress(double longitude, double latitude) throws IOException
longitude - a longitudelatitude - a latitudenull if no result foundIOException - a communication error occurredAddress getAddress(double longitude, double latitude, int zoom) throws IOException
longitude - a longitudelatitude - a latitudezoom - a osm zoom levelnull if no result foundIOException - a communication error occurredAddress getAddress(int longitudeE6, int latitudeE6) throws IOException
getAddress(double, double) but with int E6 latitude and
longitude.longitudeE6 - a longitude E6latitudeE6 - a latitude E6null if no result foundIOException - a communication error occurred@Deprecated Address getAddress(String type, long id) throws IOException
type - An OSM type [N|W|R]id - An OSM idnull if no result foundIOExceptionfr.dudie.nominatim.client.NominatimClientV3#getAddress(fr.dudie.nominatim.client.request.NominatimReverseRequest)List<Address> lookupAddress(List<String> typeId) throws IOException
typeId - [N|W|R]IDnull if no result foundIOException - a communication error occurredList<Address> search(NominatimSearchRequest search) throws IOException
search - the search request parametersIOException - a communication error occurredAddress getAddress(NominatimReverseRequest reverse) throws IOException
reverse - a reverse geocoding requestnull if no result foundIOException - a communication error occurredList<Address> lookupAddress(NominatimLookupRequest lookup) throws IOException
lookup - a lookup requestnull if no result foundIOException - a communication error occurredCopyright © 2010-2017 Dudie. All Rights Reserved.