Oracle Error ORA-13293: cannot specify unit for geometry without a georeferenced SRID

Oracle Error Message

ORA-13293: cannot specify unit for geometry without a georeferenced SRID

Reason for the Error

An Oracle Spatial function with a UNIT parameter was called on a geometry without a georeferenced SRID.

Solution

Make sure that spatial functions with UNIT parameters are only called on geometries with georeferenced SRIDs.