[classif] Add emergency-mountain_rescue

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin 2025-01-30 11:10:22 +03:00
parent 944a61a52c
commit 16cae17c50
8 changed files with 26 additions and 1 deletions

View file

@ -15761,6 +15761,9 @@ mr:अग्निशामक नाळ|फायर हायड्रंट
emergency-lifeguard
en:Lifeguard|lifesaver
emergency-mountain_rescue
en:Mountain Rescue Station
leisure-fitness_station
en:3Fitness Station|street workout
ru:4Спортивные снаряды

View file

@ -587,7 +587,7 @@ man_made|communications_tower;472;
man_made|petroleum_well;[man_made=petroleum_well],[man_made=gas_well];;;;473;
natural|grassland;474;
emergency|lifeguard;475;
deprecated|deprecated;476;x
emergency|mountain_rescue;476;
aerialway|platter;477;
deprecated|deprecated;478;x
deprecated|deprecated;479;x

Can't render this file because it contains an unexpected character in line 7 and column 16.

View file

@ -11908,6 +11908,9 @@
comment = A place where a lifeguard is on duty.
en = Lifeguard
[type.emergency.mountain_rescue]
en = Mountain Rescue Station
[type.entrance]
comment = This is for secondary entrances, for main entrances see type.entrance.main
en = Entrance

View file

@ -951,6 +951,7 @@ node|z16-[amenity=events_venue],
area|z16-[amenity=events_venue],
node|z16-[amenity=exhibition_centre],
area|z16-[amenity=exhibition_centre],
node|z16-[emergency=mountain_rescue],
node|z17-[amenity=pharmacy],
area|z17-[amenity=pharmacy],
node|z17-[amenity=clinic],
@ -1707,6 +1708,10 @@ area|z18-[emergency=assembly_point]
node|z17-[emergency=lifeguard],
{icon-image: lifeguard-m.svg; font-size: 11;}
/* TODO: a better icon? */
node|z16-[emergency=mountain_rescue],
{icon-image: hospital-m.svg; font-size: 11;}
node|z17-[office=lawyer],
area|z17-[office=lawyer]
{icon-image: lawyer-m.svg;}

View file

@ -408,6 +408,7 @@ amenity-pub # icon z15- (also has captio
amenity-shelter-basic_hut # icon z16- (also has caption(optional) z16-)
amenity-shelter-lean_to # icon z16- (also has caption(optional) z16-)
emergency-mountain_rescue
tourism-wilderness_hut # icon z16- (also has caption(optional) z16-)
=== 3900

View file

@ -201,6 +201,7 @@ node|z11-[tourism=alpine_hut],
area|z11-[tourism=alpine_hut],
node|z13-[tourism=wilderness_hut],
area|z13-[tourism=wilderness_hut],
node|z12-[emergency=mountain_rescue],
node|z13-[tourism=viewpoint],
node|z14-[tourism=chalet],
area|z14-[tourism=chalet],
@ -439,3 +440,13 @@ node|z14-[emergency=lifeguard],
{icon-image: lifeguard-m.svg; font-size: 11;}
node|z16-[emergency=lifeguard],
{font-size: 12;}
/* TODO: a better icon? */
node|z12-[emergency=mountain_rescue],
{icon-image: hospital-s.svg;}
node|z13-[emergency=mountain_rescue],
{font-size: 11;}
node|z14-[emergency=mountain_rescue],
{icon-image: hospital-m.svg;}
node|z16-[emergency=mountain_rescue],
{font-size: 12;}

View file

@ -408,6 +408,7 @@ amenity-pub # icon z15- (also has captio
amenity-shelter-basic_hut # icon z12- (also has caption(optional) z13-)
amenity-shelter-lean_to # icon z12- (also has caption(optional) z13-)
emergency-mountain_rescue
tourism-wilderness_hut # icon z12- (also has caption(optional) z13-)
=== 3900

View file

@ -2388,6 +2388,7 @@ UNIT_CLASS_TEST(TestWithClassificator, OsmType_SimpleTypesSmoke)
{"emergency", "defibrillator"},
{"emergency", "fire_hydrant"},
{"emergency", "lifeguard"},
{"emergency", "mountain_rescue"},
{"emergency", "phone"},
{"fee", "no"},
{"fee", "yes"},