forked from MapComplete/MapComplete
Add ATMs
This commit is contained in:
parent
9a557b0bd1
commit
53fe70a677
4 changed files with 120 additions and 1 deletions
96
assets/layers/atm/atm.json
Normal file
96
assets/layers/atm/atm.json
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
{
|
||||||
|
"id": "atm",
|
||||||
|
"name": {
|
||||||
|
"en": "ATMs"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"en": "ATMS to withdraw money"
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"render": {
|
||||||
|
"en": "ATM"
|
||||||
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "brand~*",
|
||||||
|
"then": {
|
||||||
|
"en": "{brand} ATM"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"osmTags": "amenity=atm"
|
||||||
|
},
|
||||||
|
"minzoom": 13,
|
||||||
|
"presets": [
|
||||||
|
{
|
||||||
|
"tags": [
|
||||||
|
"amenity=atm"
|
||||||
|
],
|
||||||
|
"title": {
|
||||||
|
"en": "an ATM"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tagRenderings": [
|
||||||
|
{
|
||||||
|
"id": "name",
|
||||||
|
"question": {
|
||||||
|
"en": "What is the name of this ATM?"
|
||||||
|
},
|
||||||
|
"freeform": {
|
||||||
|
"key": "name",
|
||||||
|
"type": "string",
|
||||||
|
"placeholder": {
|
||||||
|
"en": "Name of the ATM"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"render": {
|
||||||
|
"en": "The name of this ATM is {name}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "brand",
|
||||||
|
"question": {
|
||||||
|
"en": "What brand is this ATM?"
|
||||||
|
},
|
||||||
|
"freeform": {
|
||||||
|
"key": "brand",
|
||||||
|
"type": "string",
|
||||||
|
"placeholder": {
|
||||||
|
"en": "Brand name"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"render": {
|
||||||
|
"en": "The brand of this ATM is {brand}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "operator",
|
||||||
|
"question": {
|
||||||
|
"en": "What company operates this ATM?"
|
||||||
|
},
|
||||||
|
"freeform": {
|
||||||
|
"key": "operator",
|
||||||
|
"type": "string",
|
||||||
|
"placeholder": {
|
||||||
|
"en": "Operator"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"render": {
|
||||||
|
"en": "The ATM is operated by {operator}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"opening_hours"
|
||||||
|
],
|
||||||
|
"mapRendering": [
|
||||||
|
{
|
||||||
|
"icon": "circle:white;./assets/layers/atm/atm.svg",
|
||||||
|
"location": [
|
||||||
|
"point",
|
||||||
|
"centroid"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
3
assets/layers/atm/atm.svg
Normal file
3
assets/layers/atm/atm.svg
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14">
|
||||||
|
<path d="M 0,0 C 0,1 0,2 0,3 H 1 V 1 h 12 v 2 h 1 V 0 C 9.3333333,0 4.6666667,0 0,0 Z m 2,2 c 0,3 0,6 0,9 0,0.599243 0.400757,1 1,1 h 8 c 0.527334,0 1,-0.448696 1,-1 0,-3 0,-6 0,-9 h -1 c 0,2.3333333 0,4.6666667 0,7 -1,0 -2,1 -2,2 H 5 C 5,10 4,9 3,9 3,6.6666667 3,4.3333333 3,2 Z M 7,4 C 5.429204,4 4,4.9528024 4,6 4,7.047198 5.429204,8 7,8 8.570796,8 10,7.047198 10,6 10,4.9528024 8.570796,4 7,4 Z M 2,12.5 C 2,13.554668 2.424727,14 3,14 h 8 c 0.527334,0 1,-0.445332 1,-1.5 -0.305085,0.271186 -0.496636,0.49272 -1,0.46875 l -8,0.0625 C 2.520606,13.00728 2.305085,12.805085 2,12.5 Z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 678 B |
13
assets/layers/atm/license_info.json
Normal file
13
assets/layers/atm/license_info.json
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"path": "atm.svg",
|
||||||
|
"license": "",
|
||||||
|
"authors": [
|
||||||
|
"Michael Glanznig",
|
||||||
|
"Andy Allan"
|
||||||
|
],
|
||||||
|
"sources": [
|
||||||
|
"https://github.com/gravitystorm/openstreetmap-carto/blob/master/symbols/amenity/atm.svg"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
|
@ -57,6 +57,12 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"name": {
|
||||||
|
"en": "Train Stations"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"en": "Layer showing train stations"
|
||||||
|
},
|
||||||
"mapRendering": [
|
"mapRendering": [
|
||||||
{
|
{
|
||||||
"icon": "./assets/themes/stations/rail-light.svg",
|
"icon": "./assets/themes/stations/rail-light.svg",
|
||||||
|
@ -151,7 +157,8 @@
|
||||||
"entrance",
|
"entrance",
|
||||||
"elevator",
|
"elevator",
|
||||||
"bench",
|
"bench",
|
||||||
"waste_basket"
|
"waste_basket",
|
||||||
|
"atm"
|
||||||
],
|
],
|
||||||
"override": {
|
"override": {
|
||||||
"minzoom": 19
|
"minzoom": 19
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue