diff --git a/data/core.yaml b/data/core.yaml index 68bd982f7..e02459336 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -500,6 +500,7 @@ en: other: "Split {n} features." not_eligible: Lines can't be split at their beginning or end. parent_incomplete: This line cannot be split because it is part of a larger relation which has only been partially loaded. Make sure that all ways connected to this way are present on the map. + simple_roundabout: This line cannot be split because this roundabout is part of a larger relation. You must remove it from the relation first. connected_to_hidden: This can't be split because it is connected to a hidden feature. restriction: annotation: diff --git a/modules/actions/split.js b/modules/actions/split.js index 8e3a51d90..2039bc3e9 100644 --- a/modules/actions/split.js +++ b/modules/actions/split.js @@ -428,6 +428,9 @@ export function actionSplit(nodeIds, newWayIds) { } } } + if (way.tags.junction === 'roundabout' && way.isClosed()) { + return 'simple_roundabout'; + } } } }