SDO_GEOM.VALIDATE_LAYER_WITH_CONTEXT Reporting ORA-13367 On Valid Polygons
Last updated on FEBRUARY 08, 2017
Applies to:Oracle Spatial and Graph - Version 184.108.40.206 and later
Information in this document applies to any platform.
The geometries are compound polygons oriented counter-clockwise which is correct
These are valid geometries
Oracle reports error:
ORA-13367: wrong orientation for interior/exterior rings
Cause: In an Oracle Spatial geometry, the exterior and/or interior rings are not oriented correctly.
Action: Be sure that the exterior rings are oriented counterclockwise and the interior rings are oriented clockwise.
When they are valid geometries
RECTIFY_GEOMETRY would validate them but there should not be a need to run them through RECTIFY_GEOMETRY
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms