Oracle Solution for Error ora-13364

Solution for Oracle Error ORA-13364

ORA-13364: layer dimensionality does not match geometry dimensions

What triggered the Error:

The spatial layer has a geometry with a different dimensions than the dimensions specified for the layer.

What should we do to fix it:

Make sure that all geometries in a layer have the same dimensions and that they match the dimensions in the SDO_DIM_ARRAY object for the layer in the USER_SDO_GEOM_METADATA view.