Problematic feature and changeset edits on OpenStreetMap
Setup
git clone git@github.com:mapbox/harmful-osm-edits.git
cd harmful-osm-edits
npm install
./generate-feature-fixture.js --type node --id 3352016856 --version 21
./generate-feature-fixture.js --type featureType --id featureId --version featureVersion
./generate-changeset-fixture.js --changeset changesetId
Format
Feature
{
"description": "Description of what makes this feature edit problematic",
"newVersion": "Feature that was problematic",
"oldVersion": "Version of feature before the problematic change"
}
Changeset
[
{
"oldVersion": "old Version for feature 1 of the changeset",
"newVersion: "new Version for feature 1 of the changeset"
},
{
"oldVersion": "old Version for feature 2 of the changeset",
"newVersion: "new Version for feature 2 of the changeset"
}
.
.
.
]
Example
An ideal feature fixture with a great description
, newVersion
and oldVersion
: node-3352016856-21.json
Example fixture for changeset : 46645754.json