My Oracle Support Banner

SDO_GEOM.VALIDATE_LAYER_WITH_CONTEXT Reporting ORA-13367 On Valid Polygons (Doc ID 1626637.1)

Last updated on MARCH 06, 2019

Applies to:

Oracle Spatial and Graph - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

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

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.