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

Zuletzt veröffentlicht: January 6, 2023 ArcGIS GIS Server
Bug-ID-Nummer BUG-000153336
EingereichtOctober 28, 2022
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS GIS Server
Gefunden in Version10.9.1
BetriebssystemWindows Server
Betriebssystemversion2019 64 Bit
StatusAs Designed

Zusätzliche Informationen

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

Schritte zur Reproduzierung

Bug-ID: BUG-000153336

Software:

  • ArcGIS GIS Server

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln