OSM Stats is a system to track and analyze contributions to Missing Maps. It works by streaming OpenStreetMap minutely contributions and deriving per user metrics. The contributions are also grouped based on hashtags in the contribution metadata.
OSM Stats is made up of several repositories:
| Project | |
|---|---|
| osm-stats | Deployment and log analysis |
| planet-stream | Streaming minute by minute diffs of OSM changesets |
| osm-stats-worker | Processing metrics from changesets |
| osm-stats-api | User metrics API |
This will create a stack that processes user metrics and can be accessed through the API. As an example of front end see the MissingMaps project that uses a users and leaderboards repositories to create pages using osm-stats-api.
This repository contains a deployment script and instructions, notes and tools for testing and analyzing logs from processing, a description of the API behind the MissingMaps website, and a tutorial on adding badges to the system.