How to fix the Oracle error ORA-13221: unknown geometry type in the geometry object?

In this post, you’ll learn more about the Oracle ErrorORA-13221: unknown geometry type in the geometry object with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-13221: unknown geometry type in the geometry object

Reason for the Error ORA-13221: unknown geometry type in the geometry object

The SDO_GTYPE attribute in the geometry object contains an invalid value

How to fix the Error ORA-13221: unknown geometry type in the geometry object ?

You can fix this error in Oracle by following the below steps

Redefine the geometric type in the geometry table using one of the supported SDO_GTYPE values. See the Oracle Spatial documentation for an explanation of SDO_GTYPE and its possible values.

Tags :

Leave Your Comment