Geo hash based on country name?

Since the number of countries on earth is finite, perhaps you can use a translate filter that maps country names to lat/lon coordinates?