public interface Gazetteer
| Modifier and Type | Method and Description |
|---|---|
List<ResolvedLocation> |
getClosestLocations(GazetteerQuery query)
Execute a query against the gazetteer using the provided configuration,
returning the top matches as
ResolvedLocations. |
GeoName |
getGeoName(int geonameId)
Retrieves the GeoName with the provided ID.
|
List<ResolvedLocation> getClosestLocations(GazetteerQuery query) throws ClavinException
ResolvedLocations.query - the configuration parameters for the queryClavinException - if an error occursGeoName getGeoName(int geonameId) throws ClavinException
geonameId - the ID of the requested GeoNamenull if not foundClavinException - if an error occursCopyright © 2012–2014 Berico Technologies. All rights reserved.