diff --git a/assets/layers/parking_ticket_machine/license_info.json b/assets/layers/parking_ticket_machine/license_info.json
new file mode 100644
index 000000000..42501091c
--- /dev/null
+++ b/assets/layers/parking_ticket_machine/license_info.json
@@ -0,0 +1,12 @@
+[
+ {
+ "path": "parking_tickets.svg",
+ "license": "CC0",
+ "authors": [
+ "Jérémy Ragusa"
+ ],
+ "sources": [
+ "https://github.com/gravitystorm/openstreetmap-carto/blob/master/symbols/amenity/parking_tickets.svg"
+ ]
+ }
+]
\ No newline at end of file
diff --git a/assets/layers/parking_ticket_machine/parking_ticket_machine.json b/assets/layers/parking_ticket_machine/parking_ticket_machine.json
new file mode 100644
index 000000000..e3f140368
--- /dev/null
+++ b/assets/layers/parking_ticket_machine/parking_ticket_machine.json
@@ -0,0 +1,79 @@
+{
+ "id": "parking_ticket_machine",
+ "name": {
+ "en": "Parking Ticket Machines",
+ "nl": "Parkeerkaartautomaten"
+ },
+ "description": {
+ "en": "Layer with parking ticket machines to pay for parking.",
+ "nl": "Laag met parkeerkaartautomaten om voor parkeren te betalen."
+ },
+ "title": {
+ "render": {
+ "en": "Parking Ticket Machine",
+ "nl": "Parkeerkaartautomaat"
+ }
+ },
+ "source": {
+ "osmTags": {
+ "and": [
+ "amenity=vending_machine",
+ "vending=parking_tickets"
+ ]
+ }
+ },
+ "minzoom": 16,
+ "presets": [
+ {
+ "tags": [
+ "amenity=vending_machine",
+ "vending=parking_tickets"
+ ],
+ "title": {
+ "en": "a parking ticket machine",
+ "nl": "een parkeerkaartautomaat"
+ }
+ }
+ ],
+ "tagRenderings": [
+ "images",
+ "payment-options-split",
+ "denominations-coins",
+ "denominations-notes",
+ {
+ "id": "ref",
+ "question": {
+ "en": "What is the reference number of this parking ticket machine?",
+ "nl": "Wat is het referentienummer van deze parkeerkaartautomaat?"
+ },
+ "freeform": {
+ "key": "ref",
+ "type": "string",
+ "placeholder": {
+ "en": "Reference number",
+ "nl": "Referentienummer"
+ }
+ },
+ "render": {
+ "en": "This parking ticket machine has the reference number {ref}",
+ "nl": "Deze parkeerkaartautomaat heeft het referentienummer {ref}"
+ },
+ "mappings": [
+ {
+ "if": "noref=yes",
+ "then": {
+ "en": "This parking ticket machine has no reference number",
+ "nl": "Deze parkeerkaartautomaat heeft geen referentienummer"
+ }
+ }
+ ]
+ }
+ ],
+ "mapRendering": [
+ {
+ "location": ["point", "centroid"],
+ "icon": "square:white;./assets/layers/parking_ticket_machine/parking_tickets.svg",
+ "iconSize": "20,20,center"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/assets/layers/parking_ticket_machine/parking_tickets.svg b/assets/layers/parking_ticket_machine/parking_tickets.svg
new file mode 100644
index 000000000..8e7a6f5cd
--- /dev/null
+++ b/assets/layers/parking_ticket_machine/parking_tickets.svg
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/assets/layers/ticket_machine/ticket_machine.json b/assets/layers/ticket_machine/ticket_machine.json
index 7c84231d3..541fd6213 100644
--- a/assets/layers/ticket_machine/ticket_machine.json
+++ b/assets/layers/ticket_machine/ticket_machine.json
@@ -66,7 +66,8 @@
]
},
"payment-options-split",
- "denominations-coins"
+ "denominations-coins",
+ "denominations-notes"
],
"presets": [
{
diff --git a/assets/tagRenderings/100euro.svg b/assets/tagRenderings/100euro.svg
new file mode 100644
index 000000000..1a4ce26b0
--- /dev/null
+++ b/assets/tagRenderings/100euro.svg
@@ -0,0 +1,174 @@
+
+
+
\ No newline at end of file
diff --git a/assets/tagRenderings/10euro.svg b/assets/tagRenderings/10euro.svg
new file mode 100644
index 000000000..30f5d5856
--- /dev/null
+++ b/assets/tagRenderings/10euro.svg
@@ -0,0 +1,172 @@
+
+
+
\ No newline at end of file
diff --git a/assets/tagRenderings/200euro.svg b/assets/tagRenderings/200euro.svg
new file mode 100644
index 000000000..7e089d6f3
--- /dev/null
+++ b/assets/tagRenderings/200euro.svg
@@ -0,0 +1,181 @@
+
+
+
\ No newline at end of file
diff --git a/assets/tagRenderings/20euro.svg b/assets/tagRenderings/20euro.svg
new file mode 100644
index 000000000..2644e65b2
--- /dev/null
+++ b/assets/tagRenderings/20euro.svg
@@ -0,0 +1,175 @@
+
+
+
\ No newline at end of file
diff --git a/assets/tagRenderings/500euro.svg b/assets/tagRenderings/500euro.svg
new file mode 100644
index 000000000..2046d14ba
--- /dev/null
+++ b/assets/tagRenderings/500euro.svg
@@ -0,0 +1,169 @@
+
+
+
\ No newline at end of file
diff --git a/assets/tagRenderings/50euro.svg b/assets/tagRenderings/50euro.svg
new file mode 100644
index 000000000..88df5020e
--- /dev/null
+++ b/assets/tagRenderings/50euro.svg
@@ -0,0 +1,172 @@
+
+
+
\ No newline at end of file
diff --git a/assets/tagRenderings/5euro.svg b/assets/tagRenderings/5euro.svg
new file mode 100644
index 000000000..1f319be78
--- /dev/null
+++ b/assets/tagRenderings/5euro.svg
@@ -0,0 +1,93 @@
+
+
+
\ No newline at end of file
diff --git a/assets/tagRenderings/license_info.json b/assets/tagRenderings/license_info.json
index 01abeaa68..85df630a9 100644
--- a/assets/tagRenderings/license_info.json
+++ b/assets/tagRenderings/license_info.json
@@ -1,4 +1,15 @@
[
+ {
+ "path": "100euro.svg",
+ "license": "CC0",
+ "authors": [
+ "OpenClipart",
+ "frankes"
+ ],
+ "sources": [
+ "https://openclipart.org/detail/311346/worksheet-100-euro-coloured"
+ ]
+ },
{
"path": "10cent.svg",
"license": "CC0",
@@ -10,6 +21,17 @@
"https://openclipart.org/detail/311337/worksheet-10-cent-coloured"
]
},
+ {
+ "path": "10euro.svg",
+ "license": "CC0",
+ "authors": [
+ "OpenClipart",
+ "frankes"
+ ],
+ "sources": [
+ "https://openclipart.org/detail/311343/worksheet-10-euro-coloured"
+ ]
+ },
{
"path": "1cent.svg",
"license": "CC0",
@@ -32,6 +54,17 @@
"https://openclipart.org/detail/311340/worksheet-1-euro-coloured"
]
},
+ {
+ "path": "200euro.svg",
+ "license": "CC0",
+ "authors": [
+ "OpenClipart",
+ "frankes"
+ ],
+ "sources": [
+ "https://openclipart.org/detail/311347/worksheet-200-euro-coloured"
+ ]
+ },
{
"path": "20cent.svg",
"license": "CC0",
@@ -43,6 +76,17 @@
"https://openclipart.org/detail/311338/worksheet-20-cent-coloured"
]
},
+ {
+ "path": "20euro.svg",
+ "license": "CC0",
+ "authors": [
+ "OpenClipart",
+ "frankes"
+ ],
+ "sources": [
+ "https://openclipart.org/detail/311344/worksheet-20-euro-coloured"
+ ]
+ },
{
"path": "2cent.svg",
"license": "CC0",
@@ -65,6 +109,17 @@
"https://openclipart.org/detail/311341/worksheet-2-euro-coloured"
]
},
+ {
+ "path": "500euro.svg",
+ "license": "CC0",
+ "authors": [
+ "OpenClipart",
+ "frankes"
+ ],
+ "sources": [
+ "https://openclipart.org/detail/311348/worksheet-500-euro-coloured"
+ ]
+ },
{
"path": "50cent.svg",
"license": "CC0",
@@ -76,6 +131,17 @@
"https://openclipart.org/detail/311339/worksheet-50-cent-coloured"
]
},
+ {
+ "path": "50euro.svg",
+ "license": "CC0",
+ "authors": [
+ "OpenClipart",
+ "frankes"
+ ],
+ "sources": [
+ "https://openclipart.org/detail/311345/worksheet-50-euro-coloured"
+ ]
+ },
{
"path": "5cent.svg",
"license": "CC0",
@@ -87,6 +153,17 @@
"https://openclipart.org/detail/311336/worksheet-5-cent-coloured"
]
},
+ {
+ "path": "5euro.svg",
+ "license": "CC0",
+ "authors": [
+ "OpenClipart",
+ "frankes"
+ ],
+ "sources": [
+ "https://openclipart.org/detail/311342/worksheet-5-euro-coloured"
+ ]
+ },
{
"path": "audio_induction_loop.svg",
"license": "CC-BY 4.0",
diff --git a/assets/tagRenderings/questions.json b/assets/tagRenderings/questions.json
index 5771f2c70..b16cb995e 100644
--- a/assets/tagRenderings/questions.json
+++ b/assets/tagRenderings/questions.json
@@ -1189,6 +1189,105 @@
}
]
},
+ "denominations-notes": {
+ "condition": {
+ "and": [
+ {
+ "or": [
+ "payment:notes=yes",
+ "payment:cash=yes"
+ ]
+ },
+ {
+ "or": [
+ "_country=at",
+ "_country=be",
+ "_country=cy",
+ "_country=de",
+ "_country=ee",
+ "_country=es",
+ "_country=fi",
+ "_country=fr",
+ "_country=gr",
+ "_country=hr",
+ "_country=ie",
+ "_country=it",
+ "_country=lt",
+ "_country=lu",
+ "_country=lv",
+ "_country=mt",
+ "_country=nl",
+ "_country=pt",
+ "_country=si",
+ "_country=sk"
+ ]
+ }
+ ]
+ },
+ "question": {
+ "en": "what notes can you use to pay here?",
+ "nl": "Met welke bankbiljetten kan je hier betalen?"
+ },
+ "multiAnswer": true,
+ "mappings": [
+ {
+ "if": "payment:notes:denominations=5 EUR",
+ "icon": "./assets/tagRenderings/5euro.svg",
+ "then": {
+ "en": "5 euro notes are accepted",
+ "nl": "Biljetten van 5 euro worden geaccepteerd"
+ }
+ },
+ {
+ "if": "payment:notes:denominations=10 EUR",
+ "icon": "./assets/tagRenderings/10euro.svg",
+ "then": {
+ "en": "10 euro notes are accepted",
+ "nl": "Biljetten van 10 euro worden geaccepteerd"
+ }
+ },
+ {
+ "if": "payment:notes:denominations=20 EUR",
+ "icon": "./assets/tagRenderings/20euro.svg",
+ "then": {
+ "en": "20 euro notes are accepted",
+ "nl": "Biljetten van 20 euro worden geaccepteerd"
+ }
+ },
+ {
+ "if": "payment:notes:denominations=50 EUR",
+ "icon": "./assets/tagRenderings/50euro.svg",
+ "then": {
+ "en": "50 euro notes are accepted",
+ "nl": "Biljetten van 50 euro worden geaccepteerd"
+ }
+ },
+ {
+ "if": "payment:notes:denominations=100 EUR",
+ "icon": "./assets/tagRenderings/100euro.svg",
+ "then": {
+ "en": "100 euro notes are accepted",
+ "nl": "Biljetten van 100 euro worden geaccepteerd"
+ }
+ },
+ {
+ "if": "payment:notes:denominations=200 EUR",
+ "icon": "./assets/tagRenderings/200euro.svg",
+ "then": {
+ "en": "200 euro notes are accepted",
+ "nl": "Biljetten van 200 euro worden geaccepteerd"
+ }
+ },
+ {
+ "if": "payment:notes:denominations=500 EUR",
+ "icon": "./assets/tagRenderings/500euro.svg",
+ "then": {
+ "en": "500 euro notes are accepted",
+ "nl": "Biljetten van 500 euro worden geaccepteerd"
+ }
+ }
+ ]
+ },
"last_edit": {
"#": "Gives some metainfo about the last edit and who did edit it - rendering only",
"condition": "_last_edit:contributor~*",
diff --git a/assets/themes/parkings/parkings.json b/assets/themes/parkings/parkings.json
index 51be42b15..21d009368 100644
--- a/assets/themes/parkings/parkings.json
+++ b/assets/themes/parkings/parkings.json
@@ -49,6 +49,7 @@
"widenFactor": 1.2,
"layers": [
"parking",
- "parking_spaces"
+ "parking_spaces",
+ "parking_ticket_machine"
]
}
\ No newline at end of file