PostGIS
Synopsis
geometry +`*`+ST_3DUnion
*(`geometry `geom1
, geometry
geom2`
)`;
geometry +`*`+ST_3DUnion
*(`geometry set `g1field`
)`;
Description
Availability: 2.2.0
Availability: 3.3.0 aggregate variant was added
This method needs SFCGAL backend.
This method implements the SQL/MM specification. SQL-MM IEC 13249-3: 5.1
This function supports 3d and will not drop the z-index.
This function supports Polyhedral surfaces.
This function supports Triangles and Triangulated Irregular Network Surfaces (TIN).
Aggregate variant: returns a geometry that is the 3D union of a rowset of geometries. The ST_3DUnion() function is an "aggregate" function in the terminology of PostgreSQL. That means that it operates on rows of data, in the same way the SUM() and AVG() functions do and like most aggregates, it also ignores NULL geometries.
Examples
3D images were generated using PostGIS ST_AsX3D and rendering in HTML using X3Dom HTML Javascript rendering library.
Original 3D geometries overlaid. geom2 is the one with transparency. |
Union of geom1 and geom2 |