What are the steps needed to convert a Oracle table to a FC in an EGDB?
For example:
1. Take an existing Oracle table.
2. Add a geometry column if needed.
3. If it's an SDO_GEOMETRY column, then register with USER_SDO_GEOM_METADATA?
4. Add a spatial index using the Add Spatial Index GP tool?
5. Register with the geodatabase using Catalog in ArcMap?
6. Other?
I've tried various combinations of the above steps, but I often have problems like the resulting FC's attribute table is empty when I view it in ArcMap. Or the spatial reference is broken. Or the geometry type (point/line/polygon) isn't properly defined, etc.
I usually give up at that point and try something else, like create an empty FC via ArcMap, create a spatial view on the Oracle table, and then use the Load tool in Catalog to load the data into the empty FC. But that's pretty clunky...I'm hoping there's a better way.
Thanks.