You probably want to run the update_cities_coordinates_from_wikidata command before to retrieve lat/lon for all cities.
update_cities_coordinates_from_wikidata