Hi Thomas,

wie klein muss denn Deine Datei werden?

Evtl. könntest Du noch anschließend
A) alle Tags entfernen
$ osmosis --read-xml file=“buildings.osm” --tag-transform file=transform.xml --write-pbf file=“build.pbf”
trasform.xml siehe oben
Dann
B) auch noch die history killen
$ pbftoosm --drop-brokenrefs --drop-history -i=build.pbf > build.osm

Ciao,
Frank