mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[classif] Adds leisure=dance
- Used OSM carto's icon , its similar to other sport icons in OM - priority similar to leisure=sports_center - amenity=dancing_school seems to be already replaced with leisure=dance Signed-off-by: hemanggs <hemangmanhas@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
0a685dc1c4
commit
5092113459
@@ -4879,6 +4879,9 @@ fi:Koirapuisto
|
||||
he:גינת כלבים
|
||||
ja:ドッグラン
|
||||
|
||||
leisure-dance|amenity-dancing_school|@category_entertainment
|
||||
en:4Dance|Dancing school
|
||||
|
||||
leisure-garden
|
||||
en:3Garden
|
||||
ru:Сад
|
||||
|
||||
@@ -641,6 +641,9 @@
|
||||
<type id="leisure-sports_centre">
|
||||
<include group="poi_internet" />
|
||||
</type>
|
||||
<type id="leisure-dance">
|
||||
<include group="poi_internet" />
|
||||
</type>
|
||||
<!-- Not addable as mapping as a node is uncommon -->
|
||||
<type id="leisure-stadium" can_add="no">
|
||||
<include group="poi_internet" />
|
||||
|
||||
@@ -1250,7 +1250,7 @@ amenity|vending_machine|condoms;[amenity=vending_machine][vending=condoms];;name
|
||||
amenity|vending_machine|food;[amenity=vending_machine][vending=food];;name;int_name;1129;
|
||||
amenity|vending_machine|newspapers;[amenity=vending_machine][vending=newspapers];;name;int_name;1130;
|
||||
amenity|vending_machine|sweets;[amenity=vending_machine][vending=sweets];;name;int_name;1131;
|
||||
leisure|dance;1132;
|
||||
leisure|dance;[leisure=dance],[amenity=dancing_school];;;;1132;
|
||||
amenity|music_school;1133;
|
||||
amenity|language_school;1134;
|
||||
historic|city_gate;1135;
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 7 and column 16.
|
6
data/styles/default/dark/symbols/dance-m.svg
Normal file
6
data/styles/default/dark/symbols/dance-m.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<svg height="14" viewBox="0 0 14 14" width="14" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="dance-m" fill-rule="nonzero">
|
||||
<path style="fill:#777777;fill-opacity:1;stroke:none"
|
||||
d="M9.5 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2zm-5 2a.5.5 0 0 0-.22.95l2 1a.5.5 0 0 0 .57-.1l.78-.78.37.12v6.1l-1.85 1.85a.5.5 0 0 0 .7.7l2-2A.5.5 0 0 0 9 9.5V7.71l1.93 1.92-.9 2.7a.5.5 0 0 0 .31.64.5.5 0 0 0 .64-.32l1-3c.07-.23 0-.37-.12-.5L10 7.29V3.86l.14.05.89 1.85a.5.5 0 0 0 .68.23l2.02-1.05a.5.5 0 0 0 .22-.67.5.5 0 0 0-.68-.21l-1.56.8-.76-1.58a.5.5 0 0 0-.29-.26l-2.1-.69-.9-.3a.5.5 0 0 0-.51.11l-.75.75-1.67-.83A.5.5 0 0 0 4.5 2zM5 4.33 1 5.66V9a1 1 0 1 0 1 1V6.95l2-.67V8a1 1 0 1 0 1 1V4.33z" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 696 B |
@@ -1283,6 +1283,8 @@ node|z17-[leisure=fitness_station]
|
||||
node|z17-[leisure=sports_centre]
|
||||
node|z17-[leisure=sports_hall]
|
||||
{icon-image: pitch-m.svg;icon-min-distance: 10;}
|
||||
node|z17-[leisure=dance]
|
||||
{icon-image: dance-m.svg;icon-min-distance: 10;}
|
||||
node|z17-[leisure=fitness_centre]
|
||||
{icon-image: fitness_centre-m.svg;icon-min-distance: 10;}
|
||||
node|z17-[leisure=sauna]
|
||||
|
||||
@@ -923,7 +923,6 @@ healthcare-laboratory # icon z17- (also has captio
|
||||
healthcare-optometrist # icon z17- (also has caption(optional) z17-)
|
||||
healthcare-physiotherapist # icon z17- (also has caption(optional) z17-)
|
||||
healthcare-sample_collection # icon z17- (also has caption(optional) z17-)
|
||||
leisure-dance # caption z17-
|
||||
leisure-fitness_centre # icon z17- (also has caption(optional) z17-)
|
||||
leisure-hackerspace # icon z17- (also has caption(optional) z17-)
|
||||
leisure-sauna # icon z17- (also has caption(optional) z17-)
|
||||
@@ -1057,6 +1056,7 @@ landuse-recreation_ground # caption z15- (also has are
|
||||
leisure-recreation_ground # caption z17-
|
||||
leisure-sports_centre # icon z17- (also has caption(optional) z17-, area z15-)
|
||||
leisure-sports_hall # icon z17- (also has caption(optional) z17-)
|
||||
leisure-dance
|
||||
=== 1250
|
||||
|
||||
amenity-compressed_air # icon z18- (also has caption(optional) z19-)
|
||||
@@ -1998,6 +1998,7 @@ leisure-swimming_pool-private # icon z17- (also has captio
|
||||
# amenity-dojo # caption(optional) z18- (also has icon z17-)
|
||||
# leisure-sports_centre # caption(optional) z17- (also has icon z17-, area z15-)
|
||||
# leisure-sports_hall # caption(optional) z17- (also has icon z17-)
|
||||
# leisure-dance
|
||||
# === -8750
|
||||
|
||||
# amenity-compressed_air # caption(optional) z19- (also has icon z18-)
|
||||
|
||||
6
data/styles/default/light/symbols/dance-m.svg
Normal file
6
data/styles/default/light/symbols/dance-m.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<svg height="14" viewBox="0 0 14 14" width="14" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="dance-m" fill-rule="nonzero">
|
||||
<path style="fill:#717065;fill-opacity:1;stroke:none"
|
||||
d="M9.5 0a1 1 0 0 0 0 2 1 1 0 0 0 0-2zm-5 2a.5.5 0 0 0-.22.95l2 1a.5.5 0 0 0 .57-.1l.78-.78.37.12v6.1l-1.85 1.85a.5.5 0 0 0 .7.7l2-2A.5.5 0 0 0 9 9.5V7.71l1.93 1.92-.9 2.7a.5.5 0 0 0 .31.64.5.5 0 0 0 .64-.32l1-3c.07-.23 0-.37-.12-.5L10 7.29V3.86l.14.05.89 1.85a.5.5 0 0 0 .68.23l2.02-1.05a.5.5 0 0 0 .22-.67.5.5 0 0 0-.68-.21l-1.56.8-.76-1.58a.5.5 0 0 0-.29-.26l-2.1-.69-.9-.3a.5.5 0 0 0-.51.11l-.75.75-1.67-.83A.5.5 0 0 0 4.5 2zM5 4.33 1 5.66V9a1 1 0 1 0 1 1V6.95l2-.67V8a1 1 0 1 0 1 1V4.33z" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 696 B |
@@ -1057,6 +1057,7 @@ landuse-recreation_ground # caption z15- (also has are
|
||||
leisure-recreation_ground # caption z17-
|
||||
leisure-sports_centre # icon z17- (also has caption(optional) z17-, area z15-)
|
||||
leisure-sports_hall # icon z17- (also has caption(optional) z17-)
|
||||
leisure-dance
|
||||
=== 1250
|
||||
|
||||
amenity-compressed_air # icon z18- (also has caption(optional) z19-)
|
||||
@@ -2001,6 +2002,7 @@ leisure-swimming_pool-private # icon z17- (also has captio
|
||||
# amenity-dojo # caption(optional) z18- (also has icon z17-)
|
||||
# leisure-sports_centre # caption(optional) z17- (also has icon z17-, area z15-)
|
||||
# leisure-sports_hall # caption(optional) z17- (also has icon z17-)
|
||||
# leisure-dance
|
||||
# === -8750
|
||||
|
||||
# amenity-compressed_air # caption(optional) z19- (also has icon z18-)
|
||||
|
||||
@@ -2491,6 +2491,7 @@ UNIT_CLASS_TEST(TestWithClassificator, OsmType_SimpleTypesSmoke)
|
||||
{"leisure", "sauna"},
|
||||
{"leisure", "slipway"},
|
||||
{"leisure", "sports_centre"},
|
||||
{"leisure", "dance"},
|
||||
{"leisure", "stadium"},
|
||||
{"leisure", "swimming_pool"},
|
||||
{"leisure", "track"},
|
||||
|
||||
Reference in New Issue
Block a user