forked from MapComplete/MapComplete
Souvenir coins and notes
This commit is contained in:
parent
b1d915cec7
commit
6884eacd3b
10 changed files with 382 additions and 7 deletions
|
@ -18,7 +18,7 @@
|
|||
"osmTags": {
|
||||
"and": [
|
||||
"amenity=vending_machine",
|
||||
"vending=elongated_coin"
|
||||
"vending~.*elongated_coin.*"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -440,8 +440,5 @@
|
|||
"accepts_credit_cards"
|
||||
],
|
||||
"deletion": true,
|
||||
"allowMove": {
|
||||
"enableImproveAccuracy": true,
|
||||
"enableRelocation": true
|
||||
}
|
||||
}
|
||||
"allowMove": true
|
||||
}
|
10
assets/layers/souvenir_coin/license_info.json
Normal file
10
assets/layers/souvenir_coin/license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"path": "souvenir_coin.svg",
|
||||
"license": "CC0-1.0",
|
||||
"authors": [
|
||||
"Robin van der Linde"
|
||||
],
|
||||
"sources": []
|
||||
}
|
||||
]
|
160
assets/layers/souvenir_coin/souvenir_coin.json
Normal file
160
assets/layers/souvenir_coin/souvenir_coin.json
Normal file
|
@ -0,0 +1,160 @@
|
|||
{
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": "opening_hours~*",
|
||||
"then": "icons.isOpen"
|
||||
}
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "circle",
|
||||
"color": "#FFFFFF00"
|
||||
},
|
||||
{
|
||||
"icon": "./assets/layers/souvenir_coin/souvenir_coin.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
"opening_hours_24_7",
|
||||
{
|
||||
"builtin": "elongated_coin.designs",
|
||||
"id": "designs",
|
||||
"override": {
|
||||
"render": {
|
||||
"en": "This machine has {coin:design_count} designs available"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "coin:design_count=1",
|
||||
"then": {
|
||||
"en": "This machine has one design available"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "coin:design_count=2",
|
||||
"then": {
|
||||
"en": "This machine has two designs available"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "coin:design_count=3",
|
||||
"then": {
|
||||
"en": "This machine has three designs available"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "coin:design_count=4",
|
||||
"then": {
|
||||
"en": "This machine has four designs available"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"payment-options-split",
|
||||
"website",
|
||||
{
|
||||
"question": {
|
||||
"en": "How much does a souvenir coin cost?"
|
||||
},
|
||||
"id": "charge",
|
||||
"render": {
|
||||
"en": "A souvenir coins costs {charge}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "charge",
|
||||
"placeholder": {
|
||||
"en": "Cost (e.g. 2 EUR)"
|
||||
}
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "charge=2 EUR",
|
||||
"then": {
|
||||
"en": "A souvenir coin costs 2 euro"
|
||||
},
|
||||
"hideInAnswer": "_currency!~.*EUR.*"
|
||||
}
|
||||
]
|
||||
},
|
||||
"denominations-coins",
|
||||
{
|
||||
"question": {
|
||||
"en": "Is this machine located indoors?"
|
||||
},
|
||||
"id": "indoor",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "indoor=yes",
|
||||
"then": {
|
||||
"en": "This machine is located indoors."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "indoor=no",
|
||||
"then": {
|
||||
"en": "This machine is located outdoors."
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"level",
|
||||
"check_date"
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": 1,
|
||||
"color": "blue"
|
||||
}
|
||||
],
|
||||
"id": "souvenir_coin",
|
||||
"name": {
|
||||
"en": "Souvenir Coin Machines"
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing machines selling souvenir coins"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"amenity=vending_machine",
|
||||
"vending~.*souvenir_coins.*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Souvenir Coin Machine"
|
||||
}
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a souvenir coin machine"
|
||||
},
|
||||
"description": {
|
||||
"en": "Add a machine selling souvenir coins"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=vending_machine",
|
||||
"vending=souvenir_coins"
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
"open_now",
|
||||
"accepts_debit_cards",
|
||||
"accepts_credit_cards"
|
||||
],
|
||||
"deletion": true,
|
||||
"allowMove": true
|
||||
}
|
9
assets/layers/souvenir_coin/souvenir_coin.svg
Normal file
9
assets/layers/souvenir_coin/souvenir_coin.svg
Normal file
|
@ -0,0 +1,9 @@
|
|||
<svg width="250" height="250" viewBox="0 0 250 250" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="125" cy="125" r="121" fill="#CABFB9" stroke="#6D6662" stroke-width="8"/>
|
||||
<rect x="60" y="82.5" width="26" height="39" fill="#6D6662"/>
|
||||
<rect x="164" y="82.5" width="26" height="39" fill="#6D6662"/>
|
||||
<path d="M73 63L84.2583 82.5H61.7417L73 63Z" fill="#6D6662"/>
|
||||
<path d="M177 63L188.258 82.5H165.742L177 63Z" fill="#6D6662"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M60 121.5H190V186.5H138V160.5C138 153.32 132.18 147.5 125 147.5C117.82 147.5 112 153.32 112 160.5V186.5H60V121.5Z" fill="#6D6662"/>
|
||||
<circle cx="125" cy="125" r="109.5" stroke="#6D6662" stroke-dasharray="4 12"/>
|
||||
</svg>
|
After Width: | Height: | Size: 703 B |
2
assets/layers/souvenir_coin/souvenir_coin.svg.license
Normal file
2
assets/layers/souvenir_coin/souvenir_coin.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: Robin van der Linde
|
||||
SPDX-License-Identifier: CC0-1.0
|
10
assets/layers/souvenir_note/license_info.json
Normal file
10
assets/layers/souvenir_note/license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"path": "souvenir_note.svg",
|
||||
"license": "CC0-1.0",
|
||||
"authors": [
|
||||
"Robin van der Linde"
|
||||
],
|
||||
"sources": []
|
||||
}
|
||||
]
|
171
assets/layers/souvenir_note/souvenir_note.json
Normal file
171
assets/layers/souvenir_note/souvenir_note.json
Normal file
|
@ -0,0 +1,171 @@
|
|||
{
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": "opening_hours~*",
|
||||
"then": "icons.isOpen"
|
||||
}
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "circle",
|
||||
"color": "#FFFFFF00"
|
||||
},
|
||||
{
|
||||
"icon": "./assets/layers/souvenir_note/souvenir_note.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
"opening_hours_24_7",
|
||||
{
|
||||
"id": "designs",
|
||||
"question": {
|
||||
"en": "How many designs are available?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "note:design_count",
|
||||
"type": "pnat",
|
||||
"placeholder": {
|
||||
"en": "Number of designs (e.g. 5)",
|
||||
"de": "Motivanzahl (z.B. 5)",
|
||||
"es": "Número de diseños (por ejemplo, 5)",
|
||||
"ca": "Nombre de dissenys (p. e. 5)",
|
||||
"cs": "Počet vzorů (např. 5)"
|
||||
}
|
||||
},
|
||||
"render": {
|
||||
"en": "This machine has {note:design_count} designs available."
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "note:design_count=1",
|
||||
"then": {
|
||||
"en": "This machine has one design available."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "note:design_count=2",
|
||||
"then": {
|
||||
"en": "This machine has two designs available."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "note:design_count=3",
|
||||
"then": {
|
||||
"en": "This machine has three designs available."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "note:design_count=4",
|
||||
"then": {
|
||||
"en": "This machine has four designs available."
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"payment-options-split",
|
||||
"website",
|
||||
{
|
||||
"question": {
|
||||
"en": "How much does a souvenir note cost?"
|
||||
},
|
||||
"id": "charge",
|
||||
"render": {
|
||||
"en": "A souvenir note costs {charge}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "charge",
|
||||
"placeholder": {
|
||||
"en": "Cost (e.g. 2 EUR)"
|
||||
}
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "charge=2 EUR",
|
||||
"then": {
|
||||
"en": "A souvenir note costs 2 euro"
|
||||
},
|
||||
"hideInAnswer": "_currency!~.*EUR.*"
|
||||
}
|
||||
]
|
||||
},
|
||||
"denominations-coins",
|
||||
{
|
||||
"question": {
|
||||
"en": "Is this machine located indoors?"
|
||||
},
|
||||
"id": "indoor",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "indoor=yes",
|
||||
"then": {
|
||||
"en": "This machine is located indoors."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "indoor=no",
|
||||
"then": {
|
||||
"en": "This machine is located outdoors."
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"level",
|
||||
"check_date"
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": 1,
|
||||
"color": "blue"
|
||||
}
|
||||
],
|
||||
"id": "souvenir_note",
|
||||
"name": {
|
||||
"en": "Souvenir Banknote Machines"
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing machines selling souvenir banknotes"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"amenity=vending_machine",
|
||||
"vending~.*souvenir_notes.*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Souvenir Banknote Machine"
|
||||
}
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a souvenir banknote machine"
|
||||
},
|
||||
"description": {
|
||||
"en": "Add a machine selling souvenir banknotes"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=vending_machine",
|
||||
"vending=souvenir_notes"
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
"open_now",
|
||||
"accepts_debit_cards",
|
||||
"accepts_credit_cards"
|
||||
],
|
||||
"deletion": true,
|
||||
"allowMove": true
|
||||
}
|
12
assets/layers/souvenir_note/souvenir_note.svg
Normal file
12
assets/layers/souvenir_note/souvenir_note.svg
Normal file
|
@ -0,0 +1,12 @@
|
|||
<svg width="500" height="250" viewBox="0 0 500 250" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="140" height="250" fill="#F7EBF4"/>
|
||||
<rect x="140" width="360" height="250" fill="#E1BBD9"/>
|
||||
<rect x="4" y="4" width="492" height="242" stroke="black" stroke-width="8"/>
|
||||
<rect x="250" y="82.5" width="26" height="39" fill="#81576D"/>
|
||||
<rect x="354" y="82.5" width="26" height="39" fill="#81576D"/>
|
||||
<path d="M263 63L274.258 82.5H251.742L263 63Z" fill="#81576D"/>
|
||||
<path d="M367 63L378.258 82.5H355.742L367 63Z" fill="#81576D"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M250 121.5H380V186.5H328V160.5C328 153.32 322.18 147.5 315 147.5C307.82 147.5 302 153.32 302 160.5V186.5H250V121.5Z" fill="#81576D"/>
|
||||
<rect x="20" y="30" width="65" height="50" fill="#003399"/>
|
||||
<path d="M139.023 103.705C132.932 103.705 127.682 102.261 123.273 99.375C118.864 96.4659 115.466 92.2955 113.08 86.8636C110.693 81.4091 109.511 74.8523 109.534 67.1932C109.557 59.5341 110.75 53.0341 113.114 47.6932C115.5 42.3295 118.886 38.25 123.273 35.4545C127.682 32.6364 132.932 31.2273 139.023 31.2273C145.114 31.2273 150.364 32.6364 154.773 35.4545C159.205 38.25 162.614 42.3295 165 47.6932C167.386 53.0568 168.568 59.5568 168.545 67.1932C168.545 74.875 167.352 81.4432 164.966 86.8977C162.58 92.3523 159.182 96.5227 154.773 99.4091C150.386 102.273 145.136 103.705 139.023 103.705ZM139.023 89.8977C142.659 89.8977 145.602 88.0455 147.852 84.3409C150.102 80.6136 151.216 74.8977 151.193 67.1932C151.193 62.1477 150.682 57.9886 149.659 54.7159C148.636 51.4205 147.216 48.9659 145.398 47.3523C143.58 45.7386 141.455 44.9318 139.023 44.9318C135.409 44.9318 132.489 46.7614 130.261 50.4205C128.034 54.0568 126.909 59.6477 126.886 67.1932C126.864 72.3068 127.352 76.5455 128.352 79.9091C129.375 83.2727 130.807 85.7841 132.648 87.4432C134.489 89.0795 136.614 89.8977 139.023 89.8977Z" fill="#81576D"/>
|
||||
</svg>
|
After Width: | Height: | Size: 1.8 KiB |
2
assets/layers/souvenir_note/souvenir_note.svg.license
Normal file
2
assets/layers/souvenir_note/souvenir_note.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: Robin van der Linde
|
||||
SPDX-License-Identifier: CC0-1.0
|
|
@ -21,6 +21,8 @@
|
|||
"startLat": 53.0565,
|
||||
"startLon": 8.7492,
|
||||
"layers": [
|
||||
"elongated_coin"
|
||||
"elongated_coin",
|
||||
"souvenir_coin",
|
||||
"souvenir_note"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue