Esri / solutions-geoprocessing-toolbox

Models, scripts, and tools for use in ArcGIS Desktop and Server to support defense and intelligence workflows.
Apache License 2.0
133 stars 69 forks source link

Append Military Features tool errors, no geometry imported when Z mismatch #653

Open BobBooth opened 6 years ago

BobBooth commented 6 years ago

When you run the Append Military Features tool, you get errors about Z values, like this one: -->Could not copy geometry - you may need to add Z-values or run Fix Geometry Tool, error code=-2147219196 if you attempt to append features that do not have Z values on the geometry into the blank geodatabase, or geodatabases created using the Military Features LPKs. I found this problem attempting to import features from the APP6B comprehensive test data. https://github.com/Esri/military-features-data/tree/dev/military-symbology-styles/test-data/app6b/gdbs

This happens because the features in the test data are not Z enabled. The tool gives error messages and imports the rows but not the geometry columns, so the features cannot be symbolized.

Your Environment

https://github.com/Esri/military-features-data/tree/dev/military-symbology-styles/test-data/app6b/gdbs January 2018 version of the Military Features solution. ArcMap 10.6.0.8321 Windows 8.1 Enterprise

BobBooth commented 6 years ago

@csmoore @topowright @dfoll @ACueva @lfunkhouser

BobBooth commented 6 years ago

@csmoore - guess that two things should be fixed for this:

  1. Enable Z values on the geometry of the test data/the tools that build it.
  2. Document that tool requires input data to have Z values to match target GDB, or find a way to ignore the mismatch and import the point geometries with no data in the Z component of the shape.