1
我在表2中有一個多邊形,它的id,no和geometry。在表1中,我有與相同領域的多邊形。 table2中的多邊形與表1中的幾個多邊形相交。我試圖做的是剪切與表2中的多邊形重疊的多邊形,並在表3中插入相同的字段和幾何。因此,如果表2中的多邊形具有2重疊我想擺脫這些重疊,只是把其餘的部分放到一個新的表格中。下面的代碼是用於返回幾何圖形的剪切部分。如何在剪切完成後得到多邊形的幾何圖形。在Oracle中裁剪一個多邊形
insert into table 3
select a.store_id,b.store_id,a.store_number,a.client_id,sdo_geom.sdo_intersection(b.geometry,a.geometry,0.005)
from table_1 a, table_2 b
where b.store_id=34746
and sdo_anyinteract(b.geometry,a.geometry)='True';