laptop and a wrench

Bug

In Oracle, when performing a migrate to ST_GEOMETRY on a MIXED precision feature class, the feature class remains set to MIXED precision when it should be updated to HIGH. (Please see technical article 36254 for more details.)

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM042754
SubmittedFebruary 24, 2009
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found10.0
Version Fixed9.4
StatusFixed

Description

When attempting to enable geodatabase archiving for a feature class in Oracle stored as st_geometry, a -51 underlying DBMS error can be encountered.

This error is only encountered if the feature class being archive-enabled was previously migrated from SDEBINARY or Oracle Spatial and the feature class contains mixed low and high precision geometries.

Newly created feature classes in Oracle stored as st_geometry do not encounter this error because all the data is stored in high precision.

Cause

Executing the Geoprocessing Migrate Storage tool or the sdelayer -o migrate command to migrate an SDEBINARY or Oracle spatial feature class that has a mixed precision, results in the migrated feature class with mixed precision.

To detect if a feature class has mixed precision, execute the sdelayer -o describe command. This example demonstrates describing a feature class named 'parcels', stored as SDEBINARY with the SDELOB type prior and after being migrated to st_geometry.

Code:
C:\>sdelayer -o describe -u forrest -p forrest -i 5151 -l parcels,shape -s server

ArcSDE 9.3.1 for Oracle10g Build 315 Thu Feb 12 12:00:43 2009
Layer Administration Utility
-----------------------------------------------------
Table Owner : FORREST
Table Name : PARCELS
Spatial Column : SHAPE
Layer id : 874
Entities : a+
Layer Type : SDE-LOB
I/O Mode : NORMAL
Autolocking : Enabled
Precision : High (Mixed)
User Privileges : SELECT, UPDATE, INSERT, DELETE
Layer Configuration: SDELOB


After the migration, describing the same feature class with the sdelayer -o describe command returns the following information,

Code:
C:\>sdelayer -o describe -u forrest -p forrest -i 5151 -l parcels,shape -s server

ArcSDE 9.3.1 for Oracle10g Build 315 Thu Feb 12 12:00:43 2009
Layer Administration Utility
-----------------------------------------------------
Table Owner : FORREST
Table Name : TEST4
Spatial Column : SHAPE
Layer id : 874
Entities : a+
Layer Type : Extended SQL Type
I/O Mode : NORMAL
Autolocking : Enabled
Precision : High (Mixed)
User Privileges : SELECT, UPDATE, INSERT, DELETE
Layer Configuration: ST_GEOMETRY

After the migration, the feature class should report the precision to be just high, not mixed.

Workaround

To enable archiving requires the class to be unregistered as versioned, and be reloaded by copying and pasting the data to a new feature class.

The new feature class then has its precision set to 'high'.

    Steps to Reproduce

    Bug ID: NIM042754

    Software:

    • No Product Found

    Get notified when the status of a bug changes

    Download the Esri Support App

    Discover more on this topic

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options