mapcomplete/assets/themes/mapcomplete-changes/mapcomplete-changes.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

704 lines
22 KiB
JSON
Raw Normal View History

2023-11-13 15:22:54 +01:00
{
"id": "mapcomplete-changes",
"title": {
"en": "Changes made with MapComplete"
2023-11-13 15:22:54 +01:00
},
2024-04-28 11:00:23 +02:00
"shortDescription": {
"en": "Shows changes made by MapComplete"
2024-04-28 11:00:23 +02:00
},
2024-05-02 15:43:17 +02:00
"description": {
"en": "This maps shows all the changes made with MapComplete"
2024-05-02 15:43:17 +02:00
},
2023-11-13 15:22:54 +01:00
"icon": "./assets/svg/logo.svg",
"hideFromOverview": true,
2024-06-11 02:04:50 +02:00
"startLat": 0,
"startLon": 0,
"startZoom": 1,
2023-11-13 15:22:54 +01:00
"layers": [
{
"id": "mapcomplete-changes",
"name": {
"en": "Changeset centers"
2023-11-13 15:22:54 +01:00
},
"minzoom": 0,
"source": {
"osmTags": "editor~*",
"geoJson": "https://raw.githubusercontent.com/pietervdvn/MapComplete-data/main/mapcomplete-changes/tile_{z}_{x}_{y}.geojson",
"geoJsonZoomLevel": 8
2023-11-13 15:22:54 +01:00
},
"title": {
"render": {
"en": "Changeset for {theme}"
2023-11-13 15:22:54 +01:00
}
},
"description": {
"en": "Shows all MapComplete changes"
2023-11-13 15:22:54 +01:00
},
"tagRenderings": [
{
"id": "show_changeset_id",
"render": {
"en": "Changeset <a href='https://openstreetmap.org/changeset/{id}' target='_blank'>{id}</a>"
2023-11-13 15:22:54 +01:00
}
},
{
"id": "contributor",
"question": {
"en": "What contributor did make this change?"
2023-11-13 15:22:54 +01:00
},
"freeform": {
"key": "user"
},
"render": {
"en": "Change made by <a href='https://openstreetmap.org/user/{user}' target='_blank'>{user}</a>"
2023-11-13 15:22:54 +01:00
}
},
{
"id": "theme-id",
"question": {
"en": "What theme was used to make this change?"
2023-11-13 15:22:54 +01:00
},
"freeform": {
"key": "theme"
},
"render": {
"en": "Change with theme <a href='https://mapcomplete.org/{theme}'>{theme}</a>"
2023-11-13 15:22:54 +01:00
}
},
{
"id": "locale",
"freeform": {
"key": "locale"
},
"question": {
"en": "What locale (language) was this change made in?"
2023-11-13 15:22:54 +01:00
},
"render": {
"en": "User locale is {locale}"
2023-11-13 15:22:54 +01:00
}
},
{
"id": "host",
"render": {
"en": "Change with with <a href='{host}'>{host}</a>"
2023-11-13 15:22:54 +01:00
},
"question": {
"en": "What host (website) was this change made with?"
2023-11-13 15:22:54 +01:00
},
"freeform": {
"key": "host"
},
"mappings": [
{
"if": "host=www.waldbrand-app.de",
"then": "waldbrand-app.de",
"hideInAnswer": true
},
{
"if": "host~https://pietervdvn.github.io/mc/develop/.*",
"then": "Develop",
"hideInAnswer": true
}
]
},
{
"id": "version",
"question": {
"en": "What version of MapComplete was used to make this change?"
2023-11-13 15:22:54 +01:00
},
"render": {
"en": "Made with {editor}"
2023-11-13 15:22:54 +01:00
},
"freeform": {
"key": "editor"
}
}
],
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": {
"render": "teardrop:#00cc00",
"mappings": [
{
"if": "theme=advertising",
"then": "./assets/themes/advertising/icon.svg"
},
{
"if": "theme=aed",
"then": "./assets/themes/aed/aed.svg"
},
{
"if": "theme=artwork",
"then": "./assets/themes/artwork/artwork.svg"
},
{
"if": "theme=atm",
"then": "./assets/themes/atm/logo.svg"
},
{
"if": "theme=bag",
"then": "./assets/themes/bag/logo.svg"
},
{
"if": "theme=benches",
"then": "./assets/themes/benches/bench_poi.svg"
},
{
"if": "theme=bicycle_parkings",
"then": "./assets/themes/bicycle_parkings/logo.svg"
},
2023-11-13 15:22:54 +01:00
{
"if": "theme=bicycle_rental",
"then": "./assets/themes/bicycle_rental/logo.svg"
},
{
"if": "theme=bicyclelib",
"then": "./assets/themes/bicyclelib/logo.svg"
},
{
"if": "theme=binoculars",
"then": "./assets/layers/binocular/telescope.svg"
},
{
"if": "theme=blind_osm",
"then": "./assets/themes/blind_osm/Blindicon.svg"
},
{
"if": "theme=bookcases",
"then": "./assets/themes/bookcases/bookcase.svg"
},
{
"if": "theme=buurtnatuur",
"then": "./assets/themes/buurtnatuur/logo.svg"
},
{
"if": "theme=cafes_and_pubs",
"then": "./assets/layers/cafe_pub/pub.svg"
},
{
"if": "theme=campersite",
"then": "./assets/themes/campersite/caravan.svg"
},
{
"if": "theme=charging_stations",
"then": "./assets/themes/charging_stations/logo.svg"
},
{
"if": "theme=climbing",
"then": "./assets/themes/climbing/climbing_icon.svg"
},
{
"if": "theme=clock",
"then": "./assets/layers/clock/clock.svg"
},
{
"if": "theme=cycle_highways",
"then": "./assets/themes/cycle_highways/fietssnelwegen-logo.svg"
},
{
"if": "theme=cycle_infra",
"then": "./assets/themes/cycle_infra/cycle-infra.svg"
},
{
"if": "theme=cyclenodes",
"then": "./assets/themes/cyclenodes/logo.svg"
},
{
"if": "theme=cyclestreets",
"then": "./assets/themes/cyclestreets/logo.svg"
},
{
"if": "theme=cyclofix",
"then": "./assets/themes/cyclofix/logo.svg"
},
2024-02-10 15:06:39 +01:00
{
"if": "theme=disaster_response",
"then": "./assets/themes/disaster_response/CivilDefence.svg"
},
2023-11-13 15:22:54 +01:00
{
"if": "theme=drinking_water",
"then": "./assets/themes/drinking_water/logo.svg"
},
{
"if": "theme=education",
"then": "./assets/layers/school/college.svg"
},
{
"if": "theme=elongated_coin",
"then": "./assets/themes/elongated_coin/penny.svg"
},
{
"if": "theme=etymology",
"then": "./assets/layers/etymology/logo.svg"
},
{
"if": "theme=facadegardens",
"then": "./assets/themes/facadegardens/geveltuin.svg"
},
{
"if": "theme=fireplace",
"then": "./assets/layers/assembly_point/fire.svg"
},
2023-11-13 15:22:54 +01:00
{
"if": "theme=food",
"then": "./assets/layers/food/restaurant.svg"
},
{
"if": "theme=fritures",
"then": "./assets/themes/fritures/logo.svg"
},
{
"if": "theme=ghostbikes",
"then": "./assets/themes/ghostbikes/logo.svg"
},
{
2024-02-19 23:45:31 +01:00
"if": "theme=ghostsigns",
"then": "./assets/themes/advertising/wall_painting.svg"
},
{
"if": "theme=glutenfree",
"then": "./assets/layers/questions/glutenfree.svg"
},
2023-11-13 15:22:54 +01:00
{
"if": "theme=grb",
"then": "./assets/themes/grb/logo.svg"
},
{
"if": "theme=guideposts",
"then": "./assets/layers/guidepost/guidepost.svg"
},
{
"if": "theme=hackerspaces",
"then": "./assets/themes/hackerspaces/glider.svg"
},
{
"if": "theme=hailhydrant",
"then": "./assets/themes/hailhydrant/logo.svg"
},
{
"if": "theme=healthcare",
"then": "./assets/layers/doctors/doctors.svg"
},
{
"if": "theme=hotels",
"then": "./assets/layers/hotel/hotel.svg"
},
{
"if": "theme=icecream",
"then": "./assets/layers/ice_cream/ice_cream.svg"
},
{
"if": "theme=indoors",
"then": "./assets/layers/entrance/entrance.svg"
},
2024-02-21 18:47:12 +01:00
{
"if": "theme=items_with_image",
"then": "./assets/layers/item_with_image/camera.svg"
},
2023-11-13 15:22:54 +01:00
{
"if": "theme=kerbs_and_crossings",
"then": "./assets/layers/kerbs/KerbIcon.svg"
},
{
"if": "theme=lactosefree",
"then": "./assets/layers/questions/lactose_free.svg"
},
2023-12-06 03:07:36 +01:00
{
"if": "theme=lighthouses",
"then": "./assets/themes/lighthouses/lighthouse.svg"
2023-12-06 03:07:36 +01:00
},
2024-07-19 16:19:46 +02:00
{
"if": "theme=mapcomplete-changes",
"then": "./assets/svg/logo.svg"
},
2023-11-13 15:22:54 +01:00
{
"if": "theme=maproulette",
"then": "./assets/layers/maproulette/logomark.svg"
},
{
"if": "theme=maps",
"then": "./assets/themes/maps/logo.svg"
},
{
"if": "theme=maxspeed",
"then": "./assets/themes/maxspeed/maxspeed_logo.svg"
},
{
"if": "theme=memorials",
"then": "./assets/layers/memorial/memorial.svg"
},
2023-11-13 15:22:54 +01:00
{
"if": "theme=nature",
"then": "./assets/themes/nature/logo.svg"
},
{
"if": "theme=notes",
"then": "./assets/themes/notes/logo.svg"
},
{
"if": "theme=observation_towers",
"then": "./assets/layers/observation_tower/Tower_observation.svg"
},
{
"if": "theme=onwheels",
"then": "./assets/themes/onwheels/crest.svg"
},
{
"if": "theme=openlovemap",
"then": "./assets/layers/stripclub/stripclub.svg"
},
2023-11-13 15:22:54 +01:00
{
"if": "theme=openwindpowermap",
"then": "./assets/themes/openwindpowermap/logo.svg"
},
{
"if": "theme=osm_community_index",
"then": "./assets/themes/osm_community_index/osm.svg"
},
{
"if": "theme=parkings",
"then": "./assets/themes/parkings/parkings.svg"
},
{
"if": "theme=personal",
"then": "./assets/svg/addSmall.svg"
},
{
"if": "theme=pets",
"then": "./assets/layers/dogpark/dog-park.svg"
},
{
"if": "theme=play_forests",
"then": "./assets/layers/play_forest/icon.svg"
},
{
"if": "theme=playgrounds",
"then": "./assets/themes/playgrounds/playground.svg"
},
{
"if": "theme=postal_codes",
"then": "./assets/themes/postal_codes/townhall.svg"
},
{
"if": "theme=postboxes",
"then": "./assets/layers/postboxes/postbox.svg"
},
{
"if": "theme=rainbow_crossings",
"then": "./assets/themes/rainbow_crossings/logo.svg"
},
{
"if": "theme=shops",
"then": "./assets/themes/shops/shop.svg"
},
{
"if": "theme=sidewalks",
"then": "./assets/svg/bug.svg"
},
2024-01-30 18:33:30 +01:00
{
"if": "theme=ski",
"then": "./assets/layers/aerialway/chair_lift.svg"
},
2023-11-13 15:22:54 +01:00
{
"if": "theme=speelplekken",
"then": "./assets/themes/speelplekken/logo.svg"
},
{
"if": "theme=sport_pitches",
"then": "./assets/layers/sport_pitch/table_tennis.svg"
},
{
"if": "theme=sports",
"then": "./assets/themes/sports/sport.svg"
},
{
"if": "theme=stations",
"then": "./assets/themes/stations/rail-light.svg"
},
{
"if": "theme=street_lighting",
"then": "./assets/layers/street_lamps/street_lamp.svg"
},
{
"if": "theme=street_lighting_assen",
"then": "./assets/layers/street_lamps/street_lamp.svg"
},
{
"if": "theme=surveillance",
"then": "./assets/themes/surveillance/logo.svg"
},
{
"if": "theme=toerisme_vlaanderen",
"then": "./assets/themes/toerisme_vlaanderen/logo.svg"
},
{
"if": "theme=toilets",
"then": "./assets/themes/toilets/toilets.svg"
},
{
"if": "theme=transit",
"then": "./assets/layers/transit_stops/bus_stop.svg"
},
{
"if": "theme=trees",
"then": "./assets/themes/trees/logo.svg"
},
{
"if": "theme=uk_addresses",
"then": "./assets/themes/uk_addresses/housenumber_unknown.svg"
},
2024-01-11 05:10:29 +01:00
{
"if": "theme=velopark",
"then": "./assets/themes/velopark/velopark.svg"
},
2023-11-13 15:22:54 +01:00
{
"if": "theme=vending_machine",
"then": "./assets/layers/vending_machine/vending_machine.svg"
},
{
"if": "theme=walkingnodes",
"then": "./assets/themes/walkingnodes/logo.svg"
},
{
"if": "theme=walls_and_buildings",
"then": "./assets/layers/walls_and_buildings/walls_and_buildings.png"
},
{
"if": "theme=waste",
"then": "./assets/layers/recycling/recycling-14.svg"
},
{
"if": "theme=waste_assen",
"then": "./assets/layers/recycling/recycling-14.svg"
},
{
"if": "theme=waste_basket",
"then": "./assets/themes/waste_basket/waste_basket.svg"
},
{
"if": "theme=width",
"then": "./assets/themes/width/icon.svg"
}
]
}
}
],
"iconSize": "30,30",
"anchor": "center"
}
],
"filter": [
{
"id": "theme-search",
"options": [
{
"osmTags": "theme~i~.*{search}.*",
"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}"
2023-11-13 15:22:54 +01:00
}
}
]
},
{
"id": "created_by",
"options": [
{
"osmTags": "user~i~.*{search}.*",
"fields": [
{
"name": "search"
}
],
"question": {
"en": "Made by contributor {search}"
2023-11-13 15:22:54 +01:00
}
}
]
},
{
"id": "not_created_by",
"options": [
{
"osmTags": "user!~i~.*{search}.*",
"fields": [
{
"name": "search"
}
],
"question": {
"en": "<b>Not</b> made by contributor {search}"
2023-11-13 15:22:54 +01:00
}
}
]
},
{
"id": "made_before",
"options": [
{
"osmTags": "date<{search}",
"fields": [
{
"name": "search",
"type": "date"
}
],
"question": {
"en": "Made before {search}"
2023-11-13 15:22:54 +01:00
}
}
]
},
{
"id": "made_after",
"options": [
{
"osmTags": "date>{search}",
"fields": [
{
"name": "search",
"type": "date"
}
],
"question": {
"en": "Made after {search}"
2023-11-13 15:22:54 +01:00
}
}
]
},
{
"id": "locale-filter",
"options": [
{
"osmTags": "locale~i~.*{search}.*",
"fields": [
{
"name": "search"
}
],
2023-12-06 04:08:33 +01:00
"question": {
"en": "User language (iso-code) {search}"
2023-11-13 15:22:54 +01:00
}
}
]
},
{
"id": "host_name",
"options": [
{
"osmTags": "host~i~.*{search}.*",
"fields": [
{
"name": "search"
}
],
"question": {
"en": "Made with host {search}"
2023-11-13 15:22:54 +01:00
}
}
]
},
{
"id": "added-image",
"options": [
{
"osmTags": "add-image>0",
2023-12-06 04:01:42 +01:00
"question": {
"en": "Changeset added at least one image"
2023-12-06 04:01:42 +01:00
}
}
]
},
{
"id": "exclude_grb",
"options": [
{
"osmTags": "theme!=grb",
"question": {
"en": "Exclude GRB theme"
2023-12-06 04:01:42 +01:00
}
}
]
},
{
"id": "exclude_etymology",
"options": [
{
"osmTags": "theme!=etymology",
2023-11-13 15:22:54 +01:00
"question": {
"en": "Exclude etymology theme"
2023-11-13 15:22:54 +01:00
}
}
]
}
]
},
{
"builtin": "current_view",
"override": {
"title": "Statistics on changesets in the current view",
"tagRenderings+": [
{
"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>"
2023-11-13 15:22:54 +01:00
}
},
{
"id": "hist_themes",
"render": "{histogram(_embedded_cs:themes, Themename, Number of changesets)}"
},
{
"id": "hist_users",
"render": "{histogram(_embedded_cs:users, Contributor, Number of changesets)}"
}
],
"calculatedTags": [
"_embedded_cs=overlapWith(feat)('mapcomplete-changes').map(f => f.feat.properties)",
"_embedded_cs:themes=feat.get('_embedded_cs').map(cs => cs.theme)",
"_embedded_cs:users=feat.get('_embedded_cs').map(cs => cs['_last_edit:contributor'])"
],
"+pointRendering": [
{
"location": [
"point"
],
"marker": [
{
"icon": "./assets/svg/statistics.svg"
2023-11-13 15:22:54 +01:00
}
],
"iconSize": "30,30",
"anchor": "center"
}
]
}
}
]
2023-12-06 04:08:33 +01:00
}