The ShapefileFeatureTable class returns long integer values as double when querying shapefiles.
上次发布: March 20, 2019ArcGIS Runtime SDK
漏洞 ID 编号
BUG-000098479
已提交
August 10, 2016
上次修改时间
June 5, 2025
适用范围
ArcGIS Runtime SDK
找到的版本
10.2.4
操作系统
Windows OS
操作系统版本
7
修正版本
100
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
附加信息
The shapefile implementation was reimplemented in the 100.x releases and returns the correct data types.
解决办法
Lower the precision of the long integer field to nine, or convert the value returned to an integer. For example, new Double((double) r.getAttributeValue("IntField")).intValue().