Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs about ID construction #240

Open
zbycz opened this issue Apr 24, 2020 · 1 comment
Open

Update docs about ID construction #240

zbycz opened this issue Apr 24, 2020 · 1 comment

Comments

@zbycz
Copy link

zbycz commented Apr 24, 2020

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 #239 the logic is more like

  • node = positive,
  • way negative
  • and relation negative < - 1e17.
@olt
Copy link
Member

olt commented Apr 24, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants