Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Function to adjust Nth vertex of SDO_GEOMETRY

user1923232Jan 11 2023

Hi,
I need a function that adjusts n-th vertex of SDO_GEOMETRY to new xy coordinates.
Like: Adjust_Nth_Vertex(g, n, x, y)
I just started looking for it. Maybe there is already something for this. Currently I only need this for 2D single-part polylines.
If I'd have to write the function myself, can I change the ORDINATE_ARRAY or must I break the geometry into vertices with MDSYS.SDO_UTIL.GETVERTICES and COLLECT(?) them back into a line?

This post has been answered by kpatenge-Oracle on Jan 11 2023
Jump to Answer
Comments
Post Details
Added on Jan 11 2023
2 comments
370 views