the content has been moved here: github.com/OSMPH/papercut_fix/issues/67
Draft update to the ticket
This ticket is for tracking the roll-back of several changesets which added admin_level relations from a source with an incompatible license.
This is a community initiative to clean-up the data, please add your name if you want to help.Someone from the mailinglist posted a query about admin boundaries in Alaminos City being dissimilar compared against their knowledge, and was inquiring for more information.
The question triggered a wider review of related edits, and after a re-examination and the contributor's corroboration, it is confirmed that the data source has an incompatible license for addition to OpenStreetmap. The contributor provided us a list of changesets related to these edits and requested for help with rolling back said edits.
revert.pl
script from osm-revert-scripts. @maningRolled-back because source data license is incompatible with OSM. For details: github.com/OSMPH/papercut_fix/issues/67
The data is available for "free" from various government websites, and states that they are free to use by the public under non-commercial terms. This is a commonly misinterpreted as "OK for importing to OpenStreetMap" by users. As a community, we decided in the past that unless there is explicit permission or a waiver of rights from data owners under such license, we should not add them in OSM.
We wish to emphasize that we found no malicious intent by the contributor, as determined in our private conversations with them. The technical aspect of the edits is good, but the misunderstanding about the license is unfortunate.
The DWG will be advised of the on-going effort, however, as a commmunity, we prefer this review and clean-up process to be done by the local volunteers. As a local community, we should be able to respond to such incidents, and avoid burdening the DWG unecessarily, especially if issues can be addressed at the local level.
A separate OSM account (OSMPilipinas-PaperCut-Fix
) will be used for the roll-back.
We did a couple of simulated roll-back, in most cases, there will be a clean roll-back.
However, in the small chance that any other contributions are inadvertently affected, we hope to ensure the data integrity through a manual review of changesets by volunteers after the roll-back operations.
Please use the changeset discussions, to discuss specific issues related to any affected changeset.
tl;dr We go manual this time.
Review all admin relations by municipality/city. Manually delete relations and its members that came from incompatable source.
type:relation admin_level=10
.untagged -child
place
nodes added from an invalid source. There may be cases where you only need to delete tags, and not the element itself. Common scenarios are the following:Image | Scenario/Action |
---|---|
v1 came from incompatible source. Action: Delete the place node. |
|
v8 and later contain incompatible source. Action: Fix tags to retain v7 information, such as: - adding back is_in (red); - removing admin_level , admin_type:ph , ref (green); - modify source (beige). |
|
Place node moved to a new location. Action: The Coordinates within the History dialog shows the difference of location for each changeset. Move back the location to desired version (v7) by: - dragging the node in the main map or; - use the Move node tool (Tool > Move) by copying the coordinates from v7. |
Rolled-back because source data license is incompatible with OSM. For details: github.com/OSMPH/papercut_fix/issues/67
Work on provincial and regional boundaries. Replicate the boundaries using Wikimedia Maps
Select a geographic area from Phase 2 tracker spreadhseet. Make sure that provincial relations has been fixed, before tackling the region relation. Update the status to In progress. Refer to a map, and ensure that you are working on a relation with no shared boundary to a task in progress.
With JOSM open, and Remote Control enabled, click on the "RC for PCs" link to load the whole relation. Avoid using the older link that loads the relation via Overpass Turbo, which may not be a fresh version.
Find and delete nodes and ways wholy added by VMPanes using the following JOSM search filters. Expect relations to break when you do this, which you need to fix afterwards.
type:node version:1 user:VMPanes
.type:way user:VMPanes
Use the Wikipedia Maps layer to reconstruct the boundary geometry to the previous version.
Find ways that were part of the original relation before March, and recycle them.
Once the relation is whole again, run validation and fix and resolve any validation issues you may find. Resolve conflicts with elements deleted in your changeset, in favor of your version. Expect other relations to break. Take note of these relations and work on them afterwards.
Upload your changes using the changeset comment:
Replicate pre-March 2020 boundary geometry, due to rolled back elements coming from OSM incompatible data source. May break relations‼ For details, see: github.com/OSMPH/papercut_fix/issues/67
Mark your task in the spreadsheet as Fixed. Add notes in the spreadsheet, as may be needed.
Select all barangay relation.
prepare query for municipality parent/child relations
after completion of all muni-level boundaries, proceed with provinces, and then the regional boundary.
do not delete ways with other tags
place=village type:node timestamp:2020-03-01/
type:node admin_level=10
Needs refinement. This isn't a clean-cut approach for place nodes that was added by others and later modifed with incompatible data. Needs manual review of history, per element. Erwin