ORA-13047: unable to determine ordinate count from table _SDOLAYER Cause: An SDO_GEOM function was unable to determine the number of ordinates for the SDO layer . Action: Verify that the _SDOLAYER table has a valid value for the column SDO_ORDCNT. Then retry the operation.