NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

E.g.

https://www.openstreetmap.org/node/6358775424

Not found

but +1000

https://www.openstreetmap.org/node/6358776424

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

MY5DVrAr0e59...
11223
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 ♦
82.5k927201273
accept rate: 23%

Follow this question

By Email:

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

By RSS:

Answers

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:

×236
×205
×167
×55
×8

question asked: 04 Sep '22, 14:40

question was seen: 1,029 times

last updated: 04 Sep '22, 18:49

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum