Closed csmoore closed 5 years ago
Discussed with @lfunkhouser @dfoll about adding this to sprint as time-boxed research task to assist in :
@saip @dfoll - in case you want to review or test, the updated repo with the merged tool folders is in this branch: https://github.com/Esri/military-tools-geoprocessing-toolbox/tree/csm/%23389-remove-duplication
Toolbox in this folder: https://github.com/Esri/military-tools-geoprocessing-toolbox/tree/csm/%23389-remove-duplication/tools/militarytools/esri/toolboxes (@dfoll - this is also the folder you would zip to use in ArcMap)
The only issue I have found testing so far is that "GRG from Point" fails on Pro 2.2 at the labeling step - but this seems like a new issue unrelated to all of the folder reorgs (error also occurs from the previous "Geoprocessing" folder version).
I tested all of the tools in the toolbox from the Conda package install today on ArcGIS Pro 2.3.0-beta.1+build.14516 Two tools from the Visibility toolset had problems:
Strangely, the input observer points worked correctly for the Radial Line of Sight and Range tool. I switched my conda environment and added the toolbox folder to my project folders, ran the two tools from there and saw the same behavior.
I think this may be Pro 2.3 specific behavior.
@csmoore
@dfoll
as far as what I can think of, only one small doc change was needed (that didn't really apply to this issue directly) On https://solutions.arcgis.com/defense/help/military-tools/get-started/military-tools-for-arcgis-get-started.htm
Changed Note: Installing the Military Tools toolbox using the Python Package Manager is only supported for ArcGIS Pro 2.2.
to Note: Installing the Military Tools toolbox using the Python Package Manager is only supported for ArcGIS Pro 2.2 and newer.
Build 158 of MT has that change.
With #391 created (which also sounds like not directly related) this issue can be moved to done
Unsure which V labels to use for this
While looking at issue https://github.com/Esri/military-tools-desktop-addins/issues/66 the related issue has come up concerning the repetition + duplication of the Military Tools Toolbox to several different locations:
#2
above)There should be some research into whether these 3 different toolboxes are necessary and if they can be combined and what the changes/limitations would be.
The known limitations are:
{packagename}\esri\toolboxes
Expected Behavior
There be one folder that works for both Conda packaging and when opened from the folder, making it clear where to maintain these tools.
Current Behavior
3 different copies of toolboxes + dependencies
Possible Solution
Your Environment