Interface GeonamesService
-
- All Known Implementing Classes:
GeonamesServiceImpl
public interface GeonamesService
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>
ADM1_FEATURE_CODES
static List<String>
ADM2_FEATURE_CODES
static List<String>
CITIES_FEATURE_CODES
static List<String>
COUNTRY_FEATURE_CODES
static List<String>
FEATURES_CLASSES
static List<List<String>>
ORDERED_FEATURES
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<GeonameEntry>
getCapitalEntries(String itemId)
PartialList<GeonameEntry>
getChildrenCities(List<String> items, int offset, int size)
PartialList<GeonameEntry>
getChildrenEntries(List<String> items, int offset, int size)
List<GeonameEntry>
getHierarchy(String id)
void
importDatabase()
List<GeonameEntry>
reverseGeoCode(String lat, String lon)
-
-
-
Method Detail
-
importDatabase
void importDatabase()
-
reverseGeoCode
List<GeonameEntry> reverseGeoCode(String lat, String lon)
-
getHierarchy
List<GeonameEntry> getHierarchy(String id)
-
getChildrenEntries
PartialList<GeonameEntry> getChildrenEntries(List<String> items, int offset, int size)
-
getChildrenCities
PartialList<GeonameEntry> getChildrenCities(List<String> items, int offset, int size)
-
getCapitalEntries
List<GeonameEntry> getCapitalEntries(String itemId)
-
-