<p>If you have osm2pgsql installed, then you should have most dependencies of osmium-tool installed already (they are both libosmium-based). In any case, you want to use the appropriate tools that manage the change download for you instead of a raw wget to <code>.osc.gz</code> files. pyosmium has <code>pyosmium-get-changes</code> or you can use osmosis. Both will ensure that updates are continued properly and produce diffs suitable for osm2pgsql.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/921#issuecomment-472802536">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7ixDpAUHygQqI3lWhE1bjrXkG37cks5vWisqgaJpZM4btSeN">mute the thread</a>.<img src="https://github.com/notifications/beacon/AD2-7raQnzCO7XsIVYmNkzv46YJ4y1CAks5vWisqgaJpZM4btSeN.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/osm2pgsql","title":"openstreetmap/osm2pgsql","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/osm2pgsql"}},"updates":{"snippets":[{"icon":"PERSON","message":"@lonvia in #921: If you have osm2pgsql installed, then you should have most dependencies of osmium-tool installed already (they are both libosmium-based). In any case, you want to use the appropriate tools that manage the change download for you instead of a raw wget to `.osc.gz` files. pyosmium has `pyosmium-get-changes` or you can use osmosis. Both will ensure that updates are continued properly and produce diffs suitable for osm2pgsql."}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/osm2pgsql/issues/921#issuecomment-472802536"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/921#issuecomment-472802536",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/921#issuecomment-472802536",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>