edit: Then I got curious about what size a 'town' is, which led me to https://en.wikipedia.org/wiki/Settlement_hierarchy which gave me the word 'Ecumenopolis' for a planet-wide city.