Skip to content

v0.2.49..v0.2.50 changeset grailOverpassStatsQuery.oql

Garret Voltz edited this page Nov 6, 2019 · 1 revision
diff --git a/conf/services/grailOverpassStatsQuery.oql b/conf/services/grailOverpassStatsQuery.oql
index 4b94560..8cab48d 100644
--- a/conf/services/grailOverpassStatsQuery.oql
+++ b/conf/services/grailOverpassStatsQuery.oql
@@ -1,17 +1,7 @@
-[out:csv(::count, ::"count:nodes", ::"count:ways", ::"count:relations")][bbox:{{bbox}}];
+[out:csv(::count, ::"count:nodes", ::"count:ways", ::"count:relations")];
 (
-   node;<;>;
-)->.all;
-
-(
-   relation[natural=coastline];
-   way[natural=coastline];<;>;
-   relation[boundary=census];>;
-   relation[boundary=administrative];
-   way[boundary=administrative];>;
-   node[boundary=administrative];
-)->.exclude;
-
-(.all; - .exclude;);
-
+  node({{bbox}});
+  <;
+);
+(._;>;);
 out count;
\ No newline at end of file
Clone this wiki locally