<p>In <a href="https://github.com/openstreetmap/osm2pgsql/pull/511#discussion_r46075245">geometry-builder.cpp</a>:</p>
<pre style='color:#555'>> @@ -224,12 +227,12 @@ geometry_builder::maybe_wkt_t geometry_builder::get_wkt_simple(const nodelist_t
>          auto coords = nodes2coords(gf, nodes);
>          if (polygon && is_polygon_line(coords.get())) {
>              auto geom = create_simple_poly(gf, std::move(coords));
> -            wkt = std::make_shared<wkt_t>(geom.get(), projection);
> +            wkt = std::make_shared<wkt_t>(geom.get(), true, projection);
</pre>
<p>should this be changed to <code>wkb = ... <wkb_t> ...</code>?</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/pull/511/files#r46075245">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7uCB-KiGB3q_jHSzUjQvou1GayZyks5pKREngaJpZM4Gqsq1.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/pull/511/files#r46075245"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>