for a simple table - probably the negative " filters / reject " is useful
example:
filters:
reject:
highway: ["residential","service","track"]
mapping:
highway:
- __any__
type: linestring
for ALL mapping rules - it is harder.
the SQL + Imposm3 way:
- create 5 extra table based on type ( point, linestring, polygon, relation and relation_member )
- without geometry
- with hstore
- with "__any__": ["__any__"] mapping
- and with a simple SQL script it is easy to find the differences in the osm_id.
or export all osm_id to the text file in osmium format ( n987 , w653, r321 )
and use your favorite linux text command tool to select the differences with the input osm files
( it is useful if you want to check/detect the "broken osm polygons" )
Best,
Imre
( imposm3 power user )