First of all, thanks for publishing these maps, it helped me a lot with a side-project that I'm working on :)
I had an issue that in my side-project, countries bordering each other could have the same color which is confusing.
I fixed this by calculating the bordering country of every country. For example, now the dutch east indies have two bordering countries, Papua New Guinea and Malaya.
Based on this data, I released a graph coloring algorithm on the countries and calculated the BORDER_COLOR_INDEX. This index can then be used to assign a color to a country.
Apologies for not maintaining the same JSON indentation, I couldn't find an easy way to keep it the same. I was also not able to generate the other png files.
First of all, thanks for publishing these maps, it helped me a lot with a side-project that I'm working on :) I had an issue that in my side-project, countries bordering each other could have the same color which is confusing. I fixed this by calculating the bordering country of every country. For example, now the dutch east indies have two bordering countries, Papua New Guinea and Malaya. Based on this data, I released a graph coloring algorithm on the countries and calculated the
BORDER_COLOR_INDEX
. This index can then be used to assign a color to a country.Apologies for not maintaining the same JSON indentation, I couldn't find an easy way to keep it the same. I was also not able to generate the other png files.