I am trying to merge some .osm files. After looking at various examples online, I'm still having trouble. The command completes without error and there is an output file. However, the output file is a duplicate of the first input file while the second input file seems to be ignored. I tried adding some bounding box information (since the input files do not overlap, but are spatially adjacent), but had the same result.
Here is the command:
osmosis --rx Lat60Lon-150Lat61Lon-149.osm.sorted --rx Lat60Lon-151Lat61Lon-150.osm.sorted --merge --wx test.osm
Afterward, a diff confirms that test.osm and Lat60Lon-150Lat61Lon-149.osm.sorted are the same. And, again, there are no errors when running this command.
What could I be missing? Happy to provide more details if helpful.