From b7d204e682301d8c9e6c79233a8e91e4f7b8b04b Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Tue, 30 Mar 2021 11:40:15 +0200 Subject: [PATCH] assume track to be a line when on a closed way fixes #2698 previously it was assumed to be an area when on closed way, and breaking when tagged as way without having explicit area tag now it will be assumed to be line, even when on closed way and breaking when tagged as area without having an explicit tag --- app/src/main/java/de/westnordost/streetcomplete/ktx/Element.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/de/westnordost/streetcomplete/ktx/Element.kt b/app/src/main/java/de/westnordost/streetcomplete/ktx/Element.kt index cc879847068..14ac2c38b2f 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/ktx/Element.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/ktx/Element.kt @@ -44,7 +44,7 @@ private val IS_AREA_EXPR = """ or (emergency and emergency !~ yes|no) or historic or landuse - or leisure + or (leisure and leisure != track) or office or place or public_transport