2020-10-23 19:26:08 +02:00
|
|
|
{
|
|
|
|
"id": "charging_stations",
|
|
|
|
"title": {
|
|
|
|
"en": "Charging stations"
|
|
|
|
},
|
|
|
|
"shortDescription": {
|
|
|
|
"en": "A worldwide map of charging stations"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"en": "On this open map, one can find and mark information about charging stations"
|
|
|
|
},
|
|
|
|
"language": [
|
|
|
|
"en"
|
|
|
|
],
|
|
|
|
"maintainer": "",
|
2020-12-02 21:23:23 +01:00
|
|
|
"icon": "./assets/themes/charging_stations/logo.svg",
|
2020-10-23 19:26:08 +02:00
|
|
|
"version": "0",
|
|
|
|
"startLat": 0,
|
|
|
|
"startLon": 0,
|
|
|
|
"startZoom": 1,
|
|
|
|
"widenFactor": 0.05,
|
|
|
|
"socialImage": "",
|
|
|
|
"layers": [
|
|
|
|
{
|
|
|
|
"id": "charging_stations",
|
|
|
|
"name": {
|
|
|
|
"en": "Charging stations"
|
|
|
|
},
|
|
|
|
"minzoom": 10,
|
|
|
|
"overpassTags": {
|
|
|
|
"and": [
|
|
|
|
"amenity=charging_station"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"title": {
|
|
|
|
"render": {
|
|
|
|
"en": "Charging station"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"en": "A charging station"
|
|
|
|
},
|
|
|
|
"tagRenderings": [
|
2020-11-02 23:17:20 +01:00
|
|
|
"images",
|
2020-10-25 00:45:25 +02:00
|
|
|
{
|
|
|
|
"#": "Type",
|
2020-12-02 21:23:23 +01:00
|
|
|
"question": "Is this charging station meant for cars or bicycles?",
|
2020-10-25 00:45:25 +02:00
|
|
|
"mappings": [
|
|
|
|
{
|
2020-12-02 21:23:23 +01:00
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"motorcar=yes",
|
|
|
|
"bicycle=yes"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": "This is a charging station for <b>both bicycles and cars</b>"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"motorcar=",
|
|
|
|
"car=",
|
|
|
|
"bicycle=yes"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": "This is a charging station exclusively for <b>bicycles</b>"
|
2020-10-25 00:45:25 +02:00
|
|
|
},
|
|
|
|
{
|
2020-12-02 21:23:23 +01:00
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"motorcar=yes",
|
|
|
|
"car=",
|
|
|
|
"bicycle="
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": "This is a charging station exclusively for <b>electric cars and similar vehicles</b>"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"car=yes",
|
|
|
|
"bicycle="
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": "This is a charging station exclusively for <b>electric cars</b>",
|
|
|
|
"hideInAnswer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"car=yes",
|
|
|
|
"bicycle=yes"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": "This is a charging station for <b>both electric cars and bicycles</b>",
|
|
|
|
"hideInAnswer": true
|
2020-10-25 00:45:25 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"#": "capacity",
|
|
|
|
"render": "{capacity} vehicles can be charged here",
|
|
|
|
"freeform": {
|
|
|
|
"key": "capacity",
|
|
|
|
"type": "pnat"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"#": "Authentication",
|
|
|
|
"multiAnswer": true,
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "authentication:membership_card=yes",
|
|
|
|
"then": "Authentication by a membership card"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "authentication:app=yes",
|
|
|
|
"then": "Authentication by an app"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "authentication:phone_call=yes",
|
|
|
|
"then": "Authentication via phone call is available"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "authentication:short_message=yes",
|
|
|
|
"then": "Authentication via phone call is available"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "authentication:nfc=yes",
|
|
|
|
"then": "Authentication via NFC is available"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "authentication:money_card=yes",
|
|
|
|
"then": "Authentication via Money Card is available"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "authentication:debig=yes",
|
|
|
|
"then": "Authentication via debit card is available"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "authentication:none=yes",
|
|
|
|
"then": "No authentication is needed"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"#": "Auth phone",
|
|
|
|
"render": "Authenticate by calling or SMS'ing to <a href='tel:{authentication:phone_call:number}'>{authentication:phone_call:number}</a>",
|
|
|
|
"freeform": {
|
|
|
|
"key": "authentication:phone_call:number",
|
|
|
|
"type": "phone"
|
|
|
|
},
|
|
|
|
"condition": {
|
|
|
|
"or": [
|
|
|
|
"authentication:phone_call=yes",
|
|
|
|
"authentication:short_message=yes"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"#": "OH",
|
|
|
|
"render": "{opening_hours_table(opening_hours)}",
|
|
|
|
"freeform": {
|
|
|
|
"key": "opening_hours",
|
|
|
|
"type": "opening_hours"
|
|
|
|
},
|
|
|
|
"question": {
|
|
|
|
"en": "When is this charging station opened?"
|
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "opening_hours=24/7",
|
|
|
|
"then": "24/7 opened (including holidays)"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-10-23 19:26:08 +02:00
|
|
|
{
|
|
|
|
"#": "Network",
|
|
|
|
"render": {
|
|
|
|
"en": "{network}"
|
|
|
|
},
|
|
|
|
"question": {
|
|
|
|
"en": "Which is the network of this charging stationg?"
|
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "network"
|
|
|
|
},
|
|
|
|
"mappings": [
|
2020-10-23 21:41:16 +02:00
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"no:network=yes"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
|
|
|
"en": "Not part of a bigger network"
|
|
|
|
}
|
|
|
|
},
|
2020-10-23 19:26:08 +02:00
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"network=AeroVironment"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
|
|
|
"en": "AeroVironment"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"network=Blink"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
|
|
|
"en": "Blink"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"network=eVgo"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": {
|
|
|
|
"en": "eVgo"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"hideUnderlayingFeaturesMinPercentage": 0,
|
|
|
|
"icon": {
|
2020-12-02 21:23:23 +01:00
|
|
|
"render": "pin:#fff;./assets/themes/charging_stations/plug.svg",
|
|
|
|
"mappings": [
|
|
|
|
{
|
|
|
|
"if": "bicycle=yes",
|
|
|
|
"then": "pin:#fff;./assets/themes/charging_stations/bicycle.svg"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"or": [
|
|
|
|
"car=yes",
|
|
|
|
"motorcar=yes"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": "pin:#fff;./assets/themes/charging_stations/car.svg"
|
|
|
|
}
|
|
|
|
]
|
2020-10-23 19:26:08 +02:00
|
|
|
},
|
2020-12-02 21:23:23 +01:00
|
|
|
"iconOverlays": [
|
|
|
|
{
|
|
|
|
"if": {
|
|
|
|
"and": [
|
|
|
|
"bicycle=yes",
|
|
|
|
{
|
|
|
|
"or": [
|
|
|
|
"motorcar=yes",
|
|
|
|
"car=yes"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"then": "circle:#fff;./assets/themes/charging_stations/car.svg",
|
|
|
|
"badge": true
|
|
|
|
}
|
|
|
|
],
|
2020-10-23 19:26:08 +02:00
|
|
|
"width": {
|
|
|
|
"render": "8"
|
|
|
|
},
|
|
|
|
"iconSize": {
|
2020-12-02 21:23:23 +01:00
|
|
|
"render": "50,50,bottom"
|
2020-10-23 19:26:08 +02:00
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"render": "#00f"
|
|
|
|
},
|
2020-10-25 00:45:25 +02:00
|
|
|
"presets": [
|
|
|
|
{
|
|
|
|
"tags": [
|
|
|
|
"amenity=charging_station"
|
|
|
|
],
|
|
|
|
"title": "Charging station"
|
|
|
|
}
|
|
|
|
],
|
2020-10-23 19:26:08 +02:00
|
|
|
"wayHandling": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"roamingRenderings": []
|
|
|
|
}
|