filtering all cities

I’d like to get a simple list of all cities - I imagine that

osmfilter south-america-latest.o5m --keep-nodes="place=municipality =borough =suburb =locality =city =town =village =hamlet" --drop-relations  --drop-ways --ignore-dependencies > south-america_cities.osm

should be complete - assuming that every city has a place=city node (or the like) ; but maybe there are cities where a boundary way (or relation) is defined and no node has been separately defined . Is this possible?

The query on south america generated 231k nodes.

anybody…??? :confused:

You can try via overpass. In this case city and town are queried.