OsmUserStats

What is it?

OsmUserStats is an OSM statistics generator for individual users. You'll need python and matplotlib to use it. If you cannot generate these statistics, you can ask me to do it for you. WARNING: This work is in progress, NO optimisation has been done yet! Please, stay gentle with OSM database. If you made a lot of changesets, don't fetch them with OsmUserStats too often!

The script is here. As an exemple, here the generated page for my own account.

Usage

## Usage: OsmUserStats.py [options] "username"
##
## Options:
##   -h, --help            show this help message and exit
##   -m, --map             generate a map section, with changesets positions
##                         (heavy for the browser)
##   -t TIMESHIFT, --timeshift=TIMESHIFT
##                         hour difference between your location
##                         and the OSM server, integers only
##                         [default:0]
##   -f FMT, --format=FMT  image format: svg or png [default: png]
##   -v, --verbose         print everything

History

0.3.2
OO major refactoring + pylint-validated cleaning code (9.81/10)
0.3.1
some cleaning
0.3
new -d option to change date of first changeset considered (default: 2009-04-21, date of API 0.6, introducing changesets)
new -r option to remove the database file
0.2
first release, generate first statistics and graphs
0.1
first version, get data and create database

Git repository

If you want to help developing OsmUserStats, feel free to clone its repository and submit patches:

git clone git://gitorious.org/osmuserstats/osmuserstats.git

Flattr me!