Skip to content

Instantly share code, notes, and snippets.

View nlehuby's full-sized avatar

Noémie nlehuby

  • Jungle Bus
View GitHub Profile
@cquest
cquest / osm-stats-54.sh
Created July 6, 2017 09:57
Extraction des contributeurs sur un département
wget http://download.geofabrik.de/europe/france/lorraine-latest.osm.pbf
wget "http://polygons.openstreetmap.fr/get_poly.py?id=51856&params=0" -O 54.poly
osmconvert lorraine-latest.osm.pbf -B=54.poly -o=54.pbf
osmconvert 54.pbf --out-osm | grep 'user=".*"' -o | sort | uniq -c | sort -n > stats.txt