This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Osmium time-filter

0

I would like to filter an OSM history file by time first. However, I still need the history of each object. Osmium time-filter is an option. Unfortunately it only works to retrieve the status at a specific datum. The To-Time time does not work

osmium timefilter -o europa.osh.pbf /Users/.../.../europe-internal.osh.pbf.download 2000-01-01T00:00:00Z 2010-01-01T00:00:00Z

asked 08 Nov '22, 10:24

max92ue's gravatar image

max92ue
11112
accept rate: 0%

edited 08 Nov '22, 10:41


One Answer:

0

The to-time should work fine. The command line you quote has several errors in them, maybe that's the reason it doesn't work for you? The command is "time-filter", not "timefilter", and the filename ending in .download will also not work, because the file type can't be detected, if you rename the file to .osh.pbf it should work.

answered 08 Nov '22, 14:57

Jochen%20Topf's gravatar image

Jochen Topf
5.2k55074
accept rate: 31%

Source code available on GitHub .