After read this How merge osm files with same ID objects? I can't get any conclusion so please don't flag as duplicate.
I have some PBF files came from NASA SRTM ( http://katze.tfiu.de/projects/phyghtmap/phyghtmap.1.html )
My problem is phyghtmap have its own ID numbers and I believe start from same number in every PBF file.
I need to import these PBF files to my database (appart from OSM tables so official OSM ID is not a problem) using osm2pgsql.
For each HGT file I have a PBF and its own ID range that will conflict with the next files and override previous data in database.
How can I import all these files incrementing the ID for every file?
Tools I have: osmosis, osm2pgsql, osmium and phyghtmap.