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!

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
405 views