我正在尝试在3D几何上运行ST_Difference,我有2个重叠的立方体,cube1和cube2。
CREATE TABLE cube_diff AS
SELECT ST_Difference(cube1.geom, cube2.geom) AS geom
FROM cube1, cube2
3D Intersection工作正常:
ST_3DIntersection(cube1.geom,cube2.geom) AS geom
但是ST_Difference抱怨说我正在处理多面体表面,我使用了ST_IsSolid,它返回true。