diff --git a/assets/svg/license_info.json b/assets/svg/license_info.json index 188f3cc9f3..e1f30e21e1 100644 --- a/assets/svg/license_info.json +++ b/assets/svg/license_info.json @@ -815,6 +815,16 @@ ], "sources": [] }, + { + "path": "nfc_card.svg", + "license": "CC0", + "authors": [ + "Stijn Wens" + ], + "sources": [ + "https://wens.be/free-antwerpenize-bicycle-font" + ] + }, { "path": "no_checkmark.svg", "license": "CC0; trivial", @@ -887,6 +897,16 @@ "https://www.OpenStreetMap.org" ] }, + { + "path": "payment_card.svg", + "license": "CC0", + "authors": [ + " \tMaxi Koichi (maxixam)" + ], + "sources": [ + "https://commons.wikimedia.org/wiki/File:Credit_Card_-_The_Noun_Project.svg" + ] + }, { "path": "pencil.svg", "license": "MIT", diff --git a/assets/svg/nfc_card.svg b/assets/svg/nfc_card.svg index 240a6be153..f7e89fabfd 100644 --- a/assets/svg/nfc_card.svg +++ b/assets/svg/nfc_card.svg @@ -1 +1,34 @@ - + + + + + + diff --git a/assets/themes/bicycle_rental/bicycle_rental.json b/assets/themes/bicycle_rental/bicycle_rental.json index e69de29bb2..33a3d44c09 100644 --- a/assets/themes/bicycle_rental/bicycle_rental.json +++ b/assets/themes/bicycle_rental/bicycle_rental.json @@ -0,0 +1,242 @@ +{ + "id": "bicycle_rental", + "title": { + "en": "Bicycle rental", + "nl": "Fietsverhuur" + }, + "shortDescription": { + "en": "A map with biyccle rental stations and bicycle rental shops", + "nl": "Een kaart met fietsverhuurpunten en fietsverhuurzaken" + }, + "description": { + "en": "On this map, you'll find the many biycle rental stations as they are known by OpenStreetMap", + "nl": "Op deze kaart vind je verschillende fietsverhuurpunten en fietsverhuurzaken" + }, + "maintainer": "", + "icon": "./assets/themes/bicycle_rental/logo.svg", + "version": "0", + "startLat": 0, + "startLon": 0, + "startZoom": 1, + "widenFactor": 0.05, + "socialImage": "", + "layers": [ + { + "id": "bicycle_rental", + "name": { + "en": "Bicycle rental", + "nl": "Fietsverhuur" + }, + "source": { + "osmTags": { + "or": [ + "amenity=bicycle_rental", + "bicycle_rental~*", + "service:bicycle:rental=yes", + "rental~.*bicycle.*" + ] + } + }, + "minzoom": 12, + "title": { + "render": { + "en": "Bicycle rental", + "nl": "Fietsverhuur" + }, + "mappings": [ + { + "if": { + "and": [ + "name~*" + ] + }, + "then": { + "en": "{name}", + "nl": "{name}" + } + } + ] + }, + "description": { + "en": "Bicycle rental stations", + "nl": "Fietsverhuustations" + }, + "tagRenderings": [ + { + "id": "bicycle_rental_type", + "question": { + "en": "What kind of bicycle rental is this?", + "nl": "Wat voor fietsverhuur is dit?" + }, + "mappings": [ + { + "if": { + "and": [ + "shop=bicycle_rental", + "bicycle_rental=shop" + ] + }, + "then": { + "en": "This is a shop whose main focus is bicycle rental", + "nl": "Dit is een zaak die focust op fietsverhuur" + } + }, + { + "if": { + "and": [ + "shop=rental" + ] + }, + "then": { + "en": "This is a rental buisiness which rents out various objects and/or vehicles. It rents out bicycles too, but this is not the main focus", + "nl": "Dit is een zaak die verschillende voorwerpen en/of voertuigen verhuurt, waaronder ook fietsen; al zijn fietsen niet de hoofdfocus" + }, + "hideInAnswer": true + }, + { + "if": { + "and": [ + "service:bicycle:rental=yes", + "shop=bicycle" + ] + }, + "then": { + "en": "This is a shop which sells or repairs bicycles, but also rents out bicycles", + "nl": "Dit is een fietsenmaker of fietswinkel die ook fietsen veruurt" + } + }, + { + "if": "bicycle_rental=docking_station", + "then": { + "en": "This is an automated docking station, where a bicycle is mechanically locked into a structure", + "nl": "Dit is een docking station waar de fietsen mechanisch in een grotere structuur worden vastgemaakt" + } + }, + { + "if": "bicycle_rental=key_dispensing_machine", + "then": { + "en": "A machine is present which dispenses and accepts keys, eventually after authentication and/or payment. The bicycles are parked nearby", + "nl": "Hier is een machine die fietssleutels verdeelt en terugneemt, eventueel na aanmelden of betaling. De fietsen staan in de buurt geparkeerd" + } + }, + { + "if": "bicycle_rental=dropoff_point", + "then": { + "en": "This is a dropoff point: a designated bicycle parking for this cycle rental", + "nl": "Dit is een afzetpunt: een parking met duidelijke signalisatie waar (enkel) fietsen van deze fietsverhuur gezet worden" + } + } + ] + }, + "website", + "email", + "phone", + { + "builtin": "opening_hours", + "override": { + "condition": { + "or": [ + "shop~*", + "opening_hours~*" + ] + } + } + }, + { + "builtin": "payment-options", + "override": { + "condition": "shop~*" + } + }, + { + "builtin": "payment-options-advanced", + "override": { + "condition": "shop=" + } + }, + { + "id": "bicycle-types", + "question": { + "en": "What kind of bicycles and accessories are rented here?", + "nl": "Wat voor soort fietsen en fietstoebehren worden hier verhuurd?" + }, + "render": { + "en": "{rental} is rented here" + }, + "freeform": { + "key": "rental" + }, + "multiAnswer": true, + "mappings": [ + { + "if": "rental=city_bike", + "then": { + "en": "Normal city bikes can be rented here" + } + }, + { + "if": "rental=ebike", + "then": { + "en": "Electrical bikes can be rented here" + } + }, + { + "if": "rental=bmx", + "then": { + "en": "BMX bikes can be rented here" + } + } + ] + }, + { + "rewrite": { + "sourceString": [ + "bicycle_type", + "bicycle_types" + ], + "into": [ + [ + "city_bike", + "city bikes" + ], + [ + "ebike", + "electrical bikes" + ], + "bmx" + ] + }, + "renderings": [ + { + "question": { + "en": "How much bicycle_type ", + "nl": "Hoeveel " + } + } + ] + } + ], + "presets": [], + "mapRendering": [ + { + "icon": "./assets/themes/bicycle_rental/logo.svg", + "iconSize": { + "render": "40,40,center" + }, + "location": [ + "point", + "centroid" + ] + }, + { + "color": { + "render": "#3333aa88" + }, + "width": { + "render": "2" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/assets/themes/bicycle_rental/license_info.json b/assets/themes/bicycle_rental/license_info.json new file mode 100644 index 0000000000..ec94fa35d1 --- /dev/null +++ b/assets/themes/bicycle_rental/license_info.json @@ -0,0 +1,22 @@ +[ + { + "path": "logo.svg", + "license": "CC0", + "authors": [ + "Stijn Wens" + ], + "sources": [ + "https://wens.be/free-antwerpenize-bicycle-font" + ] + }, + { + "path": "rental.svg", + "license": "CC0", + "authors": [ + "Stijn Wens" + ], + "sources": [ + "https://wens.be/free-antwerpenize-bicycle-font" + ] + } +] \ No newline at end of file diff --git a/assets/themes/bicycle_rental/logo.svg b/assets/themes/bicycle_rental/logo.svg new file mode 100644 index 0000000000..db9480dc63 --- /dev/null +++ b/assets/themes/bicycle_rental/logo.svg @@ -0,0 +1,35 @@ + + + + + + diff --git a/assets/themes/bicycle_rental/rental.svg b/assets/themes/bicycle_rental/rental.svg new file mode 100644 index 0000000000..6b4ba77f4d --- /dev/null +++ b/assets/themes/bicycle_rental/rental.svg @@ -0,0 +1,33 @@ + + + + + +