agg_rivers works for all rivers

This commit is contained in:
Motiejus Jakštys 2021-05-19 22:57:46 +03:00 committed by Motiejus Jakštys
parent 8d4a1c1e60
commit 269099d018
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;

2
wm.sql
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;