score rasters with lots of missing space lower

This commit is contained in:
John Krauss 2016-11-30 23:16:18 +00:00
parent ff0f6ea6e0
commit 4ce1648550

View File

@ -434,7 +434,7 @@ BEGIN
(1 / (abs(numgeoms - $3)
--* (1 / Coalesce(NullIf(notnull_percent, 0), 1))
--* (1 / Coalesce(NullIf(percentfill, 0), 0.0001))
))::Numeric
))::Numeric * percentfill
AS score, *
FROM (
WITH clipped_geom AS (