"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

Bug

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

Last Published: January 6, 2023 ArcGIS GIS Server
Bug ID Number BUG-000153336
SubmittedOctober 28, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS GIS Server
Version found10.9.1
Operating SystemWindows Server
Operating System Version2019 64 Bit
StatusAs Designed

Additional Information

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).

Workaround

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).

Steps to Reproduce

Bug ID: BUG-000153336

Software:

  • ArcGIS GIS Server

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