[Tile-serving] [openstreetmap/osm2pgsql] Does the -G option support MultiPoint and MultiLineString geometries? (#609)

Willie Maddox notifications at github.com
Mon Jul 18 07:44:13 UTC 2016


I loaded the planet file into my PostGIS database using the -G option, but I only have groupings of MultiPolygons

```sql
SELECT ST_GeometryType(way) AS geom, count(*) AS ct FROM planet_osm_polygon
GROUP BY geom ORDER BY ct DESC;

       geom      |    ct    
-----------------+----------
 ST_Polygon      | 229522629
 ST_MultiPolygon | 104743
(2 rows)
```

```sql
SELECT ST_GeometryType(way) AS geom, count(*) AS ct FROM planet_osm_line
GROUP BY geom ORDER BY ct DESC;

     geom      |    ct     
---------------+-----------
 ST_LineString | 123433770
(1 row)
```

```sql
SELECT ST_GeometryType(way) AS geom, count(*) AS ct FROM planet_osm_point
GROUP BY geom ORDER BY ct DESC;

   geom   |    ct    
----------+----------
 ST_Point | 84121378
(1 row)
```

Is this the intended behavior or is osm2pgsql capable of grouping MultiPoint and MultiLineString geometries?

Thanks,

-Will

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/609
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160718/76051c21/attachment.html>


More information about the Tile-serving mailing list