I've donwloaded the following maps:

andorra-latest.osm.pbf       https://download.geofabrik.de/europe/andorra-latest.osm.pbf
azores-latest.osm.pbf        https://download.geofabrik.de/europe/azores-latest.osm.pbf
cyprus-latest.osm.pbf        https://download.geofabrik.de/europe/cyprus-latest.osm.pbf

And I am using osmconvert to merge maps. I read this answer to merge maps. So my command of merging the above maps looks like this:

.\osmconvert andorra-latest.osm.pbf --out-o5m | .\osmconvert - azores-latest.osm.pbf | .\osmconvert - cyprus-latest.osm.pbf -o=all.osm.pbf  

However, the osmconvert shows the following errors after running the above command:

osmconvert Error: unknown file format: standard input
osmconvert Error: could not open input file: .osm.pbf

enter image description here

However, the merging perfectly works in Windows 7 and Windows Server 2016 Standard

Does anybody know how to solve this error?

  • 1
    Duplicate post: help.openstreetmap.org/questions/71934/… – mmd Dec 2 '19 at 10:14
  • @mmd yeah, it is my question. I thought these are tow different sites. So I believe morepeople will see this question to get an answer. – Learner Dec 2 '19 at 10:39
  • 2
    Posting the same question on multiple sites at the same time without linking to each other is considered bad etiquette. Please don't do it, it wastes everyones time. – mmd Dec 2 '19 at 10:48
  • @mmd If I will find answer, then I will paste answer in both places to be available an all commuinties. – Learner Dec 2 '19 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.