<p>I loaded the planet file into my PostGIS database using the -G option, but I only have groupings of MultiPolygons</p>
<div class="highlight highlight-source-sql"><pre><span class="pl-k">SELECT</span> ST_GeometryType(way) <span class="pl-k">AS</span> geom, <span class="pl-c1">count</span>(<span class="pl-k">*</span>) <span class="pl-k">AS</span> ct <span class="pl-k">FROM</span> planet_osm_polygon
<span class="pl-k">GROUP BY</span> geom <span class="pl-k">ORDER BY</span> ct <span class="pl-k">DESC</span>;
geom | ct
<span class="pl-c">-----------------+----------</span>
ST_Polygon | <span class="pl-c1">229522629</span>
ST_MultiPolygon | <span class="pl-c1">104743</span>
(<span class="pl-c1">2</span> rows)</pre></div>
<div class="highlight highlight-source-sql"><pre><span class="pl-k">SELECT</span> ST_GeometryType(way) <span class="pl-k">AS</span> geom, <span class="pl-c1">count</span>(<span class="pl-k">*</span>) <span class="pl-k">AS</span> ct <span class="pl-k">FROM</span> planet_osm_line
<span class="pl-k">GROUP BY</span> geom <span class="pl-k">ORDER BY</span> ct <span class="pl-k">DESC</span>;
geom | ct
<span class="pl-c">---------------+-----------</span>
ST_LineString | <span class="pl-c1">123433770</span>
(<span class="pl-c1">1</span> row)</pre></div>
<div class="highlight highlight-source-sql"><pre><span class="pl-k">SELECT</span> ST_GeometryType(way) <span class="pl-k">AS</span> geom, <span class="pl-c1">count</span>(<span class="pl-k">*</span>) <span class="pl-k">AS</span> ct <span class="pl-k">FROM</span> planet_osm_point
<span class="pl-k">GROUP BY</span> geom <span class="pl-k">ORDER BY</span> ct <span class="pl-k">DESC</span>;
geom | ct
<span class="pl-c">----------+----------</span>
ST_Point | <span class="pl-c1">84121378</span>
(<span class="pl-c1">1</span> row)</pre></div>
<p>Is this the intended behavior or is osm2pgsql capable of grouping MultiPoint and MultiLineString geometries?</p>
<p>Thanks,</p>
<p>-Will</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/609">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7uLKJq9VWfze3jGEFROdtcwpDUOEks5qWy7NgaJpZM4JOeb-">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AD2-7lWcZdeXULLwV6BCCFRzt2EzgfY8ks5qWy7NgaJpZM4JOeb-.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/609"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>