#!/bin/sh # script to download all changesets of one user since # a given date (to get ALL, set date to before their signup) # API currently limited to listing max. 100 changesets, # therefore loop required USER=someuser SINCE=2010-04-15T00:00:00 # no user servicable parts below. run this in empty directory # and you'll end up with tons of files called c1234.osc (one # for each changeset) T=`date -u +%Y-%m-%dT%H:%M:%S` export T while true do wget -Olist "https://api.openstreetmap.org/api/0.6/changesets?display_name=$USER&time=$SINCE,$T" T=`grep "