title: In Oracle Spatial (SDO), is there a way to get the centroid point of a polygon that is contained by the surface of the polygon?
body: <p>I need to find the centroid of a polygon in Oracle Spatial that exists inside of the polygon itself.  I cannot use the sdo_geom.sdo_centroid method because this returns a point outside of the shape if the shape resembles a horseshoe.  </p>
  
  <p>I found sdo_geom.sdo_pointonsurface method, but it returns a point that is <em>just</em> on the edge of the polygon.  While this mathematically works, it is not safe in our environment because all polygons share a boundary with other polygons and sometimes there is a slight overlap in the data.  This overlap cannot include the calculated point.</p>
  
  <p>Is there another approach to finding this point without writing custom code?  I'm not opposed to writing custom code for this, but I would like to use something pre-built if it already exists.</p>
  
  <p>Thanks!</p>