OSM History Viewer

From OpenStreetMap Wiki
(Redirected from History Viewer)
Jump to: navigation, search
Help
Available languages
Deutsch English Italiano

OSM History Viewer (available on http://osmhv.openstreetmap.de/) is a change monitoring and debugging tool to visualise the changes in a single changeset and to analyse the history of a relation.

Contents

Features

Changeset visualisation

With OSM History Viewer, you can visualise the changes that were made in one changeset compared to what things looked like before. It shows all tags that have been removed or added to elements and visualises how nodes and ways have been modified, moved, created or removed. Later it will also be possible to see how a relation was changed in the changeset.

To visualise the changes, all ways affected by the changeset are turned into 'segments', where one segment represents the connection of two nodes. Each segment is then analysed to determine whether it was moved, created or deleted in that changeset. If a segment, or its location only existed before the commit, it is marked red on a map. If a segment, or its location only exists after the commit, it will be marked green. If a segment did not change, it will be marked blue.

This method has the following effects on the visualisation:

This method has the great advantage over the simple displaying of the changeset content that you can see how the objects on the map actually have changed (and not how their data representation in the OSM database has changed).

Relation Blame

With “Relation Blame” you can find out which part of a relation has been added to it by whom. The relation (including all its sub-relations) is split into segments (segments being connections between two nodes) and then the history is searched for the first occurrence of these segments in the relation. By this you can find out who added a certain part to the relation in which changeset (and them “blame” him ;-)). This segment-based method has the big advantage that people just splitting ways will not appear to have added a way to the relation (even though they technically did). A “wrong” author might still be displayed though if someone added some nodes to a way of the relation (for example by connecting another way to it or by improving its accuracy).

Easy ways to use OSM History User

Greasemonkey script

On [1] there is a Greasemonkey script that adds links to OSM History Viewer to the relation and changeset pages on www.openstreetmap.org. That script is currently broken in opera/chrome. Fixed version

Bookmarklet

Create a bookmark on your browser, with the following code as url:

javascript:a=document.location.href.split('/');if(a[2]+a[3]+a[4]=='www.openstreetmap.orgbrowsechangeset'){document.location.href='%20http://osm.cdauth.de/history-viewer/changeset.php?id='+a[5]}else{alert('This%20is%20not%20a%20valid%20OSM%20changeset%20page.')%20}

Then, by clicking on the new bookmark while visiting a changeset page such as 6798641, you will be redirected to the "OSM History Viewer" analysis page for that changeset. (Credits to Eugine).

Source code

The source code is available under AGPL-3 on [2]. The project is maintained by User:Candid Dauth.

Bugs

A bugtracker is available on bugs.cdauth.eu. Bugs Reports and Features Requests can be submitted there.

Screenshot & example

This is how Changeset 6798641 looks in OSM History Viewer. OSM History Viewer- Changeset 6798641.png

Personal tools
Namespaces
Variants
Actions
site
Toolbox