From 4ce1648550d6cab587dd7a405bada31c1d1d2feb Mon Sep 17 00:00:00 2001 From: John Krauss Date: Wed, 30 Nov 2016 23:16:18 +0000 Subject: [PATCH] score rasters with lots of missing space lower --- src/pg/sql/42_observatory_exploration.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pg/sql/42_observatory_exploration.sql b/src/pg/sql/42_observatory_exploration.sql index 9f0e1d2..e99bb18 100644 --- a/src/pg/sql/42_observatory_exploration.sql +++ b/src/pg/sql/42_observatory_exploration.sql @@ -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 (