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!

Find polyline vertices where M-value is not cumulative length

User_1871Apr 9 2022 — edited Apr 11 2022

I have multi-part polylines that have M-values (Oracle 18c; SDO_GEOMETRY). [Screenshot link]
Using SQL, I want to check the polylines for vertices where the M-value does not equal the cumulative length of the line (within a 1-meter tolerance).

Correct:
MULTILINESTRING M ((0 5 0, 10 10 11.18, 30 0 33.54),(50 10 33.54, 60 10 43.54))
Incorrect:
MULTILINESTRING M ((0 5 0, 10 10 10, 30 0 33.54),(50 10 33.54, 60 10 -10000))

How can I perform a check like that using SQL?

This post has been answered by _jum on Apr 12 2022
Jump to Answer
Comments
Post Details
Added on Apr 9 2022
9 comments
420 views