<p dir="auto">This is completely analog to how way processing happens in the second stage. So from the select_relation_member() function in the Lua config file you can now also return a list of nodes that you request to process again.</p>
<p dir="auto">Note that this will only re-process the member nodes themselves, ways which have these nodes as members are not re-processed. Also there is no way to mark member nodes of ways, only member nodes of relations. So this will allow processing, say, stop positions in public transport route relations but not, say, barriers on roads.</p>
<p dir="auto">This change is now possible because we removed support for the old middle format which didn't allow storing the complete nodes (with tags).</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252'>https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/commits/0684645085bb81a33774c7a0a6170af0bab6135c" class="commit-link">0684645</a>  Add support for node processing in second stage</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files">12 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files#diff-5295cdaf854ee4b17b132f4ab43d17c2208efa383d32d610f4852bf9ce919be6">flex-config/README.md</a>
    (2)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files#diff-a2db61ce41ae0df6c6698bb341a2a35d278a0374ea30c1ccf68afd297e2323dd">flex-config/public-transport.lua</a>
    (226)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files#diff-a9a99be0ba45d4d8da3becc16047e212b8c236764107727fd08da4a8b7751d5c">src/init.lua</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files#diff-6237ae72dac71b4b88a541860afdb44f23a47ae252f8236a4522eacd2d6a766f">src/middle-pgsql.cpp</a>
    (52)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files#diff-658c580d094c7d459c656034c1ad794752b5dbe1e440df0fc026e5396743fd78">src/middle-pgsql.hpp</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files#diff-0d7231c2eb8fa8551fb5581c8723471f2521ffa4aa818ea6b5f719b9522e3452">src/middle-ram.cpp</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files#diff-d485e497511e739c9beb683d47a199d0f2c8f742c68d2245a6a65d8db31cc014">src/middle-ram.hpp</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files#diff-701e90286007c8f36e7825136161bdcc828cd93654be765f06416d40dc43b80a">src/middle.hpp</a>
    (17)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files#diff-00e919435c3d05ab2a151e1f76fd1ca5e8bfe15d1610cc55e000a515de622f29">src/osmdata.cpp</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files#diff-becb223d44aa5a6bb197bf494c1e7e66308350843d927aed3363ce76a1945004">src/output-flex.cpp</a>
    (134)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files#diff-785c8da946a79954c6089076f7bf9a585dc6822f989220fa918499e415dd5e46">src/output-flex.hpp</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252/files#diff-4aa8caaf68c7998aed9a063389afaac889f2deafa7fcb8f34d775225f72c66a7">src/output.hpp</a>
    (6)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252.patch'>https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252.patch</a></li>
  <li><a href='https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252.diff'>https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353TBBBF4KOEAERL3ZRLZXBC5ZAVCNFSM6AAAAABOLXTICWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUZTCNBWGMYTSMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353VYKXHMSF3PUTU7O5LZXBC5ZA5CNFSM6AAAAABOLXTICWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJNYYQC4.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><osm2pgsql-dev/osm2pgsql/pull/2252</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252",
"url": "https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>