WanMil
(Wan Mil)
5
At the moment - but I am sure we will find a solution 
Yes, the file updated by osmupdate which uses osmconvert cannot be handled correctly by osmosis (and it is not clear if that’s a problem of osmosis or osmconvert or whatever…). Interestingly osmosis does not throw an exception but it reads only a very very small subset of the elements that are expected to be in the file.
That’s a good idea! I will try that tomorrow.
It would also help if a debug version of osmconvert can output the deserialization of the pbf file. So create a printout with one line for each osm element “node/way/relation osmid (lat lon if it is a node)”. I could use it to compare that with the output of osmosis or splitter by changing their java classes to printout the same deserialization. It would be a large effort for me to do this for osmconvert. Maybe that helps to get closer to the problematic areas of the pbf file.
WanMil