I'm using Osmosis to export the Postgis tables to .osm file.
I'm using the following command to generate the .osm file.
osmosis --read-pgsql host="localhost" database="pgsnapshot" user="postgres" password="postgres" --dataset-dump --write-xml file='output.osm"
It yields an empty osm file. The database which I'm using contains the following tables with no empty columns.
- action
- nodes_tags
- nodes
- relation_members
- relations
- relations_tag
- way_tag
- schema_info
- users
- way_nodes
- ways
I've searched for the solution but mostly I'm getting search results on osm2pgsql. I want the opposite of the same.