<p>A diff between the osm2pgsql stderr output with the first node and without is</p>
<div class="highlight highlight-source-diff"><pre><span class="pl-md">--- without_first_node  2017-04-07 04:23:37.089426226 +0200</span>
<span class="pl-mi1">+++ with_first_node     2017-04-07 04:24:05.425470312 +0200</span>
<span class="pl-mdr">@@ -88,7 +88,7 @@</span>
 Reading in file: changes-2391119-reduced.osc
 Using XML parser.
   parse time: 0s
<span class="pl-md"><span class="pl-md">-</span>Node stats: total(18), max(4780166732) in 0s</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>Node stats: total(17), max(4780166732) in 0s</span>
 Way stats: total(1), max(127018391) in 0s
 Relation stats: total(0), max(0) in 0s
 Maximum node in persistent node cache: 4780168191
<span class="pl-mdr">@@ -171,10 +171,10 @@</span>
 Using lua based tag processing pipeline with script wikidata.lua

 Going over pending ways...
<span class="pl-md"><span class="pl-md">-</span>       107 ways are pending</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>       73 ways are pending</span>

 Using 1 helper-processes
<span class="pl-md"><span class="pl-md">-</span>^MFinished processing 107 ways in 0 s</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>^MFinished processing 73 ways in 0 s</span>

 Committing transaction for admin_area
 Committing transaction for admin_line
<span class="pl-mdr">@@ -214,10 +214,10 @@</span>
 Committing transaction for wikidata_polygon

 Going over pending relations...
<span class="pl-md"><span class="pl-md">-</span>       134 relations are pending</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>       98 relations are pending</span>

 Using 1 helper-processes
<span class="pl-md"><span class="pl-md">-</span>^MFinished processing 134 relations in 0 s</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>^MFinished processing 98 relations in 0 s</span>

 Committing transaction for admin_area
 WARNING:  there is no transaction in progress
<span class="pl-mdr">@@ -293,47 +293,47 @@</span>
[diff noise from ordering]
<span class="pl-md"><span class="pl-md">-</span>node cache: stored: 18(100.00%), storage efficiency: 0.22% (dense blocks: 1, sparse nodes: 6), hit rate: 67.86%</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>node cache: stored: 17(100.00%), storage efficiency: 0.21% (dense blocks: 1, sparse nodes: 5), hit rate: 79.12%</span>

<span class="pl-md"><span class="pl-md">-</span>Osm2pgsql took 3s overall</span>
<span class="pl-mi1"><span class="pl-mi1">+</span>Osm2pgsql took 2s overall</span></pre></div>
<p>I find nothing useful there, but I did try forcing sparse or dense caches and nothing changed. I also tried setting their coordinates to be the same.</p>
<p>Looking at the nodes, the first one is a member of a way that is not a member of any relations, the second one is a member of a way that is a member of a route relation.</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/735#issuecomment-292407792">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7okK4sHrcycfQecFnTTpdD7FZd5_ks5rtaGkgaJpZM4M2YeK">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7j7niizD5z68NEbqK6W_sYnNE-4Fks5rtaGkgaJpZM4M2YeK.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/openstreetmap/osm2pgsql/issues/735#issuecomment-292407792"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<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://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/osm2pgsql"}},"updates":{"snippets":[{"icon":"PERSON","message":"@pnorman in #735: A diff between the osm2pgsql stderr output with the first node and without is \r\n```diff\r\n--- without_first_node  2017-04-07 04:23:37.089426226 +0200\r\n+++ with_first_node     2017-04-07 04:24:05.425470312 +0200\r\n@@ -88,7 +88,7 @@\r\n Reading in file: changes-2391119-reduced.osc\r\n Using XML parser.\r\n   parse time: 0s\r\n-Node stats: total(18), max(4780166732) in 0s\r\n+Node stats: total(17), max(4780166732) in 0s\r\n Way stats: total(1), max(127018391) in 0s\r\n Relation stats: total(0), max(0) in 0s\r\n Maximum node in persistent node cache: 4780168191\r\n@@ -171,10 +171,10 @@\r\n Using lua based tag processing pipeline with script wikidata.lua\r\n\r\n Going over pending ways...\r\n-       107 ways are pending\r\n+       73 ways are pending\r\n\r\n Using 1 helper-processes\r\n-^MFinished processing 107 ways in 0 s\r\n+^MFinished processing 73 ways in 0 s\r\n\r\n Committing transaction for admin_area\r\n Committing transaction for admin_line\r\n@@ -214,10 +214,10 @@\r\n Committing transaction for wikidata_polygon\r\n\r\n Going over pending relations...\r\n-       134 relations are pending\r\n+       98 relations are pending\r\n\r\n Using 1 helper-processes\r\n-^MFinished processing 134 relations in 0 s\r\n+^MFinished processing 98 relations in 0 s\r\n\r\n Committing transaction for admin_area\r\n WARNING:  there is no transaction in progress\r\n@@ -293,47 +293,47 @@\r\n[diff noise from ordering]\r\n-node cache: stored: 18(100.00%), storage efficiency: 0.22% (dense blocks: 1, sparse nodes: 6), hit rate: 67.86%\r\n+node cache: stored: 17(100.00%), storage efficiency: 0.21% (dense blocks: 1, sparse nodes: 5), hit rate: 79.12%\r\n\r\n-Osm2pgsql took 3s overall\r\n+Osm2pgsql took 2s overall\r\n```\r\nI find nothing useful there, but I did try forcing sparse or dense caches and nothing changed. I also tried setting their coordinates to be the same.\r\n\r\nLooking at the nodes, the first one is a member of a way that is not a member of any relations, the second one is a member of a way that is a member of a route relation."}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/osm2pgsql/issues/735#issuecomment-292407792"}}}</script>