Skip to content

Commit

Permalink
Add support to emergency=phone and emergency=fire_extinguisher.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed Nov 14, 2023
1 parent 91826c4 commit 6d6fa65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions layers/poi/class.sql
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ RETURNS TEXT AS $$
WHEN subclass IN ('castle','ruins') THEN 'castle'
when subclass IN ('bank', 'bureau_de_change', 'atm') THEN 'bank'
WHEN mapping_key IN ('door', 'entrance') THEN 'entrance'
WHEN mapping_key IN ('exhibit') THEN mapping_key
WHEN mapping_key IN ('craft') THEN mapping_key
WHEN mapping_key IN ('aeroway') THEN mapping_key
when mapping_key IN ('emergency', 'exhibit', 'craft', 'aeroway') THEN mapping_key
END;
$$ LANGUAGE SQL IMMUTABLE;
2 changes: 2 additions & 0 deletions layers/poi/mapping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,8 @@ def_poi_door: &poi_mapping_door
# Emergency values , see https://taginfo.openstreetmap.org/keys/emergency#values
def_poi_emergency: &poi_mapping_emergency
- defibrillator
- phone
- fire_extinguisher

def_poi_fields: &poi_fields
- name: osm_id
Expand Down

0 comments on commit 6d6fa65

Please sign in to comment.