military-tools-geoprocessing-toolbox is a collection of models, scripts, and tools for use in ArcGIS for Desktop and ArcGIS Pro. This toolbox is one component that is a part of Military Tools.
Apache License 2.0
33
stars
14
forks
source link
Gridded Reference Graphic toolbox not loading #393
Should be able to add the Gridded Referenc Graphic toolbox through Add Toolbox with no issues.
Current Behavior
When going to Add Toolbox, selecting Gridded Reference Graphic.pyt, it is unable to load.
Possible Solution
In the GRGTools.py script, replacing lines 555-567 with:
layerFile = "NumberedStructures.lyr"
if (Utilities.GetPlatform() == Utilities.PLATFORM_PRO):
layerFile = "NumberedStructures.lyrx" # Use this one for Pro so labeling works
Expected Behavior
Should be able to add the Gridded Referenc Graphic toolbox through Add Toolbox with no issues.
Current Behavior
When going to Add Toolbox, selecting Gridded Reference Graphic.pyt, it is unable to load.
Possible Solution
In the GRGTools.py script, replacing lines 555-567 with:
layerFile = "NumberedStructures.lyr" if (Utilities.GetPlatform() == Utilities.PLATFORM_PRO): layerFile = "NumberedStructures.lyrx" # Use this one for Pro so labeling works
Steps to Reproduce (for bugs)
1.Download GRG from http://solutions.arcgis.com/defense/help/gridded-reference-graphic/
Context
Can't use the GRG tool without being able to load it.
Your Environment
GriddedReferenceGraphic version August 2018. ArcGIS Pro 2.2.4