You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.
When a node (501609671) associated with a way (41113036) is moved, the way appears in Overpass's augmented diff output as though it changed (which its geometry did), e.g.
However, the only changeset visible in this fragment (2532203) is the changeset in which the way was originally created. As a result, osm-adiff-parser credits the original changeset (2532203) with the modification rather than the changeset which actually modified the geometry (54135745, per http://www.openstreetmap.org/node/501609671).
The clue here that the way shouldn't be credited to its original changeset is that version didn't change. Given that, it becomes necessary to look through the current augmented diff for entries corresponding to any of the referenced ways and use the associated changeset id as the target.
This is touched on indirectly by drolbr/Overpass-API#407. Addressing the problem upstream would likely involve including some indicator about which component was modified such as additional metadata for each nd ref (version, changeset, timestamp, etc.).
The text was updated successfully, but these errors were encountered:
See also OSM History Viewer.
By the way: History Viewer has a nice feature highlighting only the changed segments of a way (old red, new green), with unchanged segments in a different color (blue).
Examples
Four ways are shown, because their node refs changed and therefore they are included in the changeset, e.g.:
Last-Modified: Sat, 18 Nov 2017 10:18:40 GMT (curl --head .../53896180.json)
closed_at="2017-12-18T22:22:12Z" (example changeset 54743987 a month later)
--> Ok
Context
Achavi - when filtering for a specific changeset - includes a way if its versions are the same and one of its nodes is in the changeset.
This issue also applies to relations when members change their geometries:
Relations are considered as changed when their members have changed or one of its way members has changed by its members or coordinates or one of the node members has changed its coordinate. By contrast, changes on members of type relation don't propagate to their parent relations.
When a node (
501609671
) associated with a way (41113036
) is moved, the way appears in Overpass's augmented diff output as though it changed (which its geometry did), e.g.However, the only changeset visible in this fragment (
2532203
) is the changeset in which the way was originally created. As a result,osm-adiff-parser
credits the original changeset (2532203
) with the modification rather than the changeset which actually modified the geometry (54135745
, per http://www.openstreetmap.org/node/501609671).The clue here that the way shouldn't be credited to its original changeset is that
version
didn't change. Given that, it becomes necessary to look through the current augmented diff for entries corresponding to any of the referenced ways and use the associated changeset id as the target.This is touched on indirectly by drolbr/Overpass-API#407. Addressing the problem upstream would likely involve including some indicator about which component was modified such as additional metadata for each
nd
ref (version
,changeset
,timestamp
, etc.).The text was updated successfully, but these errors were encountered: