|
Posted by S Evans on July 30, 2004, 6:17 am
Please log in for more thread options
Hi,
I posted this in the ESRI group but think that's got a bit of a
limited audience, so I am posting it here in the hope of someone
recognising the problem as I am nearing the end of my tether...
I am using Oracle 9.2.0.5 and ArcSDE / ArcGIS 8.3 on a Windows 2003
server. I have been loading shapefiles into Oracle using the SHP2SDO
utility and have encountered a problem I didn't have to start off
with.
This is my methodology:
1. Use SHP2SDO and SQLLDR to load spatial data into tables in Oracle.
2. Execute the SDO_MIGRATE.TO_CURRENT('tablename','geom') function to
migrate dataset to current version of Oracle.
3. Attempt to register the dataset with SDE using sdelayer -0
register.
Doing it in this order results in an error when executing the sdelayer
command, saying "Cannot create layer. Layer already exists.".
If I do it in the other order - i.e. try to register the dataset
before executing the migrate function - I get a much bigger error:
Underlying DBMS error (-51)
Cannot create layer
ORA-29855: error occurred in the execution of ODCIIINDEXCREATE routine
ORA-13249: internal error in Spatial index: [mdidxrbd]
ORA-13249: Error in Spatial Index: index build failed
ORA-13206: internal error [Tessellate] while creating the spatial
index
ORA-13249: Error in spatial index: [mdpridxtessellate]
ORA-13200: internal error [ROWID:AAAH/1AAOAAA1dYAAC] in spatial
indexing
ORA-13019: coordinates out of bounds
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 7
ORA-06512: at line 1
(MDSYS.SPATIAL_INDEX)
I am a novice at managing spatial data in Oracle, being more familiar
with SQL Server, so I may be missing something quite basic. Early in
the process of loading data I was able to both migrate and register
the datasets, but now I am not able to...
Any suggestions and advice would be gratefully received.
Many thanks
Sharon
|