Skip to content

Instantly share code, notes, and snippets.

@allenday
Created September 25, 2019 09:21
Show Gist options
  • Save allenday/884d6ee371e0aba91470710e9a5fb82b to your computer and use it in GitHub Desktop.
Save allenday/884d6ee371e0aba91470710e9a5fb82b to your computer and use it in GitHub Desktop.
How many objects are in each OSM layer?
SELECT name, COUNT(name) AS c
FROM `bigquery-public-data.geo_openstreetmap.layers`
GROUP BY name ORDER BY c DESC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment