How can I remove inner rings of a complex geometry of type SDO_GEOMETRY

Hi all

I'm looking for a better way to remove the inner rings of a complex geometry of SDO_GEOMETRY using ORACLE packages. I have a complex geometry, called MAINGEOM, which is to have two elements of disjoint ELEM1, ELEM2, and each item will have a ring of hole/inner completely inside the ELEM1 and ELEM2 respectively.

I wanted to just delete the two rings of holes / inner of each ELEMs.

Initially, I planned to collect all the individual rings that are not inside the element using SDO_UTIL. EXTRACT and collect them in a collection, and subsequently all adding them to the first element of the collection to prepare a new geometry.

FOR rec in c1
LOOP
new_g: = SDO_UTIL. APPEND (new_g, rec. GEOM);
END LOOP;

I feel, this average gross to solve the problem. I doubt that there should be an existing SDO packages to remove the rings/items inside/required.

Can you please help me solve this problem anyone and let me know if more information is needed.

Kind regards
Kumar

Kumar,
As I said in my post, if you extract (idx, 1), you will always get the outer ring, so you don't need to worry about the holes that you will ever extract them.

Siva

Tags: Database

Similar Questions

Maybe you are looking for

  • Airport Extreme with a USB hard drive

    I have iMac, retina runs El Capitan, I have a fairly new Airport Extreme 6.3.6 running.  My desire is to attach a USB drive and have available files can I access any of my computers.  Also have old iMac and a MBP (about 2012 or 2013).  All three are

  • The signal strength

    I recently bought my Xperia Z3, which I love so far, but with one question. I seem to be getting low signal (never above 2 bars, approximately 100 dBm), but sometimes I have problems with slow data speeds, and I never have a problem with phone calls

  • BlackBerry Smartphones 907 invalid COD

    Can someone tell me what this error message?  I try to download the Sirius/XM app and get this message.

  • Several public address on a Pix outside interface spaces

    I currently have a pix (6.3) with the external interface configured as part of a public ip address space of 27 bits. We are running out of addresses and need to buy another beach. Can I make this work using the pix existing and without alteration of

  • BlackBerry smartphone screen remains blue to make a call

    My 9330 has developed a new show.  When I make a call, the screen remains blue and the keyboard no longer works.  Voice call allows the call pass but I can't remove/save a message.  I did the hard reset and tried an update, or helped.  any ideas? Cur