Numéro d’ID de bogue |
BUG-000146598 |
Envoi | February 3, 2022 |
Dernière modification | June 5, 2024 |
S’applique à | ArcGIS Pro SDK for .NET |
Version trouvée | 2.9 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 2022 |
Statut | As Designed
Après examen par l’équipe de développement, il a été déterminé que ce comportement est prévu. Pour plus d’informations, reportez-vous à la section Informations supplémentaires.
|
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