adiffs.osmcha.org

This is a web service providing augmented diffs for OpenStreetMap changesets. An augmented diff is an XML file that describes the edits performed in a particular changeset. Unlike the osmChange format used by the openstreetmap.org API, augmented diffs contain both the old and new versions of modified elements, and are augmented (hence the name) with additional context about related elements, like parent ways of modified nodes or members of modified relations.

How to use

Changeset-aligned adiffs are found at https://adiffs.osmcha.org/changesets/<CHANGESET_ID>.adiff. For example: https://adiffs.osmcha.org/changesets/160415129.adiff. Changeset-aligned adiffs contain the complete set of changes for a specific changeset, and are useful for visualizing or analyzing a given changeset.

Replication-aligned adiffs are also available at https://adiffs.osmcha.org/replication/minute/<SEQNO>.adiff. For example: https://adiffs.osmcha.org/replication/minute/6429815.adiff (which corresponds to https://planet.openstreetmap.org/replication/minute/006/449/815.osc.gz). Replication-aligned adiffs contain changes from many different changesets which occurred during the same minute, and may not contain complete changesets, so they are likely to only be useful for specialized purposes.

Availability

This service was developed to support OSMCha, a changeset viewer and validation tool for OpenStreetMap. OSMCha is a Charter Project of OpenStreetMap US, a 501(c)(3) nonprofit organization that aims to grow and support the OpenStreetMap community in the United States and beyond. OpenStreetMap US provides financial support for OSMCha development and infrastructure.

The adiffs.osmcha.org service is free to use for low-volume noncommercial purposes. If you would like to build an application which depends on the service or make high-volume use of it, please contact team at openstreetmap dot us about the Community Projects program or Organizational Membership.

License

Data from the OpenStreetMap project is licensed under ODbL. This includes data from openstreetmap.org and planet.openstreetmap.org. It also includes data provided by the adiffs.osmcha.org service.