Hacker News new | ask | show | jobs
by mci 3103 days ago
I'm not sure if you have seen this: https://marcinciura.wordpress.com/2015/11/17/slicing-earth-c... — loading country polygons instead of land polygons and changing the LengthOfIntersectionInKm() function should be enough to answer your question. Be wary, however, that parts of France lie in Africa and the Americas (https://en.wikipedia.org/wiki/Overseas_department).
2 comments

Fun fact: St. Pierre and Miquelon was the site of the only use of the guillotine in North America.
just count the mainland.
Doesn't work for island countries. Think Japan, Philippines, or Indonesia.
then just use the biggest islands.
Then you would ignore 98% of the territory of the Republic of Maldives.