laptop and a wrench

漏洞

In ArcGIS Online, date values are unexpectedly converted to an unrecognized format when exporting hosted feature service to GeoJSON.

上次发布: November 23, 2016 ArcGIS Online
漏洞 ID 编号 BUG-000098863
已提交August 24, 2016
上次修改时间August 21, 2020
适用范围ArcGIS Online
找到的版本4.2
服务器平台Windows
客户端平台8
Version Fixed4.4
状态Fixed

解决办法

Workaround 1: Export to a different format other than GeoJSON. For example, testing shows that this date value conversion issue does not occur when exporting a hosted feature layer to CSV. Workaround 2: Post-process the exported GeoJSON to convert the big integer values back into acceptable date values. Additional information: - Note that neither GeoJSON nor JSON specify how dates should be represented. - Note that JavaScript does specify how dates must be formatted in JSON, as indicated by the Date object’s toJSON method: 2012-04-23T18:25:43.511Z - Whatever format dates are converted into during Export to GeoJSON should be human-readable, recognizable, and able to be re-converted back into Date values when re-imported into ArcGIS Online.

重现步骤

漏洞 ID: BUG-000098863

软件:

  • ArcGIS Online

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

发现关于本主题的更多内容