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(String type,
long id)
Reverse geocode the given OSM id.
|
List<Address> |
search(String query)
Search for results with the given query.
|
List<Address> search(String query) throws IOException
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 occurredAddress getAddress(String type, long id) throws IOException
type - An OSM type [N|W|R]id - An OSM idnull if no
result foundIOExceptionCopyright © 2013. All Rights Reserved.