From 757a42231d2f77ac35de1496c863e7db7663be42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 24 Mar 2021 16:58:51 +0200 Subject: [PATCH] demo test with multi-island --- IV/tests.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IV/tests.sql b/IV/tests.sql index 33269ee..2da4adc 100644 --- a/IV/tests.sql +++ b/IV/tests.sql @@ -26,7 +26,7 @@ insert into figures (name, way) values ('fig6-combi', )) ); insert into figures (name, way) values ('inflection-1',ST_GeomFromText('LINESTRING(110 24,114 20,133 20,145 15,145 0,136 5,123 7,114 7,111 2)')); -insert into figures (name, way) values ('multi',ST_GeomFromText('MULTILINESTRING((-10 -6,-5 -5,0 5,10 6),(-5 -5,-1 -1,0 0,1 -1,5 -5))')); +insert into figures (name, way) values ('multi-island',ST_GeomFromText('MULTILINESTRING((-10 10,-5 11,0 11,5 11,10 10),(-5 11,-1 15,0 16,1 15,5 11))')); drop table if exists debug; create table debug (i bigint, way geometry); @@ -55,7 +55,7 @@ insert into demo_selfcrossing3 select name, generate_subscripts(ways, 1), unnest -- COMBINED drop table if exists demo_wm; create table demo_wm (name text, i bigint, way geometry); -insert into demo_wm (name, way) select name, ST_SimplifyWM_DEBUG(way) from figures where name='multi'; +insert into demo_wm (name, way) select name, ST_SimplifyWM_DEBUG(way) from figures where name='multi-island'; do $$ declare