forked from MapComplete/MapComplete
Themes(infrastructure): Add telecom exchange
This commit is contained in:
parent
cd6bbdf64a
commit
80953d35ac
6 changed files with 108 additions and 1 deletions
15
assets/layers/telecom_exchange/license_info.json
Normal file
15
assets/layers/telecom_exchange/license_info.json
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"path": "telecom_exchange.svg",
|
||||||
|
"license": "CC0-1.0",
|
||||||
|
"authors": [
|
||||||
|
"Abu Badali",
|
||||||
|
"Sarang",
|
||||||
|
"Robin van der Linde"
|
||||||
|
],
|
||||||
|
"sources": [
|
||||||
|
"https://commons.wikimedia.org/wiki/File:Phoneicon.svg",
|
||||||
|
"https://commons.wikimedia.org/wiki/File:Globe_icon.svg"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
84
assets/layers/telecom_exchange/telecom_exchange.json
Normal file
84
assets/layers/telecom_exchange/telecom_exchange.json
Normal file
|
|
@ -0,0 +1,84 @@
|
||||||
|
{
|
||||||
|
"id": "telecom_exchange",
|
||||||
|
"name": {
|
||||||
|
"en": "Telecom Exchanges"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"en": "Layer showing telecom exchanges, which are facilities that connect telephone lines and manage telecommunications traffic."
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"osmTags": "telecom=exchange"
|
||||||
|
},
|
||||||
|
"minzoom": 9,
|
||||||
|
"title": {
|
||||||
|
"render": {
|
||||||
|
"en": "Telecom Exchange"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pointRendering": [
|
||||||
|
{
|
||||||
|
"marker": [
|
||||||
|
{
|
||||||
|
"icon": "./assets/layers/telecom_exchange/telecom_exchange.svg"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"location": [
|
||||||
|
"point",
|
||||||
|
"centroid"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"presets": [
|
||||||
|
{
|
||||||
|
"title": {
|
||||||
|
"en": "a telecom exchange"
|
||||||
|
},
|
||||||
|
"tags": [
|
||||||
|
"telecom=exchange"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tagRenderings": [
|
||||||
|
{
|
||||||
|
"builtin": "operator",
|
||||||
|
"override": {
|
||||||
|
"question": {
|
||||||
|
"en": "What is the operator of this telecom exchange?"
|
||||||
|
},
|
||||||
|
"render": {
|
||||||
|
"en": "This telecom exchange is operated by {operator}."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "medium",
|
||||||
|
"question": {
|
||||||
|
"en": "What is the medium used by this telecom exchange?"
|
||||||
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "telecom:medium=copper",
|
||||||
|
"then": {
|
||||||
|
"en": "The landlines connected to this telecom exchange use copper wiring."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "telecom:medium=fibre",
|
||||||
|
"then": {
|
||||||
|
"en": "The landlines connected to this telecom exchange use fibre optics."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "telecom:medium=coaxial",
|
||||||
|
"then": {
|
||||||
|
"en": "The landlines connected to this telecom exchange use coaxial cable."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"allowMove": {
|
||||||
|
"enableImproveAccuracy": true,
|
||||||
|
"enableRelocation": false
|
||||||
|
}
|
||||||
|
}
|
||||||
1
assets/layers/telecom_exchange/telecom_exchange.svg
Normal file
1
assets/layers/telecom_exchange/telecom_exchange.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 9.4 KiB |
|
|
@ -0,0 +1,2 @@
|
||||||
|
SPDX-FileCopyrightText: Abu Badali; Sarang; Robin van der Linde
|
||||||
|
SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
"minzoom": 17
|
"minzoom": 17
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"street_cabinet"
|
"street_cabinet",
|
||||||
|
"telecom_exchange"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -489,6 +489,10 @@
|
||||||
"if": "theme=indoors",
|
"if": "theme=indoors",
|
||||||
"then": "./assets/layers/entrance/entrance.svg"
|
"then": "./assets/layers/entrance/entrance.svg"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"if": "theme=infrastructure",
|
||||||
|
"then": "./assets/layers/street_cabinet/street_cabinet.svg"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"if": "theme=insects",
|
"if": "theme=insects",
|
||||||
"then": "./assets/layers/insect_hotel/insect_hotel.svg"
|
"then": "./assets/layers/insect_hotel/insect_hotel.svg"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue