[Tile-serving] [openstreetmap/osm2pgsql] Add unique constraint for geometry tables (#873)

Michael Reichert notifications at github.com
Fri Oct 12 09:27:42 UTC 2018


Many users don't need a unique ID column and would be bothered by it because it wastes a lot of space for a useless number.

`osm_id` is not unique if you import without `--multi-geometry` because osm2pgsql then splits up multipolygon (OGC term here) geometries into simple polygon geometries.

-- 
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/873#issuecomment-429264266
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20181012/9e835929/attachment.html>


More information about the Tile-serving mailing list