From 3c0f2223342463f3e6e4c5283e5c4473f2d54101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 25 Mar 2021 12:04:29 +0200 Subject: [PATCH] agg_rivers works for all rivers --- IV/tests-integration.sql | 2 +- IV/wm.sql | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/IV/tests-integration.sql b/IV/tests-integration.sql index a9fbfa9..541d4a2 100644 --- a/IV/tests-integration.sql +++ b/IV/tests-integration.sql @@ -2,4 +2,4 @@ drop table if exists agg_rivers_wm; create table agg_rivers_wm (name text, way geometry); -insert into agg_rivers_wm (name, way) select name, ST_SimplifyWM(way, true) from agg_rivers where name='Nemunas'; +insert into agg_rivers_wm (name, way) select name, ST_SimplifyWM(way, true) from agg_rivers; diff --git a/IV/wm.sql b/IV/wm.sql index f5fb385..8bc517b 100644 --- a/IV/wm.sql +++ b/IV/wm.sql @@ -335,8 +335,6 @@ begin lines[i] = st_linemerge(st_union(bends)); - raise notice 'lines[i]: %', st_summary(lines[i]); - dbg_stage = dbg_stage + 1; end loop; end loop;