diff --git a/.github/workflows/deploy_pietervdvn.yml b/.github/workflows/deploy_pietervdvn.yml index 00d2dedbc8..36d4ebc269 100644 --- a/.github/workflows/deploy_pietervdvn.yml +++ b/.github/workflows/deploy_pietervdvn.yml @@ -3,7 +3,8 @@ on: push: branches: - develop - - feature/vite + - feature/* + - theme/* jobs: build: runs-on: ubuntu-latest diff --git a/assets/themes/advertising/Advertising_icon.svg b/assets/themes/advertising/Advertising_icon.svg deleted file mode 100644 index 6798138e3a..0000000000 --- a/assets/themes/advertising/Advertising_icon.svg +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - diff --git a/assets/themes/advertising/Billboard.svg b/assets/themes/advertising/Billboard.svg index d5007ee21d..b98e6e834c 100644 --- a/assets/themes/advertising/Billboard.svg +++ b/assets/themes/advertising/Billboard.svg @@ -2,28 +2,28 @@ + inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" + sodipodi:docname="Billboard.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + inkscape:window-width="1920" + inkscape:window-height="995" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="1" + inkscape:pagecheckerboard="0"> + id="grid4298" + originx="-1.4071445" + originy="-146.62649" /> @@ -56,16 +59,16 @@ image/svg+xml - + id="layer1" + transform="translate(-1.4071445,-146.6265)"> + d="m 634.99073,436.2157 54.84858,-20.43129 -72.65041,-69.44809 -61.45316,14.11784 z" + points="689.83931,415.78441 617.1889,346.33632 555.73574,360.45416 634.99073,436.2157 " /> + d="m 634.99073,436.2157 -79.25499,-75.76154 -41.3845,70.89265 94.64947,90.47746 z" + points="555.73574,360.45416 514.35124,431.34681 609.00071,521.82427 634.99073,436.2157 " /> + d="m 634.99073,436.2157 54.84858,-20.43129 -13.8343,73.64459 -67.0043,32.39527 z" + points="689.83931,415.78441 676.00501,489.429 609.00071,521.82427 634.99073,436.2157 " /> - + d="m 609.00071,521.82427 67.0043,-32.39527 -85.37999,-81.61657 -76.27378,23.53438 z" + points="676.00501,489.429 590.62502,407.81243 514.35124,431.34681 609.00071,521.82427 " /> + d="M 689.83931,415.78441 617.1889,346.33632 590.62502,407.81243 676.00501,489.429 Z" + points="617.1889,346.33632 590.62502,407.81243 676.00501,489.429 689.83931,415.78441 " /> + diff --git a/assets/themes/advertising/Board.svg b/assets/themes/advertising/Board.svg index 1ac9fbde57..917190ea8e 100644 --- a/assets/themes/advertising/Board.svg +++ b/assets/themes/advertising/Board.svg @@ -2,28 +2,28 @@ + inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" + sodipodi:docname="Board.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + inkscape:window-width="1920" + inkscape:window-height="995" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="1" + inkscape:pagecheckerboard="0"> + id="grid4298" + originx="-80.013376" + originy="-229.43016" /> @@ -56,16 +59,16 @@ image/svg+xml - + id="layer1" + transform="translate(-80.013378,-229.43016)"> + d="m 562.50001,412.5 40.85094,-14.635 -54.10965,-49.74586 -45.77,10.11264 z" + points="603.35095,397.865 549.2413,348.11914 503.4713,358.23178 562.50001,412.5 " /> + d="m 562.50001,412.5 -59.02871,-54.26822 -30.82299,50.78061 70.49444,64.80926 z" + points="503.4713,358.23178 472.64831,409.01239 543.14275,473.82165 562.50001,412.5 " /> + d="m 562.50001,412.5 40.85094,-14.635 -10.30373,52.75183 -49.90447,23.20482 z" + points="603.35095,397.865 593.04722,450.61683 543.14275,473.82165 562.50001,412.5 " /> - + d="m 543.14275,473.82165 49.90447,-23.20482 -63.59058,-58.46218 -56.80833,16.85774 z" + points="593.04722,450.61683 529.45664,392.15465 472.64831,409.01239 543.14275,473.82165 " /> + d="m 603.35095,397.865 -54.10965,-49.74586 -19.78466,44.03551 63.59058,58.46218 z" + points="549.2413,348.11914 529.45664,392.15465 593.04722,450.61683 603.35095,397.865 " /> + diff --git a/assets/themes/advertising/Board_free.svg b/assets/themes/advertising/Board_free.svg deleted file mode 100644 index 57ff9cadef..0000000000 --- a/assets/themes/advertising/Board_free.svg +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - Affichage libre - - - - - diff --git a/assets/themes/advertising/Column_3.svg b/assets/themes/advertising/Column.svg similarity index 60% rename from assets/themes/advertising/Column_3.svg rename to assets/themes/advertising/Column.svg index 0e953dd804..f1ff90bf2c 100644 --- a/assets/themes/advertising/Column_3.svg +++ b/assets/themes/advertising/Column.svg @@ -2,61 +2,36 @@ + inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" + sodipodi:docname="Column.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> - - - - + inkscape:swatch="solid"> - + inkscape:snap-bbox="true" + inkscape:pagecheckerboard="0"> + id="grid4298" + originx="-207.49699" + originy="-47.527465" /> @@ -90,28 +68,23 @@ image/svg+xml - - + id="layer1" + transform="translate(-207.49698,-47.527464)"> + d="m 380.625,776.25002 40.85094,-14.635 -54.10966,-49.74586 -45.76999,10.11265 z" + points="421.47594,761.61502 367.36628,711.86916 321.59629,721.98181 380.625,776.25002 " /> + d="m 380.625,776.25002 -59.02871,-54.26821 -30.82297,50.78061 70.49444,64.80927 z" + points="321.59629,721.98181 290.77332,772.76242 361.26776,837.57169 380.625,776.25002 " /> + d="m 380.625,776.25002 40.85094,-14.635 -10.30372,52.75185 -49.90446,23.20482 z" + points="421.47594,761.61502 411.17222,814.36687 361.26776,837.57169 380.625,776.25002 " /> - + d="m 361.26776,837.57169 49.90446,-23.20482 -63.59058,-58.46219 -56.80832,16.85774 z" + points="411.17222,814.36687 347.58164,755.90468 290.77332,772.76242 361.26776,837.57169 " /> + d="m 421.47594,761.61502 -54.10966,-49.74586 -19.78464,44.03552 63.59058,58.46219 z" + points="367.36628,711.86916 347.58164,755.90468 411.17222,814.36687 421.47594,761.61502 " /> + diff --git a/assets/themes/advertising/Indication.svg b/assets/themes/advertising/Indication.svg deleted file mode 100644 index f9d4b9b5c5..0000000000 --- a/assets/themes/advertising/Indication.svg +++ /dev/null @@ -1,227 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - 3 km - - - - - - - - - - - - diff --git a/assets/themes/advertising/Indication_post.svg b/assets/themes/advertising/Indication_post.svg deleted file mode 100644 index 8b7ca2f53c..0000000000 --- a/assets/themes/advertising/Indication_post.svg +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - 3 km  - - - - - - - - - - - - diff --git a/assets/themes/advertising/Indication_wall.svg b/assets/themes/advertising/Indication_wall.svg deleted file mode 100644 index 020f6a2a54..0000000000 --- a/assets/themes/advertising/Indication_wall.svg +++ /dev/null @@ -1,220 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - 3 km - - - - - - - - - - - - diff --git a/assets/themes/advertising/JEI_3.svg b/assets/themes/advertising/JEI_3.svg deleted file mode 100644 index 81f85dc41b..0000000000 --- a/assets/themes/advertising/JEI_3.svg +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - AUJOURD'HUI 8H / 13H MARCHÉ DE PLEIN VENT - Commune de Bergerac - - diff --git a/assets/themes/advertising/Newspaper_kiosk_3.svg b/assets/themes/advertising/Newspaper_kiosk.svg similarity index 94% rename from assets/themes/advertising/Newspaper_kiosk_3.svg rename to assets/themes/advertising/Newspaper_kiosk.svg index d18e432c5e..debaea46b5 100644 --- a/assets/themes/advertising/Newspaper_kiosk_3.svg +++ b/assets/themes/advertising/Newspaper_kiosk.svg @@ -2,20 +2,20 @@ + inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" + sodipodi:docname="Newspaper_kiosk.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + inkscape:window-width="1920" + inkscape:window-height="995" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="1" + inkscape:pagecheckerboard="0"> @@ -56,7 +57,6 @@ image/svg+xml - @@ -246,20 +246,6 @@ id="path3518" inkscape:connector-curvature="0" sodipodi:nodetypes="ccccc" /> - ELLE + transform="matrix(1.5886153,0,0,1.4132116,-353.29651,-3.734851)" /> - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - VOTE ! - - diff --git a/assets/themes/advertising/Poster_box.svg b/assets/themes/advertising/Poster_box.svg index 9f6e3d5843..472d6e9175 100644 --- a/assets/themes/advertising/Poster_box.svg +++ b/assets/themes/advertising/Poster_box.svg @@ -2,28 +2,28 @@ + inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" + sodipodi:docname="Poster_box.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + inkscape:window-width="1920" + inkscape:window-height="995" + inkscape:window-x="0" + inkscape:window-y="0" + inkscape:window-maximized="1" + inkscape:pagecheckerboard="0"> + id="grid4298" + originx="-154.57584" + originy="-91.827049" /> @@ -56,37 +59,37 @@ image/svg+xml - + id="layer1" + transform="translate(-154.57585,-91.827051)"> + d="m 393.74995,637.5 46.2305,-16.56225 -61.23521,-56.29676 -51.79733,11.44435 z" + points="439.98045,620.93775 378.74524,564.64099 326.94791,576.08534 393.74995,637.5 " /> + d="m 393.74995,637.5 -66.80204,-61.41466 -34.88199,57.46778 79.77767,73.34382 z" + points="326.94791,576.08534 292.06592,633.55312 371.84359,706.89694 393.74995,637.5 " /> + d="m 393.74995,637.5 46.2305,-16.56225 -11.6606,59.69859 -56.47626,26.2606 z" + points="439.98045,620.93775 428.31985,680.63634 371.84359,706.89694 393.74995,637.5 " /> - + d="m 371.84359,706.89694 56.47626,-26.2606 -71.96466,-66.16091 -64.28927,19.07769 z" + points="428.31985,680.63634 356.35519,614.47543 292.06592,633.55312 371.84359,706.89694 " /> + d="m 439.98045,620.93775 -61.23521,-56.29676 -22.39005,49.83444 71.96466,66.16091 z" + points="378.74524,564.64099 356.35519,614.47543 428.31985,680.63634 439.98045,620.93775 " /> + + inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" + sodipodi:docname="Totem.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + inkscape:swatch="gradient"> + inkscape:swatch="solid"> + showguides="false" + inkscape:pagecheckerboard="0"> + snapvisiblegridlinesonly="false" + originx="-239.36593" + originy="-69.287831" /> @@ -81,22 +83,22 @@ image/svg+xml - + id="layer1" + transform="translate(-239.36594,-69.287832)"> + d="m 380.19963,617.62659 40.85093,-14.635 -54.10965,-49.74586 -45.76999,10.11265 z" + points="421.05056,602.99159 366.94091,553.24573 321.17092,563.35838 380.19963,617.62659 " /> + d="m 380.19963,617.62659 -59.02871,-54.26821 -30.82297,50.78061 70.49443,64.80926 z" + points="321.17092,563.35838 290.34795,614.13899 360.84238,678.94825 380.19963,617.62659 " /> + d="m 380.19963,617.62659 40.85093,-14.635 -10.30372,52.75184 -49.90446,23.20482 z" + points="421.05056,602.99159 410.74684,655.74343 360.84238,678.94825 380.19963,617.62659 " /> - + d="m 360.84238,678.94825 49.90446,-23.20482 -63.59058,-58.46218 -56.80831,16.85774 z" + points="410.74684,655.74343 347.15626,597.28125 290.34795,614.13899 360.84238,678.94825 " /> + d="m 421.05056,602.99159 -54.10965,-49.74586 -19.78465,44.03552 63.59058,58.46218 z" + points="366.94091,553.24573 347.15626,597.28125 410.74684,655.74343 421.05056,602.99159 " /> + diff --git a/assets/themes/advertising/advertising.json b/assets/themes/advertising/advertising.json index 7436a1273a..af47c45d8e 100644 --- a/assets/themes/advertising/advertising.json +++ b/assets/themes/advertising/advertising.json @@ -1,786 +1,721 @@ +{ + "id": "advertising", + "credits": "Offsel", + "title": { + "ca": "Publicitat", + "es": "Publicidad", + "en": "Advertising" + }, + "shortDescription": { + "ca": "Completar dades sobre publicitat", + "es": "Completar datos sobre publicidad", + "en": "Complete data about advertising" + }, + "description": { + "ca": "Afegir dades de dispositius publicitaris", + "es": "Añadir datos de dispositivos publicitarios", + "en": "Add data of advertising devices" + }, + "maintainer": "Offsel", + "icon": "./assets/themes/advertising/icon.svg", + "version": "2023_01_23", + "startLat": 0, + "startLon": 0, + "startZoom": 1, + "widenFactor": 0.01, + "socialImage": "", + "layers": [ { - "id": "advertising", - "credits": "Offsel", - "title": { + "id": "advertising", + "name": { "ca": "Publicitat", "es": "Publicidad", - "en": "Advertising" + "en": "Advertise" + }, + "minzoom": 15, + "source": { + "osmTags": "advertising~*" + }, + "title": { + "render": { + "*": "{advertising}" }, - "shortDescription": { - "ca": "Completar dades sobre publicitat", - "es": "Completar datos sobre publicidad", - "en": "Complete data about advertising" - }, - "description": { - "ca": "Afegir dades de dispositius publicitaris", - "es": "Añadir datos de dispositivos publicitarios", - "en": "Add data of advertising devices" - }, - "language": [ - "ca", - "es", - "en" - ], - "maintainer": "Offsel", - "icon": "Advertising_icon.svg", - "version": "2023_01_23", - "startLat": 0, - "startLon": 0, - "startZoom": 1, - "widenFactor": 0.01, - "socialImage": "", - "layers": [ - { - "id": "advertising", - "name": { - "ca": "Publicitat", - "es": "Publicidad", - "en": "Advertise" - }, - "minzoom": 15, - "overpassTags": { - "or": [ - "advertising~*" - ] - }, - "title": { - "render": { - "*": "{advertising}" - }, - "mappings": [ - { - "if": { - "and": [ - "advertising=billboard" - ] - }, - "then": { - "ca": "Tanca publicitària", - "es": "Valla publicitaria", - "en": "Billboard" - } - }, - { - "if": { - "and": [ - "advertising=board" - ] - }, - "then": { - "ca": "Tauló d'anuncis", - "es": "Tablon de anuncios", - "en": "Board" - } - }, - { - "if": { - "and":[ - "advertising=poster_box" - ] - }, - "then":{ - "ca": "Mupi", - "es": "Mupi", - "en": "Poster Box" - } - }, - { - "if": { - "and":[ - "advertising=column" - ] - }, - "then":{ - "ca": "Columna", - "es": "Columna", - "en": "Column" - } - }, - { - "if": { - "and":[ - "advertising=flag" - ] - }, - "then":{ - "ca": "Bandera", - "es": "Bandera", - "en": "Flag" - } - }, - { - "if": { - "and":[ - "advertising=screen" - ] - }, - "then":{ - "ca": "Pantalla", - "es": "Pantalla", - "en": "Screen" - } - }, - { - "if": { - "and":[ - "advertising=sculpture" - ] - }, - "then":{ - "ca": "Esculptura", - "es": "Escultura", - "en": "Sculpture" - } - }, - { - "if": { - "and":[ - "advertising=sign" - ] - }, - "then":{ - "ca": "Cartell", - "es": "Cartel", - "en": "Sign" - } - }, - { - "if": { - "and":[ - "advertising=tarp" - ] - }, - "then":{ - "ca": "Lona", - "es": "Lona", - "en": "Tarp" - } - }, - { - "if": { - "and":[ - "advertising=totem" - ] - }, - "then":{ - "ca": "Tòtem", - "es": "Tótem", - "en": "Totem" - } - }, - { - "if": { - "and":[ - "advertising=wall_painting" - ] - }, - "then":{ - "ca": "Paret Pintada", - "es": "Pared Pintada", - "en": "Wall Painted" - } - } - ] - }, - "description": { - "ca": "Completarem les dades dels elements publicitaris amb referència, operador i il·luminació", - "es": "Completaremos los datos de los elementos publicitarios con referencia, operador y iluminación", - "en": "We will complete data from advertising features with reference, operator and lit" - }, - "tagRenderings": [ - "images", - { - "render": { - "ca": "Açò és un {advertising}", - "es": "Esto es un {advertising}", - "en": "This is a {advertising}" - }, - "question": { - "ca": "Quin tipus d'element publicitari és aquest?", - "es": "¿Qué tipo de elemento publicitario es?", - "en": "Which type of advertising feature is this?" - }, - "freeform": { - "key": "advertising" - }, - "mappings": [ - { - "if": { - "and": [ - "advertising=billboard" - ] - }, - "then": { - "ca": "Açò és una tanca publicitària", - "es": "Esto es una valla publicitaria", - "en": "This is a billboard" - } - }, - { - "if": { - "and": [ - "advertising=board" - ] - }, - "then": { - "ca": "Açò és un tauló d'anunis", - "es": "Esto es un tablón de anuncios", - "en": "This is a board" - } - }, - { - "if": { - "and": [ - "advertising=column" - ] - }, - "then": { - "ca": "Açò és una columna", - "es": "Esto es una columna", - "en": "This is a column" - } - }, - { - "if": { - "and": [ - "advertising=flag" - ] - }, - "then": { - "ca": "Açò és una bandera", - "es": "Esto es una bndera", - "en": "This is a flag" - } - }, - { - "if": { - "and": [ - "advertising=poster_box" - ] - }, - "then": { - "ca": "Açò és un mupi", - "es": "Esto es un mupi", - "en": "This is a poster Box" - } - }, - { - "if": { - "and": [ - "advertising=screen" - ] - }, - "then": { - "ca": "Açò és una pantalla", - "es": "Esto es una pantalla", - "en": "This is a screen" - } - }, - { - "if": { - "and": [ - "advertising=sculpture" - ] - }, - "then": { - "ca": "Açò és una esculptura", - "es": "Esto es una escultura", - "en": "This is a sculpture" - } - }, - { - "if": { - "and": [ - "advertising=sign" - ] - }, - "then": { - "ca": "Açò és un cartell", - "es": "Esto es un cartel", - "en": "This is a sign" - } - }, - { - "if": { - "and": [ - "advertising=tarp" - ] - }, - "then": { - "ca": "Açò és una lona", - "es": "Esto es una lona", - "en": "This is a tarp" - } - }, - { - "if": { - "and": [ - "advertising=totem" - ] - }, - "then": { - "ca": "Açò és un tòtem", - "es": "Esto es un tótem", - "en": "This is a totem" - } - }, - { - "if": { - "and": [ - "advertising=wall_painting" - ] - }, - "then": { - "ca": "Açò és una paret pintada", - "es": "Esto es una pared pintada", - "en": "This is a wall painted" - } - } - ] - }, - { - "render": { - "ca": "El número de referència és {ref}", - "es": "El número de referencia es {ref}", - "en": "Reference number is {ref}" - }, - "question": { - "ca": "Quin és el número de refèrencia?", - "es": "¿Cual es el número de referencia?", - "en": "Wich is the reference number?" - }, - "freeform": { - "key": "ref" - }, - "mappings": [] - }, - { - "render": { - "ca": "L'operador és {operator}", - "es": "El operador es {operator}", - "en": "Operated by {operator}" - }, - "question": { - "ca": "Qui opera aquest element?", - "es": "¿Quien opera este elemento?", - "en": "Who operates this feature?" - }, - "freeform": { - "addExtraTags": [], - "key": "operator" - }, - "mappings": [] - }, - { - "render": { - "ca": "Iluminat {lit}", - "es": "Iluminado {lit}", - "en": "Lit {lit}" - }, - "question": { - "ca": "Aquest element està il·luminat?", - "es": "Este elemento está iluminado?", - "en": "This feature is lit?" - }, - "freeform": { - "key": "lit" - }, - "mappings": [ - { - "if": { - "and": [ - "lit=yes" - ] - }, - "then": { - "ca": "Aquest element està il·luminat", - "es": "Este elemento está iluminado", - "en": "This feature is lit" - } - }, - { - "if": { - "and": [ - "lit=no" - ] - }, - "then": { - "ca": "Aqust element no està il·luminat", - "es": "Este elemento no está iluminado", - "en": "This feature is not lit" - } - } - ] - }, - { - "render": { - "ca": " Animat amb {animated}", - "es": "Animado con {animated}", - "en": "Animated with {animated}" - }, - "question": { - "ca": "Quin tipus d'animació té aquest element?", - "es": "Que tipo de animació tiene este elemento?", - "en": "Wich type of animation has this feature?" - }, - "freeform": { - "key": "animated" - }, - "mappings": [ - { - "if": { - "and": [ - "animated=no" - ] - }, - "then": { - "ca": "Estàtic, sense animació", - "es": "Estático, sin animación", - "en": "Static, without animation" - } - }, - { - "if": { - "and": [ - "animated=yes" - ] - }, - "then": { - "ca": "Si, però sense especificar", - "es": "Si, pero sin especificar", - "en": "Yes, but without specifying" - } - }, - { - "if": { - "and": [ - "animated=screen" - ] - }, - "then": { - "ca": "una Pantalla", - "es": "una Pantalla", - "en": "a screen" - } - }, - { - "if": { - "and": [ - "animated=digital_prices" - ] - }, - "then": { - "ca": "Preus digitals", - "es": "Precios digitales", - "en": "Digital Prices" - } - }, - { - "if": { - "and": [ - "animated=digital_message" - ] - }, - "then": { - "ca": "un Missatge digital", - "es": "un Mensaje digital", - "en": "a Digital message" - } - }, - { - "if": { - "and": [ - "animated=travision_blades" - ] - }, - "then": { - "ca": "Trivision", - "es": "Trivision", - "en": "Trivision" - } - }, - { - "if": { - "and": [ - "animated=winding_posters" - ] - }, - "then": { - "ca": "Cartells Rotatius", - "es": "Cartells Rotatius", - "en": "Scrolling posters" - } - }, - { - "if": { - "and": [ - "animated=revolving" - ] - }, - "then": { - "ca": "Rota sobre si mateix", - "es": "Rota sobre si mismo", - "en": "Rotates on itself" - } - } - ] - } - ], - "hideUnderlayingFeaturesMinPercentage": 0, - "icon": { - "render": "./images/Advertising_icon.svg", - "mappings": [ - { - "if": { - "or": [ - "advertising=billboard" - ] - }, - "then": { - "ca": "./images/Billboard_trunk.svg", - "es": "https://wiki.openstreetmap.org/w/images/d/d3/Billboard_trunk.svg" - } - }, - { - "if": { - "or": [ - "advertising=board" - ] - }, - "then": { - "ca": "./images/Board.svg", - "es": "https://wiki.openstreetmap.org/w/images/5/56/Board.svg" - } - }, - { - "if": { - "or": [ - "advertising=column" - ] - }, - "then": { - "ca": "./images/Column.svg", - "es": "https://wiki.openstreetmap.org/w/images/e/e3/Column.svg" - } - }, - { - "if": { - "or": [ - "advertising=flag" - ] - }, - "then": { - "ca": "https://raw.githubusercontent.com/yopaseopor/mcquests/main/images/icones_adreces/casa_buida.svg", - "es": "https://raw.githubusercontent.com/yopaseopor/mcquests/main/images/icones_adreces/casa_buida.svg" - } - }, - { - "if": { - "or": [ - "advertising=poster_box" - ] - }, - "then": { - "ca": "/images/Poster_box.svg", - "es": "https://wiki.openstreetmap.org/w/images/1/1f/Poster_box.svg" - } - }, - { - "if": { - "or": [ - "advertising=screen" - ] - }, - "then": { - "ca": "https://raw.githubusercontent.com/yopaseopor/mcquests/main/images/icones_adreces/casa_buida.svg", - "es": "https://raw.githubusercontent.com/yopaseopor/mcquests/main/images/icones_adreces/casa_buida.svg" - } - }, - { - "if": { - "or": [ - "advertising=sculpture" - ] - }, - "then": { - "ca": "https://raw.githubusercontent.com/yopaseopor/mcquests/main/images/icones_adreces/casa_buida.svg", - "es": "https://raw.githubusercontent.com/yopaseopor/mcquests/main/images/icones_adreces/casa_buida.svg" - } - }, - { - "if": { - "or": [ - "advertising=sign" - ] - }, - "then": { - "ca": "https://raw.githubusercontent.com/yopaseopor/mcquests/main/images/icones_adreces/casa_buida.svg", - "es": "https://raw.githubusercontent.com/yopaseopor/mcquests/main/images/icones_adreces/casa_buida.svg" - } - }, - { - "if": { - "or": [ - "advertising=tarp" - ] - }, - "then": { - "ca": "https://raw.githubusercontent.com/yopaseopor/mcquests/main/images/icones_adreces/casa_buida.svg", - "es": "https://raw.githubusercontent.com/yopaseopor/mcquests/main/images/icones_adreces/casa_buida.svg" - } - }, - { - "if": { - "or": [ - "advertising=totem" - ] - }, - "then": { - "ca": "./images/Totem.svg", - "es": "https://wiki.openstreetmap.org/w/images/2/23/Totem.svg" - } - }, - { - "if": { - "or": [ - "advertising=wall_painting" - ] - }, - "then": { - "ca": "https://raw.githubusercontent.com/yopaseopor/mcquests/main/images/icones_adreces/casa_buida.svg", - "es": "https://raw.githubusercontent.com/yopaseopor/mcquests/main/images/icones_adreces/casa_buida.svg" - } - } - ] - }, - "width": { - "render": "8" - }, - "iconSize": { - "render": "40,40,center" - }, - "color": { - "render": "#00f" - }, - "presets": [ - { - "tags": [ + "mappings": [ + { + "if": { + "and": [ "advertising=billboard" - ], - "title": { - "ca": "una tanca publicitària", - "es": "una valla publicitària" - }, - "description": { - "ca": "Les tanques publicitàries normalment són de gran tamany i estan situades prop de les carreteres", - "es": "Las vallas publicitarias normalment son de gran tamanó y están situadas cerca de las carreteras" - } + ] }, - { - "tags": [ - "advertising=board" - ], - "title": { - "ca": "un tauló d'anunis", - "es": "un tablón de anuncios", - "en": "a billboard" - } - }, - { - "tags": [ - "advertising=column" - ], - "title": { - "ca": "una columna", - "es": "una columna", - "en": "a column" - } - }, - { - "tags": [ - "advertising=flag", - "man_made=pole" - ], - "title": { - "ca": "una bandera", - "es": "una bandera", - "en": "a flag" - } - }, - { - "tags": [ - "advertising=poster_box" - ], - "title": { - "ca": "un mupi", - "es": "un mupi", - "en": "a poster box" - - } - }, - { - "tags": [ - "advertising=screen" - ], - "title": { - "ca": "una pantalla", - "es": "una pantalla", - "en": "a screen" - } - }, - { - "tags": [ - "advertising=sculpture" - ], - "title": { - "ca": "una escupltura", - "es": "una escultura", - "en": "an sculpture" - } - }, - { - "tags": [ - "advertising=sign" - ], - "title": { - "ca": "un lletrer", - "es": "un lletrer", - "en": "a sign" - } - }, - { - "tags": [ - "advertising=tarp" - ], - "title": { - "ca": "una lona", - "es": "una lona", - "en": "a tarp" - } - }, - { - "tags": [ - "advertising=totem" - ], - "title": { - "ca": "un tòtem", - "es": "un tótem", - "en": "a totem" - } - }, - { - "tags": [ - "advertising=wall_painting" - ], - "title": { - "ca": "una pintura a la paret", - "es": "una pitura en la pared", - "en": "a wall painted" - } + "then": { + "ca": "Tanca publicitària", + "es": "Valla publicitaria", + "en": "Billboard" } - ], - "wayHandling": 1 + }, + { + "if": { + "and": [ + "advertising=board" + ] + }, + "then": { + "ca": "Tauló d'anuncis", + "es": "Tablon de anuncios", + "en": "Board" + } + }, + { + "if": { + "and": [ + "advertising=poster_box" + ] + }, + "then": { + "ca": "Mupi", + "es": "Mupi", + "en": "Poster Box" + } + }, + { + "if": { + "and": [ + "advertising=column" + ] + }, + "then": { + "ca": "Columna", + "es": "Columna", + "en": "Column" + } + }, + { + "if": { + "and": [ + "advertising=flag" + ] + }, + "then": { + "ca": "Bandera", + "es": "Bandera", + "en": "Flag" + } + }, + { + "if": { + "and": [ + "advertising=screen" + ] + }, + "then": { + "ca": "Pantalla", + "es": "Pantalla", + "en": "Screen" + } + }, + { + "if": { + "and": [ + "advertising=sculpture" + ] + }, + "then": { + "ca": "Esculptura", + "es": "Escultura", + "en": "Sculpture" + } + }, + { + "if": { + "and": [ + "advertising=sign" + ] + }, + "then": { + "ca": "Cartell", + "es": "Cartel", + "en": "Sign" + } + }, + { + "if": { + "and": [ + "advertising=tarp" + ] + }, + "then": { + "ca": "Lona", + "es": "Lona", + "en": "Tarp" + } + }, + { + "if": { + "and": [ + "advertising=totem" + ] + }, + "then": { + "ca": "Tòtem", + "es": "Tótem", + "en": "Totem" + } + }, + { + "if": { + "and": [ + "advertising=wall_painting" + ] + }, + "then": { + "ca": "Paret Pintada", + "es": "Pared Pintada", + "en": "Wall Painted" + } + } + ] + }, + "description": { + "ca": "Completarem les dades dels elements publicitaris amb referència, operador i il·luminació", + "es": "Completaremos los datos de los elementos publicitarios con referencia, operador y iluminación", + "en": "We will complete data from advertising features with reference, operator and lit" + }, + "tagRenderings": [ + "images", + { + "id": "type", + "render": { + "ca": "Açò és un {advertising}", + "es": "Esto es un {advertising}", + "en": "This is a {advertising}" + }, + "question": { + "ca": "Quin tipus d'element publicitari és aquest?", + "es": "¿Qué tipo de elemento publicitario es?", + "en": "Which type of advertising feature is this?" + }, + "freeform": { + "key": "advertising" + }, + "mappings": [ + { + "if": { + "and": [ + "advertising=billboard" + ] + }, + "then": { + "ca": "Açò és una tanca publicitària", + "es": "Esto es una valla publicitaria", + "en": "This is a billboard" + } + }, + { + "if": { + "and": [ + "advertising=board" + ] + }, + "then": { + "ca": "Açò és un tauló d'anunis", + "es": "Esto es un tablón de anuncios", + "en": "This is a board" + } + }, + { + "if": { + "and": [ + "advertising=column" + ] + }, + "then": { + "ca": "Açò és una columna", + "es": "Esto es una columna", + "en": "This is a column" + } + }, + { + "if": { + "and": [ + "advertising=flag" + ] + }, + "then": { + "ca": "Açò és una bandera", + "es": "Esto es una bndera", + "en": "This is a flag" + } + }, + { + "if": { + "and": [ + "advertising=poster_box" + ] + }, + "then": { + "ca": "Açò és un mupi", + "es": "Esto es un mupi", + "en": "This is a poster Box" + } + }, + { + "if": { + "and": [ + "advertising=screen" + ] + }, + "then": { + "ca": "Açò és una pantalla", + "es": "Esto es una pantalla", + "en": "This is a screen" + } + }, + { + "if": { + "and": [ + "advertising=sculpture" + ] + }, + "then": { + "ca": "Açò és una esculptura", + "es": "Esto es una escultura", + "en": "This is a sculpture" + } + }, + { + "if": { + "and": [ + "advertising=sign" + ] + }, + "then": { + "ca": "Açò és un cartell", + "es": "Esto es un cartel", + "en": "This is a sign" + } + }, + { + "if": { + "and": [ + "advertising=tarp" + ] + }, + "then": { + "ca": "Açò és una lona", + "es": "Esto es una lona", + "en": "This is a tarp" + } + }, + { + "if": { + "and": [ + "advertising=totem" + ] + }, + "then": { + "ca": "Açò és un tòtem", + "es": "Esto es un tótem", + "en": "This is a totem" + } + }, + { + "if": { + "and": [ + "advertising=wall_painting" + ] + }, + "then": { + "ca": "Açò és una paret pintada", + "es": "Esto es una pared pintada", + "en": "This is a wall painted" + } + } + ] + }, + { + "id": "ref", + "render": { + "ca": "El número de referència és {ref}", + "es": "El número de referencia es {ref}", + "en": "Reference number is {ref}" + }, + "question": { + "ca": "Quin és el número de refèrencia?", + "es": "¿Cual es el número de referencia?", + "en": "Wich is the reference number?" + }, + "freeform": { + "key": "ref" + } + }, + { + "id": "operator", + "render": { + "ca": "L'operador és {operator}", + "es": "El operador es {operator}", + "en": "Operated by {operator}" + }, + "question": { + "ca": "Qui opera aquest element?", + "es": "¿Quien opera este elemento?", + "en": "Who operates this feature?" + }, + "freeform": { + "addExtraTags": [], + "key": "operator" + } + }, + { + "id": "lit", + "render": { + "ca": "Iluminat {lit}", + "es": "Iluminado {lit}", + "en": "Lit {lit}" + }, + "question": { + "ca": "Aquest element està il·luminat?", + "es": "Este elemento está iluminado?", + "en": "This feature is lit?" + }, + "freeform": { + "key": "lit" + }, + "mappings": [ + { + "if": { + "and": [ + "lit=yes" + ] + }, + "then": { + "ca": "Aquest element està il·luminat", + "es": "Este elemento está iluminado", + "en": "This feature is lit" + } + }, + { + "if": { + "and": [ + "lit=no" + ] + }, + "then": { + "ca": "Aqust element no està il·luminat", + "es": "Este elemento no está iluminado", + "en": "This feature is not lit" + } + } + ] + }, + { + "id": "animated", + "render": { + "ca": " Animat amb {animated}", + "es": "Animado con {animated}", + "en": "Animated with {animated}" + }, + "question": { + "ca": "Quin tipus d'animació té aquest element?", + "es": "Que tipo de animació tiene este elemento?", + "en": "Wich type of animation has this feature?" + }, + "freeform": { + "key": "animated" + }, + "mappings": [ + { + "if": { + "and": [ + "animated=no" + ] + }, + "then": { + "ca": "Estàtic, sense animació", + "es": "Estático, sin animación", + "en": "Static, without animation" + } + }, + { + "if": { + "and": [ + "animated=yes" + ] + }, + "then": { + "ca": "Si, però sense especificar", + "es": "Si, pero sin especificar", + "en": "Yes, but without specifying" + } + }, + { + "if": { + "and": [ + "animated=screen" + ] + }, + "then": { + "ca": "una Pantalla", + "es": "una Pantalla", + "en": "a screen" + } + }, + { + "if": { + "and": [ + "animated=digital_prices" + ] + }, + "then": { + "ca": "Preus digitals", + "es": "Precios digitales", + "en": "Digital Prices" + } + }, + { + "if": { + "and": [ + "animated=digital_message" + ] + }, + "then": { + "ca": "un Missatge digital", + "es": "un Mensaje digital", + "en": "a Digital message" + } + }, + { + "if": { + "and": [ + "animated=travision_blades" + ] + }, + "then": { + "ca": "Trivision", + "es": "Trivision", + "en": "Trivision" + } + }, + { + "if": { + "and": [ + "animated=winding_posters" + ] + }, + "then": { + "ca": "Cartells Rotatius", + "es": "Cartells Rotatius", + "en": "Scrolling posters" + } + }, + { + "if": { + "and": [ + "animated=revolving" + ] + }, + "then": { + "ca": "Rota sobre si mateix", + "es": "Rota sobre si mismo", + "en": "Rotates on itself" + } + } + ] } - ], - "roamingRenderings": [] - } \ No newline at end of file + ], + "mapRendering": [ + { + "location": [ + "point", + "centroid" + ], + "icon": { + "render": "./assets/themes/advertising/icon.svg", + "mappings": [ + { + "if": { + "or": [ + "advertising=billboard" + ] + }, + "then": "./assets/themes/advertising/Billboard.svg" + }, + { + "if": "advertising=board", + "then": "./assets/themes/advertising/Board.svg" + }, + { + "if": "advertising=column", + "then": "./assets/themes/advertising/Column.svg" + }, + { + "if": "advertising=flag", + "then": "./assets/themes/advertising/icon.svg" + }, + { + "if": "advertising=poster_box", + "then": "./assets/themes/advertising/Poster_box.svg" + }, + { + "if": "advertising=screen", + "then": "./assets/themes/advertising/icon.svg" + }, + { + "if": "advertising=sculpture", + "then": "./assets/themes/advertising/icon.svg" + }, + { + "if": "advertising=sign", + "then": "./assets/themes/advertising/icon.svg" + }, + { + "if": "advertising=tarp", + "then": "./assets/themes/advertising/icon.svg" + }, + { + "if": "advertising=totem", + "then": "./assets/themes/advertising/Totem.svg" + }, + { + "if": "advertising=wall_painting", + "then": "./assets/themes/advertising/icon.svg" + } + ] + }, + "iconSize": "40,40,bottom" + }, + { + "width": { + "render": "8" + }, + "color": { + "render": "#00f" + } + } + ], + "presets": [ + { + "tags": [ + "advertising=billboard" + ], + "title": { + "en": "a billboard", + "ca": "una tanca publicitària", + "es": "una valla publicitària" + }, + "description": { + "en": "A large outdoor advertising structure, typically found in high-traffic areas such as alongside busy roads", + "ca": "Les tanques publicitàries normalment són de gran tamany i estan situades prop de les carreteres", + "es": "Las vallas publicitarias normalment son de gran tamanó y están situadas cerca de las carreteras" + } + }, + { + "tags": [ + "advertising=board" + ], + "title": { + "ca": "un tauló d'anunis", + "es": "un tablón de anuncios", + "en": "a billboard" + }, + "description": { + "en": "Small billboard for neighbourhood advertising, generally intended for pedestrians" + } + }, + { + "tags": [ + "advertising=column" + ], + "title": { + "ca": "una columna", + "es": "una columna", + "en": "a column" + }, + "description": { + "en": "A cylindrical outdoor structure which shows advertisements" + } + }, + { + "tags": [ + "advertising=flag", + "man_made=pole" + ], + "title": { + "ca": "una bandera", + "es": "una bandera", + "en": "a flag" + } + }, + { + "tags": [ + "advertising=poster_box" + ], + "title": { + "ca": "un mupi", + "es": "un mupi", + "en": "a poster box" + } + }, + { + "tags": [ + "advertising=screen" + ], + "title": { + "ca": "una pantalla", + "es": "una pantalla", + "en": "a screen" + } + }, + { + "tags": [ + "advertising=sculpture" + ], + "title": { + "ca": "una escupltura", + "es": "una escultura", + "en": "an sculpture" + } + }, + { + "tags": [ + "advertising=sign" + ], + "title": { + "ca": "un lletrer", + "es": "un lletrer", + "en": "a sign" + } + }, + { + "tags": [ + "advertising=tarp" + ], + "title": { + "ca": "una lona", + "es": "una lona", + "en": "a tarp" + } + }, + { + "tags": [ + "advertising=totem" + ], + "title": { + "ca": "un tòtem", + "es": "un tótem", + "en": "a totem" + } + }, + { + "tags": [ + "advertising=wall_painting" + ], + "title": { + "ca": "una pintura a la paret", + "es": "una pitura en la pared", + "en": "a wall painted" + } + } + ] + } + ] +} diff --git a/assets/themes/advertising/icon.svg b/assets/themes/advertising/icon.svg new file mode 100644 index 0000000000..c5864208b8 --- /dev/null +++ b/assets/themes/advertising/icon.svg @@ -0,0 +1,83 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/assets/themes/advertising/license_info.json b/assets/themes/advertising/license_info.json index 8561f09b89..8e0fd7f47a 100644 --- a/assets/themes/advertising/license_info.json +++ b/assets/themes/advertising/license_info.json @@ -1,16 +1,6 @@ [ { - "path": "Advertising_icon.svg", - "license": "CC BY-SA 4.0", - "authors": [ - "PanierAvide" - ], - "sources": [ - "https://commons.wikimedia.org/wiki/File:Advertising_icon.svg" - ] - }, - { - "path": "Billboard_trunk.svg", + "path": "Billboard.svg", "license": "CC BY-SA 3.0", "authors": [ "Barnes38" @@ -39,6 +29,16 @@ "https://wiki.openstreetmap.org/wiki/File:Column.svg" ] }, + { + "path": "Newspaper_kiosk.svg", + "license": "CC BY-SA 3.0", + "authors": [ + "Barnes38" + ], + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Newspaper_kiosk_3.svg" + ] + }, { "path": "Poster_box.svg", "license": "CC BY-SA 3.0", @@ -58,5 +58,13 @@ "sources": [ "https://wiki.openstreetmap.org/wiki/File:Totem.svg" ] + }, + { + "path": "icon.svg", + "license": "Unkown", + "authors": [ + "Paunofu" + ], + "sources": [] } ] \ No newline at end of file diff --git a/scripts/printVersion.ts b/scripts/printVersion.ts deleted file mode 100644 index 10bdf47657..0000000000 --- a/scripts/printVersion.ts +++ /dev/null @@ -1,3 +0,0 @@ -import Constants from "../Models/Constants" - -console.log("git tag -a", Constants.vNumber, `-m "Deployed on ${new Date()}"`)