demo with island
This commit is contained in:
parent
73b5d76463
commit
d77c275474
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
drop table if exists agg_rivers_wm;
|
drop table if exists agg_rivers_wm;
|
||||||
create table agg_rivers_wm (name text, way geometry);
|
create table agg_rivers_wm (name text, way geometry);
|
||||||
insert into agg_rivers_wm (name, way) select name, ST_SimplifyWM_DEBUG(way) from agg_rivers;
|
insert into agg_rivers_wm (name, way) select name, ST_SimplifyWM_DEBUG(way) from agg_rivers where name='Nemunas';
|
||||||
|
@ -26,6 +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 ('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))'));
|
||||||
|
|
||||||
drop table if exists debug;
|
drop table if exists debug;
|
||||||
create table debug (i bigint, way geometry);
|
create table debug (i bigint, way geometry);
|
||||||
@ -54,6 +55,7 @@ insert into demo_selfcrossing3 select name, generate_subscripts(ways, 1), unnest
|
|||||||
-- COMBINED
|
-- COMBINED
|
||||||
drop table if exists demo_wm;
|
drop table if exists demo_wm;
|
||||||
create table demo_wm (name text, i bigint, way geometry);
|
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';
|
||||||
|
|
||||||
do $$
|
do $$
|
||||||
declare
|
declare
|
||||||
|
Loading…
Reference in New Issue
Block a user