calculate country geolocation from areas