stud/II/Referatas/douglas.sql

15 lines
278 B
MySQL
Raw Normal View History

2020-05-26 12:11:41 +03:00
DROP TABLE IF EXISTS :tbl;
2020-05-22 10:19:17 +03:00
2020-05-26 12:11:41 +03:00
CREATE TABLE :tbl (
2020-05-22 10:19:17 +03:00
fid serial NOT NULL,
geom geometry(MULTILINESTRING, 3346)
);
2020-05-26 12:11:41 +03:00
INSERT INTO :tbl (geom) (
2020-05-22 10:19:17 +03:00
SELECT
2020-05-26 12:28:32 +03:00
ST_Multi (ST_Simplify (ST_LineMerge (ST_Union (geom)),
2020-06-18 09:37:54 +03:00
:param1)) AS geoms
2020-05-22 10:19:17 +03:00
FROM
2020-05-26 12:11:41 +03:00
:src);
2020-05-22 10:19:17 +03:00