laptop and a wrench

Error

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.

Última publicación: April 16, 2020 ArcObjects SDK
Número de ID del error BUG-000129956
EnviadoApril 7, 2020
Última modificaciónJune 5, 2024
Relacionado conArcObjects SDK
Versión encontrada10.8
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

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.

Pasos para reproducir

ID del error: BUG-000129956

Software:

  • ArcObjects SDK

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