Skip to main content
Solved

Error with ORACLE integration

  • Dec 12, 2018 8:38 AM UTC
  • 4 replies
  • 192 views

geo-x
Supporter
Forum|alt.badge.img+6

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
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

david_r
Celebrity
  • Dec 12, 2018 8:42 AM UTC

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


itay
Supporter
Forum|alt.badge.img+19
  • Supporter
  • Best Answer
  • Dec 12, 2018 9:08 AM UTC

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
Supporter
Forum|alt.badge.img+6
  • Author
  • Supporter
  • Dec 12, 2018 9:55 AM UTC

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

That doesn't work better with the GeometryRefiner


geo-x
Supporter
Forum|alt.badge.img+6
  • Author
  • Supporter
  • Dec 14, 2018 9:43 AM UTC

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;