Skip to main content
Solved

Error with ORACLE integration

  • December 12, 2018
  • 4 replies
  • 121 views

geo-x
Contributor
Forum|alt.badge.img+6
  • Contributor

Dear FME community.

I try to integrate data into ORACLE but FME say me : error was `ORA-29875: failed in the execution of the ODCIINDEXINSERT routine

Do you know what does that mean ?

Thanks

Best answer by itay

Hi @lalandexavier,

This usually means that the coordinates of the features are within the table tolerance and therefore Oracle rejects the features or cannot create the spatial index.

I suggest changing the tolerance of your table by re creating the tabel's entry in the user_sdo_geom_metadata table or making sure the coordinates are within the acceptable tolerance try the Generalizer transformer.

Hope this helps,

Itay

View original
Did this help you find an answer to your question?

4 replies

david_r
Celebrity
  • December 12, 2018

What happens if you try inserting a GeometryRefiner just before the writer?


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • Best Answer
  • December 12, 2018

Hi @lalandexavier,

This usually means that the coordinates of the features are within the table tolerance and therefore Oracle rejects the features or cannot create the spatial index.

I suggest changing the tolerance of your table by re creating the tabel's entry in the user_sdo_geom_metadata table or making sure the coordinates are within the acceptable tolerance try the Generalizer transformer.

Hope this helps,

Itay


geo-x
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • December 12, 2018
david_r wrote:

What happens if you try inserting a GeometryRefiner just before the writer?

That doesn't work better with the GeometryRefiner


geo-x
Contributor
Forum|alt.badge.img+6
  • Author
  • Contributor
  • December 14, 2018
itay wrote:

Hi @lalandexavier,

This usually means that the coordinates of the features are within the table tolerance and therefore Oracle rejects the features or cannot create the spatial index.

I suggest changing the tolerance of your table by re creating the tabel's entry in the user_sdo_geom_metadata table or making sure the coordinates are within the acceptable tolerance try the Generalizer transformer.

Hope this helps,

Itay

Thank you great !

This is my request : 

DELETE FROM user_sdo_geom_metadata WHERE TABLE_NAME = 'MYTABLE';
INSERT INTO user_sdo_geom_metadata (TABLE_NAME,COLUMN_NAME,DIMINFO,SRID) VALUES ('EDTG_BATI_PARKING','GEOMETRY',MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X',-2147483648,2147483647,5E-5),MDSYS.SDO_DIM_ELEMENT('y',-2147483648,2147483647,5E-5),MDSYS.SDO_DIM_ELEMENT('z',-2147483648,2147483647,5E-5)),2154);
DROP INDEX EDTG_BATI_PARKING_ARCH_GMIDX;
CREATE INDEX EDTG_BATI_PARKING_ARCH_GMIDX ON EDTG_BATI_PARKING
(GEOMETRY)
INDEXTYPE IS MDSYS.SPATIAL_INDEX
NOPARALLEL;

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings