laptop and a wrench

Error

Edit operation fails while creating a polygon from the MapTool sketch point and polylines layer in ArcGIS Pro SDK 2.9.

Última publicación: February 15, 2022 ArcGIS Pro SDK for .NET
Número de ID del error BUG-000146598
EnviadoFebruary 3, 2022
Última modificaciónJune 5, 2024
Relacionado conArcGIS Pro SDK for .NET
Versión encontrada2.9
Sistema operativoWindows OS
Versión de sistema operativo2022
EstadoAs Designed

Información adicional

The construct polygons tool uses tolerance to determine if selected lines create a closed boundary. Visit desktop help for examples. In this case, the lines do not create a closed boundary. The custom map tool, which is the construct polygons tool, is working as expected. It has a large search tolerance for finding lines to try to construct polygons with, which causes multiple failure dialogs for each set it tries. However, the area the bug highlights does not have a polygon created without the enclosing lines being edited to have their endpoints closer than the tolerance, which was set at 0.01 meters.

Solución alternativa

Increase the private double _tolerance to a value that is equal to or greater than the gap between the selected lines that are being used to construct polygons.

Pasos para reproducir

ID del error: BUG-000146598

Software:

  • ArcGIS Pro SDK for .NET

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