Esri / local-government-desktop-addins

A series of ArcGIS Desktop Add-ins used in the ArcGIS for Local Government editing maps.
Apache License 2.0
61 stars 57 forks source link

BUG-000113645 The Attribute Assistant From and To Junction methods do not follow the Flow Direction of the Network. #284

Closed MikeMillerGIS closed 5 years ago

MikeMillerGIS commented 6 years ago
Salesforce ID: BUG-000113645
Salesforce Submitter: Andy Shoemaker
Salesforce Submit Date: 5/01/2018 10:42 AM
Salesforce Bug Type: Usability
Salesforce Severity: High
Repro Data: \\esri.com\sf_filestore\PRD\Attachments\Defects\BUG-000113645
Work Around: Change the Digitized Direction of the data.
Product: (n/a)
Functional Category: ArcGIS for Local Government
Client Platform: (n/a)
Version Found: (n/a)
Planned Version Fixed: (n/a)
Comment: The code currently uses IEdgeFeature, which only gets the from and to based on digitized direction. A new parameter will be added to let the use also evaluate the flow direction to get the from and to
MikeMillerGIS commented 6 years ago

From_Junction_Field and To_Junction_Field will have a 6th parameter, to check flow

case 6: // sequenceColumnName|sequenceFixedWidth|formatString|Restrict Field|Restrict Valie|Incluide FC Name | Check Flow netField = args[0].ToString().Trim(); netRestrictFC = args[1].ToString().Trim(); netRestrictField = args[2].ToString().Trim(); netRestrictValue = args[3].ToString().Trim(); includeFCName = args[4].ToString().ToUpper() == "TRUE" ? true : false; checkFlow = args[5].ToString().ToUpper() == "TRUE" ? true : false;