wm/tests-integration.sql

9 lines
317 B
MySQL
Raw Normal View History

2021-05-19 22:57:46 +03:00
\i wm.sql
2021-05-19 22:57:47 +03:00
drop table if exists wm_debug;
2021-05-19 22:57:47 +03:00
create table wm_debug(stage text, name text, gen bigint, nbend bigint, way geometry, props jsonb);
2021-05-19 22:57:46 +03:00
2021-05-19 22:57:47 +03:00
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;