[Tile-serving] [openstreetmap/osm2pgsql] Can't use multipolygon as column type using flex (#1313)
Jochen Topf
notifications at github.com
Mon Nov 9 08:46:28 UTC 2020
The problem ist that, despite their name in OSM, multipolygon relations can still create polygon geometries. If `multi` is set to true, it only means that multipolygon geometries are not split, it doesn't mean non-multi polygons are output as multi-polygons. So this means you will have polygons and multipolygons in that column and you need to set the column type to `geometry`:
```
{ column = 'geom', type = 'geometry' }
```
The documentation is misleading and maybe even wrong there and I will correct that.
--
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/1313#issuecomment-723862883
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201109/5ae8d7e9/attachment.htm>
More information about the Tile-serving
mailing list