This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Origin of changesets for contributions made prior to API 0.6

2

Hi, I understand that the concept of changeset appeared with API 0.6 in April 2009. However, when querying the API, changesets exist prior to this date.

  • How did these changesets created?
  • How did the information they contain retrieved?

Thanks

asked 23 Mar '17, 18:49

jfd553's gravatar image

jfd553
389202332
accept rate: 0%


One Answer:

6

If you can read C++, the code that was carried out to "migrate" the database from its original form to one with changesets is at https://svn.openstreetmap.org/applications/utils/misc/api06_migrate/. Specifically:

answered 23 Mar '17, 19:27

Richard's gravatar image

Richard ♦
30.9k44279412
accept rate: 18%

edited 23 Mar '17, 19:28

2

Thanks! I should be able to read the code. Anyway, the basic logic of applying changesets' capabilities on each users' edits is clever :-)

(23 Mar '17, 21:05) jfd553

Source code available on GitHub .