[classif] Adds amenity=love_hotel

- Can add a new heart icon , but not sure as this is kind of niche , for now used same icon as amenity=brothel, ( theres also shop=erotic that can be modified and used)

-  priority & icon rendering similar to amenity=brothel

Signed-off-by: hemanggs <hemangmanhas@gmail.com>
This commit is contained in:
hemanggs
2025-03-21 12:21:47 +05:30
committed by Konstantin Pastbin
parent 31d065846a
commit af00325a77
9 changed files with 16 additions and 1 deletions

View File

@@ -32,6 +32,7 @@
<string name="type.amenity.bicycle_repair_station">Bicycle Repair Station</string> <string name="type.amenity.bicycle_repair_station">Bicycle Repair Station</string>
<string name="type.amenity.biergarten">Biergarten</string> <string name="type.amenity.biergarten">Biergarten</string>
<string name="type.amenity.brothel">Brothel</string> <string name="type.amenity.brothel">Brothel</string>
<string name="type.amenity.love_hotel">Love Hotel</string>
<string name="type.amenity.bureau_de_change">Currency Exchange</string> <string name="type.amenity.bureau_de_change">Currency Exchange</string>
<string name="type.amenity.bus_station">Bus Station</string> <string name="type.amenity.bus_station">Bus Station</string>
<string name="type.amenity.cafe">Cafe</string> <string name="type.amenity.cafe">Cafe</string>

View File

@@ -5353,6 +5353,9 @@ sk:Nevestinec|verejný dom
sw:Danguro sw:Danguro
fa:فاحشه خانه|جنده خانه fa:فاحشه خانه|جنده خانه
amenity-love_hotel|@category_hotel
en:4Love Hotel|3Sex Hotel|4Adult Hotel
@gambling @gambling
en:Gambling en:Gambling
ar:القمار ar:القمار

View File

@@ -1185,6 +1185,9 @@
<type id="amenity-brothel" can_add="no"> <type id="amenity-brothel" can_add="no">
<include group="poi_internet" /> <include group="poi_internet" />
</type> </type>
<type id="amenity-love_hotel" can_add="no" group="accomodation">
<include group="poi_internet" />
</type>
<type id="amenity-stripclub" can_add="no"> <type id="amenity-stripclub" can_add="no">
<include group="poi_internet" /> <include group="poi_internet" />
</type> </type>

View File

@@ -679,7 +679,7 @@ deprecated|deprecated;559;x
deprecated|deprecated;560;x deprecated|deprecated;560;x
deprecated|deprecated;561;x deprecated|deprecated;561;x
deprecated|deprecated;562;x deprecated|deprecated;562;x
deprecated|deprecated;563;x amenity|love_hotel;563;
natural|lake;564;natural|water|lake natural|lake;564;natural|water|lake
power|plant;565; power|plant;565;
power|plant|solar;[power=plant][plant:source=solar];;name;int_name;566; power|plant|solar;[power=plant][plant:source=solar];;name;int_name;566;
Can't render this file because it contains an unexpected character in line 7 and column 16.

View File

@@ -1088,6 +1088,7 @@ node|z18-[amenity=brothel],
area|z18-[amenity=brothel], area|z18-[amenity=brothel],
node|z18-[amenity=stripclub], node|z18-[amenity=stripclub],
area|z18-[amenity=stripclub], area|z18-[amenity=stripclub],
node|z18-[amenity=love_hotel],
node|z18-[amenity=public_bookcase], node|z18-[amenity=public_bookcase],
area|z18-[amenity=public_bookcase], area|z18-[amenity=public_bookcase],
node|z19-[power=substation], node|z19-[power=substation],
@@ -1482,6 +1483,7 @@ node|z16-[amenity=nightclub],
area|z16-[amenity=nightclub] area|z16-[amenity=nightclub]
{icon-image: nightclub-m.svg;font-size: 11;} {icon-image: nightclub-m.svg;font-size: 11;}
node|z18-[amenity=love_hotel],
node|z18-[amenity=brothel], node|z18-[amenity=brothel],
area|z18-[amenity=brothel], area|z18-[amenity=brothel],
node|z18-[amenity=stripclub], node|z18-[amenity=stripclub],

