"1229999997"Double fields X and Y, that is numeric field in the relational data store with precision and scale (38,8). When tr"/>
laptop and a wrench

漏洞

The REST geometry query returns an incorrect level of precision in ArcGIS Enterprise.

上次发布: January 6, 2023 ArcGIS GIS Server
漏洞 ID 编号 BUG-000153336
已提交October 28, 2022
上次修改时间June 5, 2024
适用范围ArcGIS GIS Server
找到的版本10.9.1
操作系统Windows Server
操作系统版本2019 64 Bit
状态As Designed

附加信息

The geometry coordinates have a scale of 10: X: 2683453.1229999997 ----> "1229999997" Y: 1247958.1229999997 -----> "1229999997" Double fields X and Y, that is numeric field in the relational data store with precision and scale (38,8). When trying to enter a value of a greater scale (10 in this case) to a field of a smaller scale (8), the database rounds it to nearest complete number. Hence resulting in the values: X: 2683453.123 Y: 1247958.123 It is not a loss of precision but the default behavior. In order to preserve the scale, use the smaller scale (Less then equal to 8 in this case).

解决办法

The geometry coordinates have a scale of 10:

X: 2683453.1229999997 ----> "1229999997" 

Y: 1247958.1229999997 -----> "1229999997"

Double fields X and Y, that is numeric field in the relational data store with precision and scale (38,8). When trying to enter a value of a greater scale (10 in this case) to a field of a smaller scale (8), the database rounds it to nearest complete number. Hence resulting in the values:

X: 2683453.123

Y: 1247958.123

It is not a loss of precision but the default behavior. In order to preserve the scale, use the smaller scale (Less then equal to 8 in this case).

重现步骤

漏洞 ID: BUG-000153336

软件:

  • ArcGIS GIS Server

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项