How to export aggregated geometry to GML
Hi,
I have tried to use TO_GMLGeometry along with sdo_aggr_union and it's failed with following error.
SELECT TO_CHAR(SDO_UTIL.TO_GMLGEOMETRY(sdo_aggr_union(mdsys.sdoaggrtype(aggr_geom,0.5)))) aggr_geom
*
ERROR at line 1:
ORA-13378: invalid index for element to be extracted
ORA-06512: at "MDSYS.SDO_UTIL", line 50
ORA-06512: at "MDSYS.SDO_UTIL", line 77
ORA-06512: at "MDSYS.SDO_UTIL", line 1539
I could guess some extent, TO_GMLGEOMETRY won't won't work on SDOAGGRTYPE objects. so, any tips or functions..?