2022-01-16 02:45:07 +01:00
|
|
|
{
|
|
|
|
"id": "mapcomplete-changes",
|
|
|
|
"title": {
|
|
|
|
"en": "Changes made with MapComplete"
|
|
|
|
},
|
|
|
|
"shortDescription": {
|
|
|
|
"en": "Shows changes made by MapComplete"
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"en": "This maps shows all the changes made with MapComplete"
|
|
|
|
},
|
|
|
|
"icon": "./assets/svg/logo.svg",
|
|
|
|
"hideFromOverview": true,
|
|
|
|
"startLat": 0,
|
|
|
|
"startLon": 0,
|
|
|
|
"startZoom": 1,
|
|
|
|
"widenFactor": 0.05,
|
|
|
|
"clustering": false,
|
|
|
|
"layers": [
|
|
|
|
{
|
|
|
|
"id": "mapcomplete-changes",
|
|
|
|
"name": {
|
|
|
|
"en": "Changeset centers"
|
|
|
|
},
|
|
|
|
"minzoom": 0,
|
|
|
|
"source": {
|
|
|
|
"osmTags": "editor~*",
|
|
|
|
"geoJson": "https://raw.githubusercontent.com/pietervdvn/MapComplete-data/main/mapcomplete-changes/tile_{z}_{x}_{y}.geojson",
|
|
|
|
"geoJsonZoomLevel": 8,
|
|
|
|
"maxCacheAge": 0
|
|
|
|
},
|
|
|
|
"title": {
|
|
|
|
"render": {
|
|
|
|
"en": "Changeset for {theme}"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"en": "Shows all MapComplete changes"
|
|
|
|
},
|
|
|
|
"tagRenderings": [
|
|
|
|
{
|
2022-08-22 22:31:05 +02:00
|
|
|
"id": "show_changeset_id",
|
2022-01-16 02:45:07 +01:00
|
|
|
"render": {
|
|
|
|
"en": "Changeset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "contributor",
|
2022-08-22 13:34:47 +02:00
|
|
|
"question": {
|
|
|
|
"en": "What contributor did make this change?"
|
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "user"
|
|
|
|
},
|
2022-01-16 02:45:07 +01:00
|
|
|
"render": {
|
2022-08-22 13:34:47 +02:00
|
|
|
"en": "Change made by <a href='https://openstreetmap.org/user/{user}' target='_blank'>{user}</a>"
|
2022-01-16 02:45:07 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2022-08-22 22:31:05 +02:00
|
|
|
"id": "theme-id",
|
2022-08-22 13:34:47 +02:00
|
|
|
"question": {
|
|
|
|
"en": "What theme was used to make this change?"
|
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "theme"
|
|
|
|
},
|
2022-01-16 02:45:07 +01:00
|
|
|
"render": {
|
2023-08-23 18:33:30 +02:00
|
|
|
"en": "Change with theme <a href='https://mapcomplete.org/{theme}'>{theme}</a>"
|
2022-08-22 13:34:47 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "locale",
|
|
|
|
"freeform": {
|
|
|
|
"key": "locale"
|
|
|
|
},
|
|
|
|
"question": {
|
|
|
|
"en": "What locale (language) was this change made in?"
|
|
|
|
},
|
|
|
|
"render": {
|
2023-06-20 22:50:16 +02:00
|
|
|
"en": "User locale is {locale}"
|
|
|
|
}
|
2022-08-22 13:34:47 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "host",
|
|
|
|
"render": {
|
|
|
|
"en": "Change with with <a href='{host}'>{host}</a>"
|
|
|
|
},
|
|
|
|
"question": {
|
|
|
|
"en": "What host (website) was this change made with?"
|
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "host"
|
2022-01-16 02:45:07 +01:00
|
|
|
},
|
|
|
|
"mappings": [
|
|
|
|
{
|
2022-08-22 13:34:47 +02:00
|
|
|
"if": "host=www.waldbrand-app.de",
|
|
|
|
"then": "waldbrand-app.de",
|
|
|
|
"hideInAnswer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "host~https://pietervdvn.github.io/mc/develop/.*",
|
|
|
|
"then": "Develop",
|
2022-08-20 12:46:33 +02:00
|
|
|
"hideInAnswer": true
|
2022-01-16 02:45:07 +01:00
|
|
|
}
|
|
|
|
]
|
2023-06-20 22:50:16 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "version",
|
|
|
|
"question": {
|
|
|
|
"en": "What version of MapComplete was used to make this change?"
|
|
|
|
},
|
|
|
|
"render": {
|
|
|
|
"en": "Made with {editor}"
|
|
|
|
},
|
|
|
|
"freeform": {
|
|
|
|
"key": "editor"
|
|
|
|
}
|
2022-01-16 02:45:07 +01:00
|
|
|
}
|
|
|
|
],
|
2023-09-19 14:04:13 +02:00
|
|
|
"pointRendering": [
|
2022-01-16 02:45:07 +01:00
|
|
|
{
|
|
|
|
"location": [
|
|
|
|
"point",
|
|
|
|
"centroid"
|
|
|
|
],
|
2023-11-13 12:08:55 +01:00
|
|
|
"marker": [
|
|
|
|
{
|
|
|
|
"icon": {
|
|
|
|
"render": "teardrop:#00cc00"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2023-06-20 02:46:38 +02:00
|
|
|
"iconSize": "30,30",
|
|
|
|
"anchor": "center"
|
2022-01-16 02:45:07 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"filter": [
|
|
|
|
{
|
|
|
|
"id": "theme-search",
|
|
|
|
"options": [
|
|
|
|
{
|
2022-06-07 03:36:22 +02:00
|
|
|
"osmTags": "theme~i~.*{search}.*",
|
2022-01-16 02:45:07 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "search"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"question": {
|
|
|
|
"en": "Themename contains {search}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2023-12-06 03:07:36 +01:00
|
|
|
{
|
|
|
|
"id": "theme-not-search",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"osmTags": "theme!~i~.*{search}.*",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "search"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"question": {
|
|
|
|
"en": "Themename does <b>not</b> contain {search}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "exclude_grb",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"osmTags": "theme!=grb",
|
|
|
|
"question": {
|
|
|
|
"en": "Exclude GRB theme"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "exclude_etymology",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"osmTags": "theme!=etymology",
|
|
|
|
"question": {
|
|
|
|
"en": "Exclude etymology theme"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-01-16 02:45:07 +01:00
|
|
|
{
|
|
|
|
"id": "created_by",
|
|
|
|
"options": [
|
|
|
|
{
|
2022-08-20 12:46:33 +02:00
|
|
|
"osmTags": "user~i~.*{search}.*",
|
2022-01-16 02:45:07 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "search"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"question": {
|
|
|
|
"en": "Made by contributor {search}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "not_created_by",
|
|
|
|
"options": [
|
|
|
|
{
|
2022-08-20 12:46:33 +02:00
|
|
|
"osmTags": "user!~i~.*{search}.*",
|
2022-01-16 02:45:07 +01:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "search"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"question": {
|
|
|
|
"en": "<b>Not</b> made by contributor {search}"
|
|
|
|
}
|
2022-09-02 21:40:13 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "made_before",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"osmTags": "date<{search}",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "search",
|
|
|
|
"type": "date"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"question": {
|
|
|
|
"en": "Made before {search}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "made_after",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"osmTags": "date>{search}",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "search",
|
|
|
|
"type": "date"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"question": {
|
|
|
|
"en": "Made after {search}"
|
|
|
|
}
|
2022-01-16 02:45:07 +01:00
|
|
|
}
|
|
|
|
]
|
2022-08-22 13:34:47 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "locale-filter",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"osmTags": "locale~i~.*{search}.*",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "search"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"question": {
|
|
|
|
"en": "User language (iso-code) {search}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "host_name",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"osmTags": "host~i~.*{search}.*",
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "search"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"question": {
|
|
|
|
"en": "Made with host {search}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2023-01-10 19:23:43 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "added-image",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"osmTags": "add-image>0",
|
2023-06-20 22:50:16 +02:00
|
|
|
"question": {
|
2023-01-10 19:23:43 +01:00
|
|
|
"en": "Changeset added at least one image"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2022-01-16 02:45:07 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"builtin": "current_view",
|
|
|
|
"override": {
|
|
|
|
"title": "Statistics on changesets in the current view",
|
2023-03-31 03:28:11 +02:00
|
|
|
"tagRenderings+": [
|
2022-01-16 02:45:07 +01:00
|
|
|
{
|
|
|
|
"id": "link_to_more",
|
|
|
|
"render": {
|
|
|
|
"en": "More statistics can be found <a href='https://github.com/pietervdvn/MapComplete/tree/develop/Docs/Tools/graphs' target='_blank'>here</a>"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "hist_themes",
|
|
|
|
"render": "{histogram(_embedded_cs:themes, Themename, Number of changesets)}"
|
|
|
|
},
|
|
|
|
{
|
2022-04-08 22:12:43 +02:00
|
|
|
"id": "hist_users",
|
2022-01-16 02:45:07 +01:00
|
|
|
"render": "{histogram(_embedded_cs:users, Contributor, Number of changesets)}"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"calculatedTags": [
|
2023-05-16 03:27:49 +02:00
|
|
|
"_embedded_cs=overlapWith(feat)('mapcomplete-changes').map(f => f.feat.properties)",
|
2022-01-16 02:45:07 +01:00
|
|
|
"_embedded_cs:themes=feat.get('_embedded_cs').map(cs => cs.theme)",
|
|
|
|
"_embedded_cs:users=feat.get('_embedded_cs').map(cs => cs['_last_edit:contributor'])"
|
|
|
|
],
|
2023-10-06 23:56:50 +02:00
|
|
|
"+pointRendering": [
|
2022-01-16 02:45:07 +01:00
|
|
|
{
|
|
|
|
"location": [
|
|
|
|
"point"
|
|
|
|
],
|
2023-10-06 23:56:50 +02:00
|
|
|
"marker": [
|
|
|
|
{
|
2023-11-19 05:05:15 +01:00
|
|
|
"icon": "./assets/svg/statistics.svg"
|
2023-10-06 23:56:50 +02:00
|
|
|
}
|
|
|
|
],
|
2023-06-20 02:46:38 +02:00
|
|
|
"iconSize": "30,30",
|
|
|
|
"anchor": "center"
|
2022-01-16 02:45:07 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2023-01-10 14:04:54 +01:00
|
|
|
}
|