Why not ask your question on the new OpenStreetMap Community Forum?

Why some number of element id keep empty even the greater number has been used



Not found

but +1000


Is used, as one node that part of the way with id 679072985, tagged as barrier=hedge by Ninjoh on 2019-03-24T17:46:52Z

Why some number keep from uses? Thanks for explaining.

asked 04 Sep '22, 14:40

MY5DVrAr0e599Japan's gravatar image

accept rate: 0%

This is an internal implementation detail in the way PostgreSQL manages its unique sequences. Sometimes new IDs are assigned but then not used e.g. because of a transaction rollback or other technical reasons. Therefore, our documentation makes no assurances about IDs other than that they are unique. They can have gaps, and it can even be possible that an object with a smaller ID is created after an object with a larger ID.

permanent link

answered 04 Sep '22, 18:49

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 04 Sep '22, 14:40

question was seen: 639 times

last updated: 04 Sep '22, 18:49

powered by OSQA