Skip to content

Commit

Permalink
Add hot spring POI type
Browse files Browse the repository at this point in the history
  • Loading branch information
cdauth committed Nov 16, 2024
1 parent 1ad1b67 commit e50bb15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions leaflet/src/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"gallery": "Gallerie",
"heritage": "Kulturerbe",
"historic": "Historisch",
"hotspring": "Heiße Quelle",
"touristinformation": "Information",
"monument": "Monument/Gedenkstätte",
"monumentaltree": "Monumentaler Baum",
Expand Down
1 change: 1 addition & 0 deletions leaflet/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"gallery": "Gallery",
"heritage": "Heritage",
"historic": "Historic",
"hotspring": "Hot spring",
"touristinformation": "Information",
"monument": "Monument/memorial",
"monumentaltree": "Monumental Tree",
Expand Down
1 change: 1 addition & 0 deletions leaflet/src/overpass/overpass-presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export function getAllOverpassPresets(): OverpassPresetCategory[] {
{ key: "heritage", query: "(node[heritage];way[heritage];rel[heritage];)", label: i18n.t("overpass-presets.heritage") },
// Check for all historic tags but exclude those that already have their own
{ key: "historic", query: "(node[historic][historic!~'memorial|monument|statue|castle'];way[historic][historic!~'memorial|monument|statue|castle'];rel[historic][historic!~'memorial|monument|statue|castle'];)", label: i18n.t("overpass-presets.historic") },
{ key: "hotspring", query: "nwr[natural=hot_spring]", label: i18n.t("overpass-presets.hotspring") },
{ key: "touristinformation", query: "(node[tourism=information];way[tourism=information];)", label: i18n.t("overpass-presets.touristinformation") },
{ key: "monument", query: "(node[historic~'^monument$|^memorial$'];way[historic~'^monument$|^memorial$'];rel[historic~'^monument$|^memorial$'];)", label: i18n.t("overpass-presets.monument") },
{ key: "monumentaltree", query: "(node[natural=tree][monument=yes];)", label: i18n.t("overpass-presets.monumentaltree") },
Expand Down

0 comments on commit e50bb15

Please sign in to comment.