I would like to use Osmfilter for extracting specific relations by ID (and their dependent ways and nodes).
All I've found was filtering by tag/key.
Is there a way to filter by ID?
In osmfilter's documentation via the OSM wiki I found a hint about the @id
search key.
Having not tested on my own, you should find out whether that feature is that what you are looking for, and how you can define a filtering for nodes, ways or relation with its own OSM id number (because node 123456 is different from way 123456 and also from relation 123456, but all three do co-exist.)