Open djmakwana opened 7 months ago
The manual has this to say: "If there are different versions of the same object in the input files, all versions will appear in the output... Do not use this command to merge non-history files with data from different points in time. It will not work correctly."
So most likely the two files you downloaded and merged were from different points in time. Maybe you downloaded one on one day and the other the next day.
Thank you for the clue. I am downloading all new files today and will report back when I try out my small experiment.
@djmakwana:
I am downloading all new files today
There is a small chance, but due to time zone differences, the "today" you mentioned might coincide with the data update time. In such cases, it might be useful not to use the '-latest' option.
In the "raw directory index",
you will find files tagged with dates in the format YYMMDD.
For example, 231212
represents the date 2023-12-12.
https://download.geofabrik.de/australia-oceania-231212.osm.pbf
https://download.geofabrik.de/south-america-231212.osm.pbf
Thanks you
What version of osmium-tool are you using?
What operating system version are you using?
https://hub.docker.com/r/stationa/osmium-tool
Tell us something about your system
The docker host is running 128GB RAM, 24 Cores
What did you do exactly?
I am trying to merge the two different region files downloaded from https://download.geofabrik.de/south-america-latest.osm.pbf and https://download.geofabrik.de/australia-oceania-latest.osm.pbf
The exact command is as follows
Then when I tried to import the
au_sa.osm.pbf
file in the https://github.com/Overv/openstreetmap-tile-server using their import command, it fails with an error (see below). I have also created an issue (https://github.com/Overv/openstreetmap-tile-server/issues/404) in that repository as I am not sure where the problem lies.Error
Here's my docker comman in the docker-compose.yml
What did you expect to happen?
As per the documentation of the merge command, I did not expect the merged file to contain duplicate ids and it is supposed to be sorted.
What did happen instead?
Error
What did you do to try analyzing the problem?
I am new to this area and am looking for some suggestions.