stud/IV/tests-integration.sql
Motiejus Jakštys 7937aece8b convert to jsonb
2021-04-08 15:19:36 +03:00

9 lines
317 B
PL/PgSQL

\i wm.sql
drop table if exists wm_debug;
create table wm_debug(stage text, name text, gen bigint, nbend bigint, way geometry, props jsonb);
drop table if exists wm_demo;
create table wm_demo (name text, i bigint, way geometry);
insert into wm_demo (name, way) select name, ST_SimplifyWM(way, name) from agg_rivers;