<p>If you want custom logic you can use <a href="https://github.com/openstreetmap/osm2pgsql/blob/master/docs/lua.md">lua transforms</a> which let you control what gets filtered and what is in the roads table.</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/603#issuecomment-231177228">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AD2-7m03gmd4krM423Yq--4nma2DcVQkks5qTU7QgaJpZM4JHMTc">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7t2H1ve0w1tNTMhTVWQ5C3KNwVW8ks5qTU7QgaJpZM4JHMTc.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/603#issuecomment-231177228"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>