We are creating a buffer geometry and we would like to utilize this buffer geometry for some analysis, which is going to utilize in Oracle spatial functions .
FYI: We have utilized geometry.ToJson() to convert the geometry into JSON and then read the coordinates. This method is working well, If the geometry is having only rings.
Steps: Read JSON geometry, capture the coorinates, pass these coordinates to Oracle procedure, create SDO_Geom based on this coordinate string and then convert back to ST_Geometry using Oracle spatial functions.
But, If the Geometry has CurveRings - then we were unable to follow the same process.
Can someone please help me - how to pass this geometry into Oracle spatial effectively.
Did you try replacing the curves with linear approximations?
Generalize can do this.
"For non-linear segments, if preserveCurves is false, then the generalized output contains points along all parts of the curve, not necessarily only the vertices."