[OSM-dev] tools to detect if a pbf is a historic/attic ou classic pbf

Imre Samu pella.samu at gmail.com
Fri Jan 28 18:21:30 UTC 2022


>  i'm looking for a tool to display if a pbf is a history file or not.

Check the "osmium" tool :

$ osmium fileinfo hungary-internal.osh.pbf | grep history
  With history: yes

$ osmium fileinfo hungary-latest-internal.osm.pbf | grep history
  With history: no

Regards,
 Imre

Marc_marc <marc_marc at mailo.com> ezt írta (időpont: 2022. jan. 28., P,
18:51):

> Hello,
>
> in order to debug a small script that doesn't seem to handle osh.pbf
> files, i'm looking for a tool to display if a pbf is a history file or
> not. any advice?
>
> toolchain is download osh.pbf from geofabrik, osmosis, osmconvert (with
> a clipping) osmfilter taginfo with chronology (it complain that the file
> isn't a osh anymore)
>
> Regards,
> Marc
>
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20220128/7a7dbe23/attachment.htm>


More information about the dev mailing list