User:Helius/MoveSourceKeyToChangeset

From OpenStreetMap Wiki
Jump to navigation Jump to search

Takes the source tag of objects (currently only ways) and transfers it to the changeset, where it belongs according to the wiki as it is metadata specific to OpenStreetMap and not a property of the real-world object on the map.

The script splits changes up into multiple changesets so the source tag in the changeset fits the former source tag of the objects edited in this changeset. Additionally, the script performs some basic modifying of the source tag such as correcting typos and merging to standard tags defined on the wiki page.

The edits are performed by a semi-automated Python script but asks for confirmation of each change before it is uploaded.

The source code of the script can be found at Codeberg.