Merge pull request #270 from CartoDB/269-overviews-non-null

Exclude null geometries to create overviews
This commit is contained in:
Rafa de la Torre
2016-10-17 17:07:17 +02:00
committed by GitHub

View File

@@ -687,6 +687,7 @@ AS $$
Floor(ST_Y(f.the_geom_webmercator)/%2$s)::int AS gy,
MIN(cartodb_id) AS cartodb_id
FROM %1$s f
WHERE f.the_geom_webmercator IS NOT NULL
GROUP BY gx, gy
)
SELECT %6$s FROM clusters