iD icon indicating copy to clipboard operation
iD copied to clipboard

control empty role of boundaries

Open Mahabarata opened this issue 2 years ago • 1 comments

Description

Hi,

currently, when a user creates a multipolygon and forgets to add a role to one or more members, iD shows a warning. This is a good thing if we read the wiki : https://wiki.openstreetmap.org/wiki/Relation:multipolygon = a member with no role is indicated as deprecated.

In the wiki, we find the same rule for boundaries : https://wiki.openstreetmap.org/wiki/Relation:boundary = a member with no role is also indicated as deprecated.

But ID shows no warning when a mapper forgets a role and sends to osm database a boundary relation with one or more members with an empty role.

Could you add a control on empty roles of boundary relations like the one for multipolygon relations ?

For your informations, there were more than 17,000 boundary relations with empty roles a few month ago. Yesterday, zero on a way. Today 5 relations with empty roles on a way = all have been created with ID.

Best regards

Screenshots

No response

Mahabarata avatar May 23 '22 17:05 Mahabarata

Some stats :

  • between the 30 May and the 7 July, 124 boundary relations with at least one member with an empty role have been created : 109 with iD, 11 with JOSM, 3 with RapiD and 1 with Vespucci
  • for these 124 boundaries, there were 293 members without role

List of these 124 relations, if needed : boundary empty2_res.csv

Mahabarata avatar Jul 14 '22 19:07 Mahabarata

Some stats :

  • between the 8 July (2022) and the 14 March (2023), 6678 nodes/ways/relations are in a boundary without a role (according to taginfo) : some of these elements can be counted several times if in seveval boundary relations
  • 6107 unique elements are at least in a boundary with no role : 3397 were created by JOSM, 2257 by iD

Mahabarata avatar Mar 15 '23 15:03 Mahabarata