<p>Thanks I'd found that late last night.</p>
<p>So even though there is a work around 64bit ids will not work correctly with the osm2pgsql completely.</p>
<p>Should the id2block function be modified to check for the size of the id (32bit or 64bit) and return an appropriate result.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/osm2pgsql/issues/23#issuecomment-17310752'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/g8smGCFOcVLF28Q-xX3zcbZOnvEVErrIUIS9wQQhfruEaCskRN1O6s3fgNd_i91K.gif' height='1' width='1'></p>