For some experiments on OSM data size, I am using
osmfilter to remove ways and relations with certain tags from the planet dump. But AFAIK
osmfilter does not remove the corresponding nodes. So I'm left with a huge number of nodes that are not used by anything, and that distort my data size results.
Is there a tool to remove unused nodes (those that have no tags and are not referenced by either a way or a relation) from OSM data files (e.g.