public class GeolocateCountry extends Object
| Constructor and Description |
|---|
GeolocateCountry() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
geoLocateCountries(int idxCountryColumn,
String file) |
static Map<String,String> |
geoLocateCountriesWithNoDuplicates(int idxCountryColumn,
String file) |
static String |
getCentroid(String country,
HashMap<String,String> centroids,
double threshold) |
static void |
main(String[] args) |
static void |
main1(String[] args) |
static void |
main2(String[] args) |
static void |
parseCentroidsFile() |
static void |
parseWorldCapitalsFile() |
public static List<String> geoLocateCountries(int idxCountryColumn, String file) throws Exception
Exceptionpublic static Map<String,String> geoLocateCountriesWithNoDuplicates(int idxCountryColumn, String file) throws Exception
Exceptionpublic static void parseWorldCapitalsFile()
throws Exception
ExceptionCopyright © 2016. All Rights Reserved.