{"id":19881438,"url":"https://github.com/giscience/mapswipe-live","last_synced_at":"2026-05-14T00:31:18.081Z","repository":{"id":100136353,"uuid":"126852707","full_name":"GIScience/mapswipe-live","owner":"GIScience","description":null,"archived":false,"fork":false,"pushed_at":"2020-01-15T11:44:56.000Z","size":1070,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-01T02:46:45.751Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GIScience.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-26T15:50:00.000Z","updated_at":"2019-03-08T12:47:03.000Z","dependencies_parsed_at":"2023-05-12T12:15:30.298Z","dependency_job_id":null,"html_url":"https://github.com/GIScience/mapswipe-live","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GIScience/mapswipe-live","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GIScience%2Fmapswipe-live","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GIScience%2Fmapswipe-live/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GIScience%2Fmapswipe-live/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GIScience%2Fmapswipe-live/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GIScience","download_url":"https://codeload.github.com/GIScience/mapswipe-live/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GIScience%2Fmapswipe-live/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33004936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T17:14:15.981Z","updated_at":"2026-05-14T00:31:18.064Z","avatar_url":"https://github.com/GIScience.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MapSwipe Analytics Live\n\nA [tool to display the most recent contributions](http://mapswipe.geog.uni-heidelberg.de/live.html) of the [MapSwipe App](http://mapswipe.org/).\n\nCreated at [HeiGIT](http://www.geog.uni-heidelberg.de/gis/heigit_en.html) for [MapSwipeAnalytics](http://mapswipe.geog.uni-heidelberg.de/).\n\n![screenshot](https://mapswipe.geog.uni-heidelberg.de/img/liveScreen.png\")\n\nThe purpose of this project is to create a display service for Mapswipe data inspired by [OSM Show me the way](https://osmlab.github.io/show-me-the-way/).\nFeel free to use this service for your Mapathon or to get a look at examples of Mapswipe.\n\n\n\n## How it works\n\nThe most recent contributions are shown over a  Bing imagery background using [Leaflet.js](http://leafletjs.com/). The Live Animation has been created using [Leaflet Time Dimension](https://github.com/socib/Leaflet.TimeDimension). Recent data is read from a file on the server. See below for data acqusition and processing. The number of features in the example data is the number of features shown before loading new results (Currently N = 500). When all feautures have been shown, the input file has been overwritten with new results and is loaded once again.\n\n## How to use the code\n\nYou can use this project as a base for your own online display for Maspwipe data or other projects.\n\nUse a [geojson](http://geojson.org/) as input file for the data aswell as a json file for configuration.\n\n    data/live_examples.geojson\nThe features need to following properties:\n\n| Attribute     | Type          | Description  |\n| ------------- |:-------------:| -----:|\n| result      | `Integer` | Result coded as Integer |\n| project_id      | `String`      |   ID of the mapswipe project |\n| user_name      | `String`      |   Mapswipe user name |\n| timestamp      | `Integer`      |   Time the result has been uploaded. Unix time |\n| result      | `Integer` | Result coded as Integer |\n| new_id | `Integer`      |    Unique, continious ID starting from 1. Features will be shown in this order |\n\nFurthermore, the file needs to contain a valid geometry. Use WGS 84 (angular unit!).\n\n\tdata/lconfig.json\n\n| Attribute     | Type          | Description  |\n| ------------- |:-------------:| -----:|\n| results      | `Array` | Contains information about the result: Coded result, color and description |\n| mapOptions      | `Object`      |   Contains options for display and interactions of the leaflet map |\n\n  Elements of 'results'\n\n| Attribute     | Type          | Description  |\n| ------------- |:-------------:| -----:|\n| result      | `String` | Result coded as number |\n| string      | `String`      |   Description of the result |\n| color      | `String`      |   color the result will be shown in. Using RGB |\n\n  Elements of 'mapOptions'\n\n| Attribute     | Type          | Description  |\n| ------------- |:-------------:| -----:|\n| dataPath      | `String` | Relative path to the data file |\n| fullscreenControl      | `Boolean`      |   Enables or disables Leaflet Fullscreen Control |\n| autoplay      | `Boolean`      |   Enables or disables automatic play |\n| timeSlider      | `Boolean`      |   Enables or disables the Leaflet Time Dimension time slider  |\n| speedSlider      | `Boolean`      |   Enables or disables the Leaflet Time Dimension speed slider  |\n| defaultControl      | `Boolean`      |   Enables or disables the Leaflet Time Dimension standart control (back, pause, forwards)  |\n\n## How to gather example data\n\nP. e. using [Mapswipe API](https://docs.google.com/document/d/1RwN4BNhgMT5Nj9EWYRBWxIZck5iaawg9i_5FdAAderw/edit#heading=h.wp1a8ue6nwhv)\n\n[Mapswipe Analytics](http://mapswipe.geog.uni-heidelberg.de/download/)\n\nUse [QGis](https://www.qgis.org/de) to work with geojson data.\nThe [OpenLayers Plugin](https://plugins.qgis.org/plugins/openlayers_plugin/) can help to show the Bing Imagery used in the app.\nAdd the fields specified above.\n\n\n## Bugs, issues and contributions\n\nFeedback is always welcome!\nFor any wishes or notes about bugs please use a [issue](https://gitlab.gistools.geog.uni-heidelberg.de/giscience/mapswipe/MapSwipeTutorial/issues)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiscience%2Fmapswipe-live","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiscience%2Fmapswipe-live","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiscience%2Fmapswipe-live/lists"}