]> git.openstreetmap.org Git - rails.git/blobdiff - script/statistics
Stop trying to report on the number of ways with tags because (a) almost all
[rails.git] / script / statistics
index 0d300f706f13d932bafad80576b4f0819b0a1b1f..e76028114575dd2c6b655e55d05c64b90912253d 100755 (executable)
@@ -19,7 +19,6 @@ begin
   tracepoint_count = Tracepoint.count()
   node_count = Node.count(:conditions => "visible = true")
   way_count = Way.count(:conditions => "visible = true")
-  tagged_way_count = Way.count(:conditions => "visible = true AND EXISTS (SELECT * FROM current_way_tags WHERE id = current_ways.id AND k <> 'created_by')")
   relation_count = Relation.count(:conditions => "visible = true")
 
   puts "<table>"
@@ -27,7 +26,6 @@ begin
   puts "<tr><td>Number of uploaded GPS points</td><td>#{tracepoint_count}</td></tr>"
   puts "<tr><td>Number of nodes</td><td>#{node_count}</td></tr>"
   puts "<tr><td>Number of ways</td><td>#{way_count}</td></tr>"
-  puts "<tr><td>Number of ways with tags</td><td>#{tagged_way_count}</td></tr>"
   puts "<tr><td>Number of relations</td><td>#{relation_count}</td></tr>"
   puts "</table>"