[styles][indexer] add bowling_alley

also deprioritises 9/10pin in indexer
Signed-off-by: Harry Bond <endim8@pm.me>
This commit is contained in:
Harry Bond 2022-12-24 00:27:19 +00:00 committed by Viktor Govako
parent 598337ffb3
commit 99c759969b
7 changed files with 108 additions and 1 deletions

View file

@ -4185,6 +4185,46 @@ sk:3Kino
sw:4Sinema|burudani
fa:سینما
leisure-bowling_alley|@entertainment
en:4Bowling Alley
ar:ﺞﻨﻴﻟﻮﺑ ﺔﻟﺎﺻ
be:Боўлінг
bg:Боулинг писта
ca:Bolera
cs:Bowlingová dráha
da:Bowling bane
de:Bowlingbahn
el:Αίθουσα σφαιρίσεως
es:Bolera
et:Bowlingusaal
eu:Bolatokia
fa:ﮓﻨﯿﻟﻮﺑ ﻦﻟﺎﺳ
fi:Keilarata
fr:Salle de bowling
he:גנילואב םלוא
hu:Tekepálya
id:Arena Bowling
it:Sala da bowling
ja:ボーリング場
ko:볼링장
mr:गोलंदाजी गल्ली
nb:Bowlinghall
nl:Bowlingbaan
pl:Kręgielnia
pt:Pista de bowling
pt-BR:Pista de boliche
ro:Popicărie
ru:4Боулинг
sk:Bowlingová dráha
sv:Bowlinghall
sw:Njia ya Bowling
th:ลานโบว์ลิ่ง
tr:Bowling pisti
uk:Боулінг
vi:Sân chơi bowling
zh-Hans:保龄球馆
zh-Hant:保齡球館
amenity-theatre|@entertainment
en:4Theatre|U+1F3AD
en-US:4Theater

View file

@ -434,7 +434,7 @@ amenity|waste_transfer_station;433;
historic|battlefield;434;
deprecated|deprecated;435;x
sport|australian_football;436;
deprecated|deprecated;437;x
leisure|bowling_alley;437;
deprecated|deprecated;438;x
deprecated|deprecated;439;x
deprecated|deprecated;440;x

Can't render this file because it has a wrong number of fields in line 11.

View file

@ -1121,6 +1121,46 @@
zh-Hans = 电影院
zh-Hant = 電影院
[type.leisure.bowling_alley]
en = Bowling Alley
ar = ﺞﻨﻴﻟﻮﺑ ﺔﻟﺎﺻ
be = Боўлінг
bg = Боулинг писта
ca = Bolera
cs = Bowlingová dráha
da = Bowling bane
de = Bowlingbahn
el = Αίθουσα σφαιρίσεως
es = Bolera
et = Bowlingusaal
eu = Bolatokia
fa = ﮓﻨﯿﻟﻮﺑ ﻦﻟﺎﺳ
fi = Keilarata
fr = Salle de bowling
he = גנילואב םלוא
hu = Tekepálya
id = Arena Bowling
it = Sala da bowling
ja = ボーリング場
ko = 볼링장
mr = गोलंदाजी गल्ली
nb = Bowlinghall
nl = Bowlingbaan
pl = Kręgielnia
pt = Pista de bowling
pt-BR = Pista de boliche
ro = Popicărie
ru = Боулинг
sk = Bowlingová dráha
sv = Bowlinghall
sw = Njia ya Bowling
th = ลานโบว์ลิ่ง
tr = Bowling pisti
uk = Боулінг
vi = Sân chơi bowling
zh-Hans = 保龄球馆
zh-Hant = 保齡球館
[type.amenity.clinic]
en = Clinic
ar = عيادة

View file

@ -184,6 +184,10 @@ node|z18-[sport=equestrian],
area|z18-[sport=equestrian],
node|z18-[sport=climbing],
area|z18-[sport=climbing],
node|z18-[sport=9pin],
area|z18-[sport=9pin],
node|z18-[sport=10pin],
area|z18-[sport=10pin],
node|z18-[sport=chess],
area|z18-[sport=chess],
{z-index: 2440;}
@ -323,6 +327,8 @@ node[amenity=courthouse],
area[amenity=courthouse],
node[amenity=cinema],
area[amenity=cinema],
node[leisure=bowling_alley],
area[leisure=bowling_alley],
node[amenity=nightclub],
area[amenity=nightclub],
node[amenity=police],
@ -1478,6 +1484,8 @@ node|z17-[amenity=school],
area|z17-[amenity=school],
node|z17-[amenity=cinema],
area|z17-[amenity=cinema],
node|z17-[leisure=bowling_alley],
area|z17-[leisure=bowling_alley],
node|z17-[amenity=police],
area|z17-[amenity=police],
node|z17-[amenity=prison],
@ -2030,6 +2038,13 @@ node|z18-[amenity=cinema],
area|z18-[amenity=cinema]
{font-size: 11;text-optional: true;}
node|z17-[leisure=bowling_alley],
area|z17-[leisure=bowling_alley],
{icon-image: bowling_alley-m.svg;text-optional: true;}
node|z18-[leisure=bowling_alley],
area|z18-[leisure=bowling_alley],
{font-size: 11;text-optional: true;}
node|z17-[amenity=police],
area|z17-[amenity=police]
{icon-image: police-m.svg;text-optional: true;}

