laptop and a wrench

Bogue

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

Dernière publication: February 15, 2022 ArcGIS Pro SDK for .NET
Numéro d’ID de bogue BUG-000146598
EnvoiFebruary 3, 2022
Dernière modificationJune 5, 2024
S’applique àArcGIS Pro SDK for .NET
Version trouvée2.9
Système d’exploitationWindows OS
Version du système d’exploitation2022
StatutAs Designed

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000146598

Logiciel:

  • ArcGIS Pro SDK for .NET

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement