2021-03-17 11:32:12 +02:00
|
|
|
\i wm.sql
|
|
|
|
|
2021-03-29 14:57:44 +03:00
|
|
|
drop table if exists debug_wm;
|
2021-04-06 07:08:39 +03:00
|
|
|
create table debug_wm(stage text, name text, gen bigint, nbend bigint, way geometry, props json);
|
2021-03-29 14:57:44 +03:00
|
|
|
|
|
|
|
drop table if exists demo_wm;
|
|
|
|
create table demo_wm (name text, i bigint, way geometry);
|
2021-04-06 07:08:39 +03:00
|
|
|
insert into demo_wm (name, way) select name, ST_SimplifyWM(way, name) from agg_rivers;
|