stud/II/Referatas/chaikin.sql

14 lines
227 B
MySQL
Raw Normal View History

2020-06-18 10:38:05 +03:00
DROP TABLE IF EXISTS :tbl;
CREATE TABLE :tbl (
fid serial NOT NULL,
geom geometry(MULTILINESTRING, 3346)
);
INSERT INTO :tbl (geom) (
SELECT
ST_ChaikinSmoothing (geom, 3) AS geoms
FROM
:src);