<p>Ok, now in understood the problem. Sorry to have wasted your time. My osmosis call was flawed. Now everything worked fine. Here is the (hopefully) correct osmosis call that worked:</p>
<pre><code>bzcat oberbayern-latest.osm.bz2 | ./osmosis/bin/osmosis --read-xml enableDateParsing=no file=- --tf accept-relations boundary=administrative --used-node --used-way --write-xml file=- | bzip2 > oberbayern-adminbounds.osm.bz2
</code></pre>
<p>Thanks for all your support</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/osm2pgsql/issues/34#issuecomment-18791550'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/g8smGCFOcVLF28Q-xX3zcWsYwp3ngaTI_BJS4TC6-NWTIsMHfBpRomQGpAn2b2d5.gif' height='1' width='1'></p>