I have several IFC files, each one has its own structure.
I managed to save some of the data as a polyhedralSurfaceZ in postGIS, but some of the data structure is more complicated, and saves as a geometry collection of several types.
I only managed to save it to postGIS when the geom type is the general "GeometryZ" but then I cannot used the indexing power of postGIS and queries take forever, and some don't run at all ( like st_volume)
is there a way to transform the geometry collections to a solid that will be saved as polyhedralSurfaceZ?
example of such data:
GEOMETRYCOLLECTION Z (CURVEPOLYGON Z (COMPOUNDCURVE Z ((....
some also have PolygonZ , some have POLYHEDRALSURFACE Z