Towards an intelligent planet Earth