Created
December 27, 2019 05:32
-
-
Save allenday/dbfeaeaa63af3d054a28b2d7149f2fc2 to your computer and use it in GitHub Desktop.
Which users have contributed the most relations to the current version of OpenStreetMap?
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
SELECT username, COUNT(*) AS c | |
FROM | |
`bigquery-public-data.geo_openstreetmap.planet_relations` AS relations | |
GROUP BY username | |
ORDER BY c DESC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doesn't this only return the “number of users who are the last modifier of relations in the current OpenStreetMap dataset”, which might be quite a different number from the original question in the description of this query (i.e. “ Which users have contributed the most relations to the current version of OpenStreetMap?”)