Esri / military-tools-geoprocessing-toolbox

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

GRG from Area only works correctly in Web Mercator #411

Open BobBooth opened 5 years ago

BobBooth commented 5 years ago

The Create GRG from Area GP tool will run in ArcGIS Pro when the data frame's coordinate system is UTM, WGS84, (or really, anything not Web Mercator), but the output is a feature class with rows that have no geometry (Shape_Length and Shape_Area are all 0, no features draw). image Only runs correctly in Web Mercator coordinate system. Related to https://github.com/Esri/military-tools-geoprocessing-toolbox/issues/373

Expected Behavior

I would expect for the tool to not run at all (and give me a useful error message), or to run and produce good results.

Steps to Reproduce (for bugs)

Using ArcGIS Pro 2.3, Standard license level, no extensions

  1. Set data frame coordinate system to UTM or WGS84
  2. Run create GRG from Area
  3. Tool runs to completion; no error messages, feature class added to map, but no features display, Shape_Length and Shape_Area are all 0.

Your Environment

ArcGIS Pro 2.3 Standard

csmoore commented 4 years ago

Testing this on Pro 2.5, I do not see this issue:

image