Skip to content

Commit

Permalink
Add cave POI type
Browse files Browse the repository at this point in the history
  • Loading branch information
cdauth committed Dec 21, 2024
1 parent de2996c commit b2d8e9a
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 @@ -73,6 +73,7 @@
"attraction": "Attraktion",
"casino": "Kasino",
"castle": "Burg",
"cave": "Höhle",
"gallery": "Gallerie",
"heritage": "Kulturerbe",
"historic": "Historisch",
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 @@ -73,6 +73,7 @@
"attraction": "Attraction",
"casino": "Casino",
"castle": "Castle",
"cave": "Cave",
"gallery": "Gallery",
"heritage": "Heritage",
"historic": "Historic",
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 @@ -71,6 +71,7 @@ export function getAllOverpassPresets(): OverpassPresetCategory[] {
{ key: "attraction", query: "(node[tourism=attraction];way[tourism=attraction];rel[tourism=attraction];)", label: i18n.t("overpass-presets.attraction") },
{ key: "casino", query: "(node[leisure=casino];way[leisure=casino];rel[leisure=casino];)", label: i18n.t("overpass-presets.casino") },
{ key: "castle", query: "(node[historic=castle];way[historic=castle];rel[historic=castle];)", label: i18n.t("overpass-presets.castle") },
{ key: "cave", query: "nwr[natural=cave_entrance]", label: i18n.t("overpass-presets.cave") },
{ key: "gallery", query: "(node[tourism=gallery];way[tourism=gallery];rel[tourism=gallery];)", label: i18n.t("overpass-presets.gallery") },
{ 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
Expand Down

0 comments on commit b2d8e9a

Please sign in to comment.