major refactor of internals

This commit is contained in:
John Krauss
2017-01-10 02:28:38 +00:00
parent 4886222776
commit 7c093741dc
13 changed files with 11789 additions and 15828 deletions

View File

@@ -485,7 +485,7 @@ BEGIN
, null::numeric meanmediansize
FROM clipped_geom_reagg
) SELECT
((100.0 / (1+abs(log(1 + $3) - log(1 + numgeoms::Numeric)))) * percentfill)::Numeric
((100.0 / (1+abs(log(0.0001 + $3) - log(0.0001 + numgeoms::Numeric)))) * percentfill)::Numeric
AS score, *
FROM final
$string$ USING bounds, filter_geom_ids, desired_num_geoms;