Oracle Error ORA-13121: layer type type mismatch with topo_geometry layer type

Oracle Error Message

ORA-13121: layer type type mismatch with topo_geometry layer type

Reason for the Error

The tg_type in SDO_TOPO_GEOMETRY constructor did not match the type specified for the layer.

Solution

Check the USER_SDO_TOPO_METADATA view to see the layer type for the layer and use it in the constructor.