Click here to get back home

Registering layers imported to Oracle via shp2sdo

 HomeNewsGroups | Search | About
 comp.infosystems.gis    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Registering layers imported to Oracle via shp2sdo S Evans 07-30-2004
Get Chitika Premium
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


Similar ThreadsPosted
Setting up Oracle 10g & Oracle Spatial / MapViewer for learning single PC March 2, 2006, 6:23 pm
Can I split Layers into Multiple Layers?? April 5, 2007, 4:54 pm
layers not in synch May 14, 2008, 3:54 pm
Creating my own layers May 14, 2008, 6:57 pm
Themes and Layers ( overlay ) February 20, 2005, 7:41 pm
Graphic Elements to Layers September 28, 2005, 3:08 pm
Updating Layers kills my menu! October 12, 2005, 10:50 am
Creating Graticule Data Layers January 27, 2006, 7:07 pm
Align/match two parcels layers of the same area April 9, 2004, 11:19 am
ArcGis/Arcmap macros exporting selected layers to shapefiles July 9, 2006, 9:47 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap