Skip to content

Commit

Permalink
Do not ask for building+roof levels if building:levels + roof:height …
Browse files Browse the repository at this point in the history
…is specified or height + roof:height (fixes #5996)
  • Loading branch information
westnordost committed Oct 31, 2024
1 parent 5b905ba commit 7e3cb54
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ class AddBuildingLevels : OsmFilterQuestType<BuildingLevelsAnswer>() {
ways, relations with
building ~ ${BUILDINGS_WITH_LEVELS.joinToString("|")}
and (
!building:levels
or !roof:levels and roof:shape and roof:shape != flat
!building:levels
or !roof:levels and !roof:height and roof:shape and roof:shape != flat
)
and !(height and roof:height)
and !building:min_level
and !man_made
and location != underground
Expand Down

0 comments on commit 7e3cb54

Please sign in to comment.