"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

Bogue

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

Dernière publication: January 6, 2023 ArcGIS GIS Server
Numéro d’ID de bogue BUG-000153336
EnvoiOctober 28, 2022
Dernière modificationJune 5, 2024
S’applique àArcGIS GIS Server
Version trouvée10.9.1
Système d’exploitationWindows Server
Version du système d’exploitation2019 64 Bit
StatutAs Designed

Informations supplémentaires

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

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000153336

Logiciel:

  • ArcGIS GIS Server

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement