laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: April 16, 2020 ArcObjects SDK
Bug-ID-Nummer BUG-000129956
EingereichtApril 7, 2020
Zuletzt geändertJune 5, 2024
Gilt fürArcObjects SDK
Gefunden in Version10.8
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000129956

Software:

  • ArcObjects SDK

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln