Using OSMCha for inspecting changes in OpenStreetMap
This part of the Mapbox OpenStreetMap validation guide focuses on the specific use of OSMCha to identify and investigate problematic edits.
OSM Changeset Analyzer or OSMCha is a tool to filter and analyze changesets on OpenStreetMap using the changeset metadata. The tool has a live listing of every changeset on the map, flags potentially suspicious edits and has various filters to find changesets that match a certain criteria.
Latest changesets listed in OSMCha
The changeset is shown with id, date and time of creation, OSM user, creations in green, modification in yellow, deletions in red, a keyword describing if the changeset fits any set behaviors along with a cross mark to signify that the changeset is unreviewed.
The filters available in OSMCha allow various combination of searches to help find problematic edits.
OSMCha filter dialog
OSMCha automatically tags changeset with certain parameters like Mass creations
or Possible import
.
Filter based on automatic flagging
OSMCha uses Changeset map to visually represent the features that were added, modified and deleted along with tag changes. This help check the quality of the edits for obvious mistakes.
A changeset showing a object that incorrectly made into a circle
Inexperienced users, deletions and imports
- Edits from Maps.me editor
- Mass deletions
- Mass deletions + iD editor
- Mass modifications + iD editor
- Mass creations + iD editor/ Possible import
Strategy for filters
-
iD editor is targeted towards simple editing from new users and any advanced editing happens in JOSM. So, if a mass deletion takes place using iD editor, there is a probability that the user could be inexperienced and the deletions unreasonable. Example harmful changeset
-
Maps.me users tend to be new to OSM. It is suggested to look for changesets that added unreasonable amount of similar POIs in one area. This could be due to lack experience of the user in mapping coupled with lack of amenities available through the app preset. Example harmful changeset
Edits from Maps.me editor are automatically uploaded through the app. The app generates an automatic changeset comment based on the kind of amenities that were added. Filtering Maps.me edits with most creations first as sort order helped us in finding most of the bad edits from Maps.me users so far.
- This is similar to the first assumption. Mass modifications using iD editor could be a suspicious changeset. Mass modification could be 2 scenarios. When the user modifies tags of a long way(coastline, administrative boundaries,long motorway...) and polygons, these edits are registered to the way/polygon and all the nodes in the feature object.
The second scenario is when the user changes geometry of an object on OSM, even though only one node is added the whole way/polygon is updated to be modified. Example harmful changeset
-
Mass creations can also be coupled with iD editor in the filters. The idea is to review changesets which have most creations and see if all the editions fall under the OSM editing standards and conventions. Example harmful changeset
-
Sometimes, we were able to detect suspicious changesets by going through reason filters such as
edited an object with a significant place tag
, 'edited an object with a significant tag',edited a wikipedia landmark
. Example harmful changeset -
Clever acts of vandalism are hard to detect as the changesets may not be big. We can verify these modifications to
name
tags, deletion of tags from small changesets that are iD editor contributions or through random search in OSMCha. Example harmful changeset 1, 2.
There are certain keywords we have stored to quickly look through changesets that have these words in the changeset comments. For example: Google, Cuss words.
Community is very active in finding and commenting on suspicious changesets. If the edits in the changesets are destructive to the map, community informs DWG, DWG reverts these changesets with a changeset comment.
-
Using Keywords
- Using keywords such as
revert
,cleanup
,fix
in changeset comment filter, we can find most of the changesets community has taken action on. This list in OSMCha includes fixes, reverts DWG as well.
- Using keywords such as
-
Using OSM - comments
- OSM-comments API allows querying changesets with specific parameters
- Link to see changeset comments from all users in OSM - URL for webview
Currently there is no direct way of using OSM-Comments-API to see all the changesets on which DWG members have commented. Issue #44
Finding reverts by DWG
Finding DWG reverts using OSMCha
-
OSMCha allows us to query changesets from specific users.
-
We can query all changesets from revert accounts of DWG members such Woodpeck_repair, pnorman_mechanical etc.
See more about the full validation workflow here.