Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
poligonizza un vettore di linee
CREATE TABLE aggr_polyg (id INTEGER PRIMARY KEY);
SELECT AddGeometryColumn('aggr_polyg', 'geom', 3004, 'MULTIPOLYGON', 'XY');
INSERT INTO aggr_polyg
SELECT NULL, ST_Polygonize(geometry) FROM ambiti_reg;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment