I want to loop through the vertices in a SHAPE/GEOMETRY column in a user-defined data type (ESRI's version of ST_GEOMETRY
). I've posted the details in a GIS SE post here: Update sde.st_geometry M values to cumulative distance (geometric length)
I think this would normally be done in a stored procedure (probably in conjunction with the sde.ST_GEOMETRY
functions ST_NumPoints
and ST_PointN
) . However, I don't have CREATE PROCEDURE
permissions, so I can't make a stored procedure.
As an alternative to creating a stored procedure, is there a way to loop through the vertices using an SQL statement instead?
Oracle 12c (12.1.0.2.0)