Created
July 30, 2011 14:01
-
-
Save booo/1115556 to your computer and use it in GitHub Desktop.
average over the tags per node (osm)
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 avg(tagspernode) FROM (SELECT id, count(tags) AS tagsPerNode FROM (SELECT each(tags) as tags, id FROM nodes) AS tuples GROU LIMIT 10000) BY id) AS foo; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment