Replies: 1 comment
-
There is the zip_processors function, which allows you to iterate over multiple FileProcessors in parallel. You can use that to merge files. Have a look at its use in the ForwardReferenceWriter to see how it is used. Note that it expects the input to be sorted (but I believe this is true for osmium merge as well). There are two gottchas with that function. For one thing, it severely lacks on proper documentation, and for another, it is implemented in Python and as such pretty slow. The reason for both is that I'm not yet entirely sure if this is a good interface for merging. So by all means, please let me know if the function is useful for your usecase. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Thx for developing the library
Wasn't able to understand from the docs if there is a possibility to merge
pbf
files (like the command osmium merge )Is there such a possibility?
Beta Was this translation helpful? Give feedback.
All reactions