"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

Error

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

Última publicación: January 6, 2023 ArcGIS GIS Server
Número de ID del error BUG-000153336
EnviadoOctober 28, 2022
Última modificaciónJune 5, 2024
Relacionado conArcGIS GIS Server
Versión encontrada10.9.1
Sistema operativoWindows Server
Versión de sistema operativo2019 64 Bit
EstadoAs Designed

Información adicional

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

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000153336

Software:

  • ArcGIS GIS Server

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga