Skip to content

Commit

Permalink
fire hydrant diameter: add luxembourg and austria, they have the same…
Browse files Browse the repository at this point in the history
… sign as germany
  • Loading branch information
westnordost committed Jan 26, 2024
1 parent 27cf338 commit e0e1b04
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ class AddFireHydrantDiameter : OsmFilterQuestType<FireHydrantDiameterAnswer>() {

/* NOTE: if any countries that (sometimes) use anything else than millimeters as hydrant
diameters are added, the code in the form needs to be adapted */
override val enabledInCountries = NoCountriesExcept("DE", "BE", "GB", "PL", "IE", "FI", "NL")
// source: https://commons.wikimedia.org/wiki/Category:Fire_hydrant_signs_by_country
override val enabledInCountries = NoCountriesExcept(
"DE", "BE", "LU", "AT",
"GB", "IE",
"PL",
"FI",
"NL"
)

override fun getTitle(tags: Map<String, String>) = R.string.quest_fireHydrant_diameter_title

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class AddFireHydrantDiameterForm : AbstractOsmQuestForm<FireHydrantDiameterAnswe
}

private fun getHydrantDiameterSignLayoutResId(countryCode: String): Int = when (countryCode) {
"DE", "BE" -> R.layout.quest_fire_hydrant_diameter_sign_de
"DE", "BE", "LU", "AT" -> R.layout.quest_fire_hydrant_diameter_sign_de
"FI" -> R.layout.quest_fire_hydrant_diameter_sign_fi
"NL" -> R.layout.quest_fire_hydrant_diameter_sign_nl
"PL" -> R.layout.quest_fire_hydrant_diameter_sign_pl
Expand Down

0 comments on commit e0e1b04

Please sign in to comment.