stud/II/Referatas/douglas.sql
2020-05-25 12:32:45 +03:00

15 lines
311 B
SQL

DROP TABLE IF EXISTS douglas_:tolerance;
CREATE TABLE douglas_:tolerance (
fid serial NOT NULL,
geom geometry(MULTILINESTRING, 3346)
);
INSERT INTO douglas_:tolerance (geom) (
SELECT
ST_Simplify (ST_LineMerge (ST_Union (geom)),
:tolerance) AS geoms
FROM
zeimena);