<p></p>
<p>osm2pgsql is not the right tool for creating an API DB. The OSM database needs a history of data. osm2pgsql is explicitly made for the case where you want to have a view on the OSM data at a certain point in time.</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/1174#issuecomment-631680468">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353T4H5FWYRTZMVEFTVLRSQV5NANCNFSM4NEK3PNQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AA6353WI7AI5NU5SQEQEOL3RSQV5NA5CNFSM4NEK3PN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEWTK3VA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/1174#issuecomment-631680468",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1174#issuecomment-631680468",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>