omniscale / imposm3

Imposm imports OpenStreetMap data into PostGIS
http://imposm.org/docs/imposm3/latest/
Apache License 2.0
723 stars 158 forks source link

Update docs about ID construction #240

Open zbycz opened 4 years ago

zbycz commented 4 years ago

https://imposm.org/docs/imposm3/latest/mapping.html#id - it says that:

The ID of the OSM node, way or relation. Relation IDs are negated (-1234 for ID 1234) to prevent collisions with way IDs.

As said in https://github.com/omniscale/imposm3/issues/239 the logic is more like

olt commented 4 years ago

This only applies to use_single_id_space which itself is an undocumented feature.