This refer to this post : Read Here
I'm in trouble when using osmosis command line to export data from planet-latest.osm.bz2 directly to osm2pgsql using some criteria to select what to transfer.
I think is more easy to export planet-latest.osm.bz2 to an XML with osmosis and then use osm2pgsql to import to Postgre, but I can't go further. So I need help in osmosis parameters to show how can I to export data using filters like
--place='city' --admin_level='2'
and import to Postgre using osm2pgsql.
Sorry about this very similar post, but the user was helping me was gived up.