Geo hash based on country name?

am trying to create a geomap visualization based on country name field ? is there a way I can define geo hash based on country name which automatically be translated to geo points on the map ?

I can actually do it by calculating the coordinates but I don't want to do this for millions of records already exist within my cluster.

appreciate if anyone done this with an alternative approach

thx
srinivas

Hi maybe this could help you.
but it's not on elasticsearch it's on kibana.

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