This project has moved and is read-only. For the latest updates, please go here.

Problem With Oracle and SRID

Jul 21, 2008 at 11:06 PM

I retrive without problems data from a oracle table, but when this table have a SRID have a error, Unknow how correct the problem....
Jul 22, 2008 at 9:25 AM
Post some code hat generates the error, because afaik srid is well managed from OracleProvider.
Jul 22, 2008 at 4:43 PM
Edited Jul 22, 2008 at 4:54 PM

is same to this error:

ORA-29902: error in executing ODCIIndexStart() routine
ORA-13208: internal error  while evaluating [window SRID does not match layer SRID] operator
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 286

This is the error say in oracle, the file afected is orace.cs:

 using (OracleCommand command = new OracleCommand(strSQL, conn))
     using (OracleDataReader dr = command.ExecuteReader())
      while (dr.Read())
       if (dr[0] != DBNull.Value)
        SharpMap.Geometries.Geometry geom = SharpMap.Converters.WellKnownBinary.GeometryFromWKB.Parse((byte[])dr[0]);                              



Jul 22, 2008 at 6:42 PM
Solve!!!!, The problem is Uppercase in Table on oracle, get the Metadata using name of table in Uppercase.