Changes between Version 2 and Version 3 of UsersWikiBuildPolygonsWithLines
- Timestamp:
- 04/08/15 20:45:08 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiBuildPolygonsWithLines
v2 v3 6 6 #!sql 7 7 CREATE OR REPLACE FUNCTION ST_BuildAreaLinework(linework geometry) RETURNS geometry AS 8 'WITH data AS (SELECT * FROM ST_Dump( $1))8 'WITH data AS (SELECT * FROM ST_Dump(ST_UnaryUnion($1))) 9 9 SELECT ST_SetSRID(ST_BuildArea(ST_Collect(geom)), ST_SRID($1)) 10 10 FROM