agg_rivers works for all rivers

This commit is contained in:
Motiejus Jakštys 2021-03-25 12:04:29 +02:00
parent e56932395d
commit 3c0f222334
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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;