Created
July 6, 2017 09:57
-
-
Save cquest/3ca65f77b08d3203936de9dd8d3fd88e to your computer and use it in GitHub Desktop.
Extraction des contributeurs sur un département
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://download.geofabrik.de/europe/france/lorraine-latest.osm.pbf | |
wget "http://polygons.openstreetmap.fr/get_poly.py?id=51856¶ms=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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dommage, il n'y a plus les tags "user" dans le pbf de geofabrik, sniff.