laptop and a wrench

漏洞

Attempting to enable archiving on a feature class with the Spatial Reference System Identifier (SRID) set to 0 or on a feature class in which the Define Projection tool is run returns the following error, "Failed to enable archiving."

上次发布: July 12, 2018 ArcSDE/Enterprise Geodatabase
漏洞 ID 编号 BUG-000095895
已提交April 20, 2016
上次修改时间June 5, 2024
适用范围ArcSDE/Enterprise Geodatabase
找到的版本10.2.1
操作系统N/A
操作系统版本N/A
状态Will Not Be Addressed

附加信息

This known issue is encountered because of an invalid workflow. The projection is changed (not supported) after data has been created in the original projection. The archive table ends up with the new projection and the business table still has a check-constraint that does not match the new projection.

解决办法

Changing the SRID value stored in the shape column in the feature class table in the SQL Server database, resets the SRID value in the Feature Class properties > General tab.The check constraint on the shape field prevents any changes being made to the SRID value in the feature class. So changing the SRID value in the feature class from SQL Server Management Studio can be done only after disabling the check constraint and then setting the SRID value to the correct one. Finally update the constraint with the new SRID. The following syntax was used on the feature class sde.TESTSHP_SRID, with the geometry in the 'Shape' column. The SRID is changed from 0 to 4326 (for WGS 1984 coordinate system).SELECT shape.STSrid from sde.TESTSHP_SRID;alter table sde.TESTSHP_SRID NOCHECK CONSTRAINT ALL;update sde.TESTSHP_SRID set shape.STSrid = 4326;alter table sde.TESTSHP_SRID CHECK CONSTRAINT all;NOTE:The check constraint for the feature class in the geodatabase needs to be updated so that it checks for Shape.STSRID = 4326 and not 0, because any new features added to this table in the future should have the correct SRID number.

重现步骤

漏洞 ID: BUG-000095895

软件:

  • ArcSDE/Enterprise Geodatabase

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项