There are 43648 nodes, 3294 ways, and 0 relations in this file.
Nodes in ways missing: 1030
Why are there 1030 nodes in ways missing? I thought this historical file had everything.
I’m using the Geofabrik historical file and checked the checksum is good.
Have you tried time slicing the file first and then filtering for shop tags? tags-filter will only work correctly on a history file if you use --omit-referencedOsmium manual pages – osmium-tags-filter (1).
There are 27932872 nodes, 1586246 ways, and 32487 relations in this file.
Nodes in ways missing: 52578
I’m confused about how osmium works maybe? Does it show really show how the map looked at that specific point in time? It doesn’t matter that some nodes were later deleted, right?
The problem might be with the france-internal.osh.pbf. If that was created with a node missing then that node will also be missing in every file generated from it.
Generally working with history files is messy and you’ll encounter all sorts of strange corner cases. Most of the time you can probably ignore those, because it will just be a few nodes moved from inside to outside the area of interest or something like it.
Of course there might also be a bug somewhere, not many people are using history files so the software has not seen a lot of testing.
Thanks @emvee, yeah I only have a very small number of node in ways missing from 2013 onwards and they disappear when I filter for shops so it solves my problem!
@Jochen_Topf Thanks for your tips as well! It’s good to know for the future. I believe you are the main maintainer of osmium so thanks a lot for your work, it is super useful
Also, maybe I’m stupid but after hours of looking at the docs.osmcode to do ‘add-locations-to-ways’ and getting some of that data into a regular text file, I finally saw the answer on your blog
At least for the Netherlands history file the problem is still present for 2012-07-18T12:00:00Z and one minute later, 2012-07-18T13:00:00Z there is no problem anymore.