Pbf file with history (internal.osh.pbf) to postgis

Currently I load pbf files from geofabrik into postgis using osm2pgsql. This gives me the current OSM data. I now want to browse historic information in postgis. Geofabrik provides this info in internal.osh.pbf files. I now want to load this in postgis. Osm2pgsql is not suitable for this. So far it seems I have to use osmium. I know I can use osmium also to retrieve information from the file but I realy want the data in a postgis DB. Any suggestions (script) on how I should proceed?

[edit: changed osmosis to osmium and typo]

5 posts - 3 participants

Read full topic

Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/pbf-file-with-history-internal-osh-pbf-to-postgis/105856