View File

@@ -1107,6 +1107,7 @@ public_transport-platform # caption z17- (also has are
waterway-lock_gate # icon z16- waterway-lock_gate # icon z16-
=== 700 === 700
amenity-love_hotel
amenity-brothel # icon z18- (also has caption(optional) z18-) amenity-brothel # icon z18- (also has caption(optional) z18-)
amenity-casino # icon z17- (also has caption(optional) z17-) amenity-casino # icon z17- (also has caption(optional) z17-)
amenity-fire_station # icon z18- (also has caption(optional) z18-) amenity-fire_station # icon z18- (also has caption(optional) z18-)
@@ -2034,6 +2035,7 @@ leisure-swimming_pool-private # icon z17- (also has captio
# man_made-works # caption(optional) z17- (also has icon z16-) # man_made-works # caption(optional) z17- (also has icon z16-)
# === -9300 # === -9300
# amenity-love_hotel
# amenity-brothel # caption(optional) z18- (also has icon z18-) # amenity-brothel # caption(optional) z18- (also has icon z18-)
# amenity-casino # caption(optional) z17- (also has icon z17-) # amenity-casino # caption(optional) z17- (also has icon z17-)
# amenity-fire_station # caption(optional) z18- (also has icon z18-) # amenity-fire_station # caption(optional) z18- (also has icon z18-)

View File

@@ -1109,6 +1109,7 @@ public_transport-platform # caption z17- (also has are
waterway-lock_gate # icon z16- waterway-lock_gate # icon z16-
=== 700 === 700
amenity-love_hotel
amenity-brothel # icon z18- (also has caption(optional) z18-) amenity-brothel # icon z18- (also has caption(optional) z18-)
amenity-casino # icon z17- (also has caption(optional) z17-) amenity-casino # icon z17- (also has caption(optional) z17-)
amenity-fire_station # icon z18- (also has caption(optional) z18-) amenity-fire_station # icon z18- (also has caption(optional) z18-)
@@ -2039,6 +2040,7 @@ leisure-swimming_pool-private # icon z17- (also has captio
# man_made-works # caption(optional) z17- (also has icon z16-) # man_made-works # caption(optional) z17- (also has icon z16-)
# === -9300 # === -9300
# amenity-love_hotel
# amenity-brothel # caption(optional) z18- (also has icon z18-) # amenity-brothel # caption(optional) z18- (also has icon z18-)
# amenity-casino # caption(optional) z17- (also has icon z17-) # amenity-casino # caption(optional) z17- (also has icon z17-)
# amenity-fire_station # caption(optional) z18- (also has icon z18-) # amenity-fire_station # caption(optional) z18- (also has icon z18-)

View File

@@ -2196,6 +2196,7 @@ UNIT_CLASS_TEST(TestWithClassificator, OsmType_SimpleTypesSmoke)
{"amenity", "bicycle_rental"}, {"amenity", "bicycle_rental"},
{"amenity", "biergarten"}, {"amenity", "biergarten"},
{"amenity", "brothel"}, {"amenity", "brothel"},
{"amenity", "love_hotel"},
{"amenity", "bureau_de_change"}, {"amenity", "bureau_de_change"},
{"amenity", "bus_station"}, {"amenity", "bus_station"},
{"amenity", "cafe"}, {"amenity", "cafe"},

View File

@@ -33,6 +33,7 @@
"type.amenity.bicycle_repair_station" = "Bicycle Repair Station"; "type.amenity.bicycle_repair_station" = "Bicycle Repair Station";
"type.amenity.biergarten" = "Biergarten"; "type.amenity.biergarten" = "Biergarten";
"type.amenity.brothel" = "Brothel"; "type.amenity.brothel" = "Brothel";
"type.amenity.love_hotel" = "Love Hotel";
"type.amenity.bureau_de_change" = "Currency Exchange"; "type.amenity.bureau_de_change" = "Currency Exchange";
"type.amenity.bus_station" = "Bus Station"; "type.amenity.bus_station" = "Bus Station";
"type.amenity.cafe" = "Cafe"; "type.amenity.cafe" = "Cafe";