{"id":20402160,"url":"https://github.com/exploide/osm-tool-stats","last_synced_at":"2026-04-28T13:32:12.426Z","repository":{"id":145662582,"uuid":"121760026","full_name":"exploide/osm-tool-stats","owner":"exploide","description":"Create simple usage graphs for a given OpenStreetMap editor","archived":false,"fork":false,"pushed_at":"2018-02-16T14:30:16.000Z","size":48,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T01:44:22.510Z","etag":null,"topics":["graphs","openstreetmap","osm","statistics"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exploide.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-02-16T14:29:50.000Z","updated_at":"2020-10-04T12:08:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"9fcdf7f5-0d5a-48ab-ae56-4c6af992d8c8","html_url":"https://github.com/exploide/osm-tool-stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/exploide/osm-tool-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exploide%2Fosm-tool-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exploide%2Fosm-tool-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exploide%2Fosm-tool-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exploide%2Fosm-tool-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exploide","download_url":"https://codeload.github.com/exploide/osm-tool-stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exploide%2Fosm-tool-stats/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263468895,"owners_count":23471407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["graphs","openstreetmap","osm","statistics"],"created_at":"2024-11-15T04:53:13.443Z","updated_at":"2026-04-28T13:32:07.399Z","avatar_url":"https://github.com/exploide.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenStreetMap Tool Statistics\n\nThis project should enable those who are interested in the usage of OpenStreetMap editors to create simple usage graphs for a particular editor. This is similar to what is done on the [OSM wiki's editor stats page](https://wiki.openstreetmap.org/wiki/Editor_usage_stats) but aims to provide more fine-grained information about single editors. This way, software maintainers or community members can observe how an editor evolved over time and can try to draw conclusions about incidents and their impacts.\n\n## Functionality\n\nCurrently `osm_editor_graphs.py` creates three graphs showing how the number of changesets, the number of edits, and the number of distinct users of a given editor changed over time.\n\nRun `./osm_editor_graphs.py --help` for a list of available options.\n\n## Usage\n\nThis software currently processes the results of the [editor-stats](https://github.com/Zverik/editor-stats) tools, which are also used to generate the data for the OSM wiki's editor stats page. Therefore, it is necessary to run these tools on the [Planet OSM](https://planet.openstreetmap.org/) changesets file beforehand.\n\nExample:\n\n```bash\n# assume editor-stats and this project are cloned locally\n# create folder for data\nmkdir data\n# download latest changeset file from planet.osm\nwget -P data https://planet.openstreetmap.org/planet/changesets-latest.osm.bz2\n# convert to csv using editor-stats\nbzcat data/changesets-latest.osm.bz2 | editor-stats/xml2csv.pl \u003e data/changesets.csv\n# generate .lst files using editor-stats, e.g. for each month in 2017\nfor i in `seq -w 1 12`; do\n    cat data/changesets.csv | editor-stats/stats.pl 2017-$i \u003e data/2017-$i.lst\ndone\n# generate graphs using this tool, e.g. for editor StreetComplete\nosm-tool-stats/osm_editor_graphs.py -e StreetComplete --outdir data data/*.lst\n```\n\nThis is how an example graph for the number of users may look like:\n\n![](res/StreetComplete_users.png)\n\n## Misc\n\nIt may be necessary to tune the plotting a little bit. Maybe further functionality will be added later. Pull Requests are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexploide%2Fosm-tool-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexploide%2Fosm-tool-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexploide%2Fosm-tool-stats/lists"}