Closed plepe closed 2 years ago
I don't think this has anything to do with Osmium and the discussion on https://github.com/drolbr/Overpass-API/issues/652 seems to agree. If there is anything that could be integrated in Osmium to help with this use case, please open a new issue describing exactly what's needed, then we can discuss whether that's something Osmium can provide. But it does look to me more like something that the Overpass importer should do.
What version of osmium-tool are you using?
What operating system version are you using?
What did you do exactly?
I have a .osh file which I convert to a .osc file (using osmium) to initialize a Overpass API database with attic data. Apparently, Overpass API expects the items to appear chronologically, with ways after nodes. If I import the .osc file, Overpass API would complain about missing nodes. If I re-order the .osc file, the import is successful.
Actually, I do not know whether the bug is with osmium or with Overpass API, so I created a bug report there too: drolbr/Overpass-API#652
These are the commands that I would use:
Query an object:
Result:
I modified the bug.osc and re-ordered/merged the create/modify/delete statements, see bug1.osc.
When I use this, I would get the following result:
Find all files in the following in this archive: bug.zip