View file

@ -0,0 +1,5 @@
<svg version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<circle id="Oval" cx="12" cy="12" r="12" fill="#ffffff" opacity=".6"/>
<circle cx="12" cy="12" r="11" fill="#8c5f93"/>
<path d="m17.814453 3.8535156c-.603341-.0348572-1.292607.2159125-1.726562.7011719-1.070067 1.1965695-.839929 1.9874104-.775391 3.5136719.02518.16606.05859.5019531.05859.5019531l3.320312.6835937s.165185-.2948914.253906-.4375c.662226-1.3766255 1.18416-2.0131914.673833-3.5351562-.236532-.7053955-.89885-1.2598998-1.552735-1.3945312-.081735-.016829-.165761-.0282236-.251953-.0332032zm-7.400391 3.3710938c-2.8975029-.0408224-5.6930185 1.8219273-6.7910151 4.4999996-1.146727 2.630925-.5519058 5.899022 1.4570312 7.951172 1.6254447 1.748763 4.1338307 2.557928 6.4765629 2.195313-.321854-.982015-.590771-2.383672-.416016-3.56836.366972-2.487752 2.212752-5.362092 3-6.921875.353016-.702272.721364-1.5366287.652344-2.7128902-.323073-.2396476-.663199-.4562423-1.025391-.6367188-1.032783-.5308062-2.19257-.8082401-3.353516-.8066406zm-2.0839839 2.5585937c.8368725-.078164 1.3385167 1.0530239.75 1.6308589-.5026045.609137-1.6070395.269157-1.6796875-.517578-.0940179-.556561.3641095-1.107381.9296875-1.1132809zm6.9941409.1191407-.208985.8750002 2.941407.605468.152343-.884765zm-.867188 2.0820312s-2.464867 4.071428-2.732422 6.365234c-.155335 1.331731.148701 2.916223.69336 3.962891 2.507839-.246004 4.359101-1.105793 5.849609-2.160156.904451-2.336395-.083984-7.402344-.083984-7.402344zm-8.4824216.621094c.8360984-.07468 1.338813 1.054191.75 1.632812-.5020198.608577-1.6071071.2708-1.6796875-.515625-.093664-.555925.364611-1.108905.9296875-1.117187zm3.0117187.160156c.8367309-.07827 1.3388649 1.053328.75 1.630859-.5032491.607309-1.6068595.266135-1.6796875-.519531-.094269-.556267.3644171-1.105487.9296875-1.111328z" fill="#fff"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -0,0 +1,5 @@
<svg version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<circle id="Oval" cx="12" cy="12" r="12" fill="#000" opacity=".6"/>
<circle cx="12" cy="12" r="11" fill="#8c5f93"/>
<path d="m17.814453 3.8535156c-.603341-.0348572-1.292607.2159125-1.726562.7011719-1.070067 1.1965695-.839929 1.9874104-.775391 3.5136719.02518.16606.05859.5019531.05859.5019531l3.320312.6835937s.165185-.2948914.253906-.4375c.662226-1.3766255 1.18416-2.0131914.673833-3.5351562-.236532-.7053955-.89885-1.2598998-1.552735-1.3945312-.081735-.016829-.165761-.0282236-.251953-.0332032zm-7.400391 3.3710938c-2.8975029-.0408224-5.6930185 1.8219273-6.7910151 4.4999996-1.146727 2.630925-.5519058 5.899022 1.4570312 7.951172 1.6254447 1.748763 4.1338307 2.557928 6.4765629 2.195313-.321854-.982015-.590771-2.383672-.416016-3.56836.366972-2.487752 2.212752-5.362092 3-6.921875.353016-.702272.721364-1.5366287.652344-2.7128902-.323073-.2396476-.663199-.4562423-1.025391-.6367188-1.032783-.5308062-2.19257-.8082401-3.353516-.8066406zm-2.0839839 2.5585937c.8368725-.078164 1.3385167 1.0530239.75 1.6308589-.5026045.609137-1.6070395.269157-1.6796875-.517578-.0940179-.556561.3641095-1.107381.9296875-1.1132809zm6.9941409.1191407-.208985.8750002 2.941407.605468.152343-.884765zm-.867188 2.0820312s-2.464867 4.071428-2.732422 6.365234c-.155335 1.331731.148701 2.916223.69336 3.962891 2.507839-.246004 4.359101-1.105793 5.849609-2.160156.904451-2.336395-.083984-7.402344-.083984-7.402344zm-8.4824216.621094c.8360984-.07468 1.338813 1.054191.75 1.632812-.5020198.608577-1.6071071.2708-1.6796875-.515625-.093664-.555925.364611-1.108905.9296875-1.117187zm3.0117187.160156c.8367309-.07827 1.3388649 1.053328.75 1.630859-.5032491.607309-1.6068595.266135-1.6796875-.519531-.094269-.556267.3644171-1.105487.9296875-1.111328z" fill="#000"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -151,6 +151,8 @@ private:
{"amenity", "drinking_water"},
{"shop", "copyshop"}, // often used as secondary tag for amenity=post_office
{"leisure", "pitch"}, // Give priority to tag "sport"=*.
{"sport", "9pin"},
{"sport", "10pin"},
{"public_transport", "platform"},
};