laptop and a wrench

漏洞

ArcObjects returns the error message, "Cannot convert polylines or polygons with curves to JSON format" when converting a polyline or a polygon with curves into a JSON object.

上次发布: April 16, 2020 ArcObjects SDK
漏洞 ID 编号 BUG-000129956
已提交April 7, 2020
上次修改时间June 5, 2024
适用范围ArcObjects SDK
找到的版本10.8
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

In order to write the geometry to JSON, it is necessary to set the property of JSON to be able to write curve. The code is as below: IPropertySet pPS = new PropertySet(); pPS.SetProperty("writeCurves", true)); IJSONSerializer(convertGeometry).InitSerializer(jsonWriter, pPS); Then, the rest of the original code works.

重现步骤

漏洞 ID: BUG-000129956

软件:

  • ArcObjects SDK

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项