From 95560d666cbb0f6ef9b3bd3275e1183041700bf6 Mon Sep 17 00:00:00 2001 From: paunofu Date: Fri, 27 Jan 2023 01:18:15 +0100 Subject: [PATCH] Add advertising theme --- .../themes/advertising/Advertising_icon.svg | 83 ++ assets/themes/advertising/Billboard.svg | 170 ++++ assets/themes/advertising/Board.svg | 177 ++++ assets/themes/advertising/Board_free.svg | 130 +++ assets/themes/advertising/Indication.svg | 227 +++++ assets/themes/advertising/Indication_post.svg | 232 ++++++ assets/themes/advertising/Indication_wall.svg | 220 +++++ assets/themes/advertising/JEI_3.svg | 121 +++ .../themes/advertising/Newspaper_kiosk_3.svg | 422 ++++++++++ .../themes/advertising/Political_Board_3.svg | 115 +++ assets/themes/advertising/Poster_box.svg | 205 +++++ assets/themes/advertising/Totem.svg | 281 +++++++ assets/themes/advertising/advertising.json | 786 ++++++++++++++++++ assets/themes/advertising/license_info.json | 62 ++ 14 files changed, 3231 insertions(+) create mode 100644 assets/themes/advertising/Advertising_icon.svg create mode 100644 assets/themes/advertising/Billboard.svg create mode 100644 assets/themes/advertising/Board.svg create mode 100644 assets/themes/advertising/Board_free.svg create mode 100644 assets/themes/advertising/Indication.svg create mode 100644 assets/themes/advertising/Indication_post.svg create mode 100644 assets/themes/advertising/Indication_wall.svg create mode 100644 assets/themes/advertising/JEI_3.svg create mode 100644 assets/themes/advertising/Newspaper_kiosk_3.svg create mode 100644 assets/themes/advertising/Political_Board_3.svg create mode 100644 assets/themes/advertising/Poster_box.svg create mode 100644 assets/themes/advertising/Totem.svg create mode 100644 assets/themes/advertising/advertising.json diff --git a/assets/themes/advertising/Advertising_icon.svg b/assets/themes/advertising/Advertising_icon.svg new file mode 100644 index 000000000..6798138e3 --- /dev/null +++ b/assets/themes/advertising/Advertising_icon.svg @@ -0,0 +1,83 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/assets/themes/advertising/Billboard.svg b/assets/themes/advertising/Billboard.svg new file mode 100644 index 000000000..d5007ee21 --- /dev/null +++ b/assets/themes/advertising/Billboard.svg @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/themes/advertising/Board.svg b/assets/themes/advertising/Board.svg new file mode 100644 index 000000000..1ac9fbde5 --- /dev/null +++ b/assets/themes/advertising/Board.svg @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/themes/advertising/Board_free.svg b/assets/themes/advertising/Board_free.svg new file mode 100644 index 000000000..57ff9cade --- /dev/null +++ b/assets/themes/advertising/Board_free.svg @@ -0,0 +1,130 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + Affichage libre + + + + + diff --git a/assets/themes/advertising/Indication.svg b/assets/themes/advertising/Indication.svg new file mode 100644 index 000000000..f9d4b9b5c --- /dev/null +++ b/assets/themes/advertising/Indication.svg @@ -0,0 +1,227 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + 3 km + + + + + + + + + + + + diff --git a/assets/themes/advertising/Indication_post.svg b/assets/themes/advertising/Indication_post.svg new file mode 100644 index 000000000..8b7ca2f53 --- /dev/null +++ b/assets/themes/advertising/Indication_post.svg @@ -0,0 +1,232 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + 3 km  + + + + + + + + + + + + diff --git a/assets/themes/advertising/Indication_wall.svg b/assets/themes/advertising/Indication_wall.svg new file mode 100644 index 000000000..020f6a2a5 --- /dev/null +++ b/assets/themes/advertising/Indication_wall.svg @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + 3 km + + + + + + + + + + + + diff --git a/assets/themes/advertising/JEI_3.svg b/assets/themes/advertising/JEI_3.svg new file mode 100644 index 000000000..81f85dc41 --- /dev/null +++ b/assets/themes/advertising/JEI_3.svg @@ -0,0 +1,121 @@ + + + + + + + + + + + + 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_3.svg new file mode 100644 index 000000000..d18e432c5 --- /dev/null +++ b/assets/themes/advertising/Newspaper_kiosk_3.svg @@ -0,0 +1,422 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ELLE + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/themes/advertising/Political_Board_3.svg b/assets/themes/advertising/Political_Board_3.svg new file mode 100644 index 000000000..b7e202ba3 --- /dev/null +++ b/assets/themes/advertising/Political_Board_3.svg @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + VOTE ! + + diff --git a/assets/themes/advertising/Poster_box.svg b/assets/themes/advertising/Poster_box.svg new file mode 100644 index 000000000..9f6e3d584 --- /dev/null +++ b/assets/themes/advertising/Poster_box.svg @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/themes/advertising/Totem.svg b/assets/themes/advertising/Totem.svg new file mode 100644 index 000000000..d16f89190 --- /dev/null +++ b/assets/themes/advertising/Totem.svg @@ -0,0 +1,281 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/themes/advertising/advertising.json b/assets/themes/advertising/advertising.json new file mode 100644 index 000000000..7436a1273 --- /dev/null +++ b/assets/themes/advertising/advertising.json @@ -0,0 +1,786 @@ + { + "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" + }, + "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": [ + "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" + } + } + ], + "wayHandling": 1 + } + ], + "roamingRenderings": [] + } \ No newline at end of file diff --git a/assets/themes/advertising/license_info.json b/assets/themes/advertising/license_info.json index e69de29bb..8561f09b8 100644 --- a/assets/themes/advertising/license_info.json +++ b/assets/themes/advertising/license_info.json @@ -0,0 +1,62 @@ +[ + { + "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", + "license": "CC BY-SA 3.0", + "authors": [ + "Barnes38" + ], + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Billboard_trunk.svg" + ] + }, + { + "path": "Board.svg", + "license": "CC BY-SA 3.0", + "authors": [ + "Barnes38" + ], + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Board.svg" + ] + }, + { + "path": "Column.svg", + "license": "CC BY-SA 3.0", + "authors": [ + "Barnes38" + ], + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Column.svg" + ] + }, + { + "path": "Poster_box.svg", + "license": "CC BY-SA 3.0", + "authors": [ + "Barnes38" + ], + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Poster_box.svg" + ] + }, + { + "path": "Totem.svg", + "license": "CC BY-SA 3.0", + "authors": [ + "Barnes38" + ], + "sources": [ + "https://wiki.openstreetmap.org/wiki/File:Totem.svg" + ] + } +] \ No newline at end of file