laptop and a wrench

Erro

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 Publicação: April 16, 2020 ArcObjects SDK
Número de ID do Erro BUG-000129956
EnviadoApril 7, 2020
Última ModificaçãoJune 5, 2024
Aplica-se àArcObjects SDK
Versão encontrada10.8
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

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.

Etapas para Reproduzir

ID do Erro: BUG-000129956

Software:

  • ArcObjects SDK

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download