Merge branch 'master' of github.com:pietervdvn/MapComplete

This commit is contained in:
pietervdvn 2021-12-13 20:53:16 +01:00
commit 4bf5310273
23 changed files with 13316 additions and 6 deletions

View file

@ -567,9 +567,24 @@ function createGraphs(allFeatures: ChangeSetData[], appliedFilterDescription: st
.keyToDate()
.asLine({
compare: (a, b) => a.getTime() - b.getTime(),
name: "Running weekly average" + appliedFilterDescription
name: "Rolling 7 day average" + appliedFilterDescription
})
createGraph("Changesets per day (line)" + appliedFilterDescription, perDayLine, perDayAvg)
const perDayAvgMonth = csPerDay.asRunningAverages(key => {
const keys = []
for (let i = 0; i < 31; i++) {
const otherDay = new Date(new Date(key).getTime() - i * 1000 * 60 * 60 * 24)
keys.push(otherDay.toISOString().substr(0, 10))
}
return keys
})
.keyToDate()
.asLine({
compare: (a, b) => a.getTime() - b.getTime(),
name: "Rolling 31 day average" + appliedFilterDescription
})
createGraph("Changesets per day (line)" + appliedFilterDescription, perDayLine, perDayAvg, perDayAvgMonth)
new Histogram<string>(allFeatures.map(f => f.properties.metadata.host))
.asPie({

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 KiB

After

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 648 KiB

After

Width:  |  Height:  |  Size: 736 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 330 KiB

After

Width:  |  Height:  |  Size: 359 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 KiB

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 KiB

After

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 561 KiB

After

Width:  |  Height:  |  Size: 560 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 591 KiB

After

Width:  |  Height:  |  Size: 586 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 763 KiB

After

Width:  |  Height:  |  Size: 792 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 792 KiB

After

Width:  |  Height:  |  Size: 801 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 472 KiB

After

Width:  |  Height:  |  Size: 498 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 KiB

After

Width:  |  Height:  |  Size: 514 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 516 KiB

After

Width:  |  Height:  |  Size: 532 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 570 KiB

After

Width:  |  Height:  |  Size: 578 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 101 KiB

File diff suppressed because it is too large Load diff

View file

@ -9,7 +9,7 @@
"ccbs": "sous la license CC-BY-SA",
"ccb": "sous la license CC-BY",
"uploadFailed": "L'ajout de la photo a échoué. Avez-vous accès à Internet ? Les API tierces sont-elles autorisées ? Le navigateur Brave ou UMatrix peuvent les bloquer.",
"respectPrivacy": "Merci de respecter la vie privée. Ne publiez pas les plaques d'immatriculation.",
"respectPrivacy": "Ne photographiez ni les personnes ni les plaques d'immatriculation. Ne téléversez rien issu de Google Maps, Google Streetview ou d'autre sources soumises à des droits d'auteurs.",
"uploadDone": "Votre photo est ajoutée. Merci beaucoup !",
"dontDelete": "Annuler",
"doDelete": "Supprimer l'image",
@ -26,7 +26,7 @@
"index": {
"#": "Ces textes sont affichés au dessus des boutons de thème quand aucun thème n'est chargé",
"title": "Bienvenue sur MapComplete",
"intro": "MapComplete est une application qui permet de voir des informations d'OpenStreetMap sur un thème spécifique et de les éditer.",
"intro": "MapComplete est un visio-éditeur d'OpenStreetMap qui affiche des informations sur un thème défini et permet de les éditer.",
"pickTheme": "Choisissez un thème ci-dessous pour commencer.",
"featuredThemeTitle": "Thème de la semaine"
},
@ -194,6 +194,7 @@
"isntAPoint": "Seul les points peuvent être supprimés, l'objet sélectionné est une ligne, un polygone ou une relation.",
"onlyEditedByLoggedInUser": "Ce point a été édité seulement par vous et peut donc être supprimé.",
"cannotBeDeleted": "Cet objet ne peut être supprimé",
"partOfOthers": "Ce point faire partie d'un autre objet et ne peut être supprimé directement."
"partOfOthers": "Ce point faire partie d'un autre objet et ne peut être supprimé directement.",
"whyDelete": "Pourquoi ce point devrait-il être supprimé ?"
}
}

View file

@ -326,6 +326,14 @@
"turbine-height": {
"render": "這風機的總高度 (包括風葉直徑) 是 {height} 公尺。",
"question": "這個風機的總高度是多少 (包括風葉大小) 公尺?"
},
"turbine-output": {
"question": "這個風機的電力輸出是多少?(例如 2.3 MW)",
"render": "這個風機的電力輸出是 {generator:output:electricity。"
},
"turbine-start-date": {
"render": "這個風機從 {start_date} 開始運轉。",
"question": "這個風機何時開始營運?"
}
},
"name": "風機",
@ -333,10 +341,44 @@
"0": {
"title": "風機"
}
},
"units": {
"0": {
"applicableUnits": {
"2": {
"human": " 瓦"
},
"3": {
"human": " 千兆瓦"
},
"0": {
"human": " 百萬瓦"
},
"1": {
"human": " 千瓦"
}
}
},
"1": {
"applicableUnits": {
"0": {
"human": " 公尺"
}
}
}
},
"title": {
"mappings": {
"0": {
"then": "{name}"
}
},
"render": "風機"
}
}
},
"description": "顯示與編輯風機的地圖。"
"description": "顯示與編輯風機的地圖。",
"title": "開放風力地圖"
},
"street_lighting": {
"layers": {
@ -454,5 +496,28 @@
"description": "在這份地圖當中,你可以找到你附近的垃圾筒。如果地圖有遺漏垃圾筒,你可以自己加上去",
"shortDescription": "垃圾筒的地圖",
"title": "垃圾筒"
},
"hackerspaces": {
"description": "在這份地圖上你可以看到駭客空間,新增或直接更新資料",
"layers": {
"0": {
"name": "駭客空間",
"presets": {
"0": {
"description": "駭客空間是對軟體有興趣的人聚集的地方",
"title": "駭客空間"
}
},
"description": "駭客空間"
}
}
},
"observation_towers": {
"description": "開放可及能觀景的高塔",
"shortDescription": "開發可及能觀景的高塔",
"title": "觀景塔"
},
"natuurpunt": {
"description": "在這張地圖上您可以找到 Natuurpunt 提供的所有自然保護區 "
}
}