laptop and a wrench

Bug

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

Last Published: February 15, 2022 ArcGIS Pro SDK for .NET
Bug ID Number BUG-000146598
SubmittedFebruary 3, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS Pro SDK for .NET
Version found2.9
Operating SystemWindows OS
Operating System Version2022
StatusAs Designed

Additional Information

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.

Workaround

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.

Steps to Reproduce

Bug ID: BUG-000146598

Software:

  • ArcGIS Pro SDK for .NET

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options