When checking geometry object like this
SELECT t.STREET_ID,
t.FC_GEOM.SDO_SRID SRID,
SUBSTR(t.FC_GEOM.SDO_GTYPE, 1, 1) DIM_COUNT,
SUBSTR(t.FC_GEOM.SDO_GTYPE, 4, 1) GTYPE,
SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(t.FC_GEOM, 0.05) VALIDATION_RES
FROM ST_SEGMENT t WHERE t.STREET_ID = 'STEID5005';
I am getting all (74 rows) TRUE validation results, as you can see
But when I try to calculate length of the geometry object like
SELECT t.STREET_ID, SDO_GEOM.SDO_LENGTH(t.FC_GEOM, 0.005, 'KM')
FROM ST_SEGMENT t WHERE t.STREET_ID = 'STEID5005';
I am getting these errors
ORA-13029: Invalid SRID in the SDO_GEOMETRY object
ORA-06512: at "*****.MD", line 1723
ORA-06512: at "*****.MDERR", line 8
ORA-06512: at "*****.SDO_GEOM", line 2217
ORA-06512: at "*****.SDO_GEOM", line 2149
ORA-06512: at line 1
13029. 00000 - "Invalid SRID in the SDO_GEOMETRY object"
*Cause: There is an invalid SDO_SRID in the SDO_GEOMETRY object.
The specified SRID may be outside the valid SRID range.
*Action: Verify that the geometries have valid SRIDs.
Why am I still getting this error?

I'm surprised the validation in your example returns
TRUE, i.e. indicates no error. You should really get the same13029error. For example:The reason for the error is that your data is 3D (
SDO_GTYPEis3002in the example you showed) but the coordinate system is 2D. See what happens when I compute the length of a 3D line:If your data is not really 3D (all the Z are or even NULL), then you can do this:
Notice that the correct way of specifying the unit is
unit=xxx.The result is: