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

MAoT Highest point near location Errors 999999, 010213, 010325, 010067 and warning error 000950 #120

Closed erikreid closed 9 years ago

erikreid commented 10 years ago

Ran the tool and received Errors 999999, 010213, 010325, 010067 and warning error 000950. Could be due to version difference of the tool and current builds/services.

Error 010213: Error in reading grid " There was an error encountered when trying to read the specified grid. Problems accessing a grid are most commonly the result of missing required component files in the grid's folder. Consult the documentation to see the required files for the ESRI Grid format. If all of the required components are present, it is also possible that the files that contain the binary raster data are internally corrupted."

Error 010325: Run-time error - *\ "The tool or method encountered an error during execution. This is a general response that may be used for many possible error conditions or where a specific cause could not be trapped."

Error 010067: Error in executing grid expression "There was a problem executing the map algebra expression"

find local peaks error message

erikreid commented 10 years ago

Added to backlog

https://www.planbox.com/stories/8022115

erikreid commented 10 years ago

Made updates and did pull request. assigned to Matt Funk for testing @mfunk

erikreid commented 10 years ago

Made fixes and created a pull request

csmoore commented 10 years ago

@erikreid just a usage tip: you can also link to the Pull Request: Fixed in PR: https://github.com/Esri/solutions-geoprocessing-toolbox/pull/134 -or- just use the number: #134 (it will show up like this: https://github.com/Esri/solutions-geoprocessing-toolbox/pull/134)

And you can also set the status to to-verify at that time

jrweakland commented 9 years ago

@mfunk Ready for testing. https://app.asana.com/0/22926133759945/23019535413770

mfunk commented 9 years ago

Tried this again today with elevation service from AFMIEDEV (NSEC elevation service is not available).. ... Unfortunately i'm still getting errors when running this from services...

Executing: HighestPointsNearLocations2 imp "5 Kilometers" "World Elevation Service" C:\Workspace\Test\TestForErikReid\aTarget.gdb\mfHPNL0001
Start Time: Mon Feb 23 09:14:44 2015
Executing (Buffer): Buffer imp "C:\Workspace\ArcGIS Defense Templates\Military_Aspects_of_Terrain_for_ArcGIS_10_1\Maps\Toolbox\scratch\scratch.gdb\locBuffer" "5 Kilometers" FULL ROUND NONE # PLANAR
Start Time: Mon Feb 23 09:14:44 2015
Succeeded at Mon Feb 23 09:14:45 2015 (Elapsed Time: 0.64 seconds)
Executing (Minimum Bounding Geometry): MinimumBoundingGeometry "C:\Workspace\ArcGIS Defense Templates\Military_Aspects_of_Terrain_for_ArcGIS_10_1\Maps\Toolbox\scratch\scratch.gdb\locBuffer" "C:\Workspace\ArcGIS Defense Templates\Military_Aspects_of_Terrain_for_ArcGIS_10_1\Maps\Toolbox\scratch\scratch.gdb\bufferMBG" RECTANGLE_BY_AREA NONE # NO_MBG_FIELDS
Start Time: Mon Feb 23 09:14:45 2015
Succeeded at Mon Feb 23 09:14:45 2015 (Elapsed Time: 0.45 seconds)
Executing (Extract by Mask): ExtractByMask "World Elevation Service" "C:\Workspace\ArcGIS Defense Templates\Military_Aspects_of_Terrain_for_ArcGIS_10_1\Maps\Toolbox\scratch\scratch.gdb\locBuffer" "C:\Workspace\ArcGIS Defense Templates\Military_Aspects_of_Terrain_for_ArcGIS_10_1\Maps\Toolbox\scratch\scratch.gdb\bufferExtract"
Start Time: Mon Feb 23 09:14:45 2015
ERROR 999999: Error executing function.
The table was not found. [VAT_bufferExtract]
(Esri GeoDatabase) General function failure
ERROR 010213: Error in reading raster World Elevation Service.
ERROR 010325: Run-time error - ***.
ERROR 010067: Error in executing grid expression.
Failed to execute (Extract by Mask).
Failed at Mon Feb 23 09:14:49 2015 (Elapsed Time: 4.03 seconds)
Failed to execute (HighestPointsNearLocations2).
Failed at Mon Feb 23 09:14:50 2015 (Elapsed Time: 6.05 seconds)

However it is successful when run the tool using a local elevation dataset it works just fine...

Executing: HighestPointsNearLocations2 imp "5 Kilometers" elevation C:\Workspace\Test\TestForErikReid\aTarget.gdb\mfHPNL0003
Start Time: Mon Feb 23 09:17:52 2015
Executing (Buffer): Buffer imp "C:\Workspace\ArcGIS Defense Templates\Military_Aspects_of_Terrain_for_ArcGIS_10_1\Maps\Toolbox\scratch\scratch.gdb\locBuffer" "5 Kilometers" FULL ROUND NONE # PLANAR
Start Time: Mon Feb 23 09:17:53 2015
Succeeded at Mon Feb 23 09:17:53 2015 (Elapsed Time: 0.35 seconds)
Executing (Minimum Bounding Geometry): MinimumBoundingGeometry "C:\Workspace\ArcGIS 
...
...
...
Succeeded at Mon Feb 23 09:18:08 2015 (Elapsed Time: 0.22 seconds)
Executing (Delete Field): DeleteField C:\Workspace\Test\TestForErikReid\aTarget.gdb\mfHPNL0003 XCoord;YCoord;Z
Start Time: Mon Feb 23 09:18:08 2015
Dropping XCoord from C:\Workspace\Test\TestForErikReid\aTarget.gdb\mfHPNL0003...
Dropping YCoord from C:\Workspace\Test\TestForErikReid\aTarget.gdb\mfHPNL0003...
Dropping Z from C:\Workspace\Test\TestForErikReid\aTarget.gdb\mfHPNL0003...
Succeeded at Mon Feb 23 09:18:09 2015 (Elapsed Time: 0.65 seconds)
Succeeded at Mon Feb 23 09:18:10 2015 (Elapsed Time: 17.46 seconds)

image

I'm not confident that the problem is solely due to problems in the tool, but possibly in the elevation service. At this time I don't have anything else to try it with. :(

conklinbd commented 9 years ago

Can you try with the AGOL elevation service and see if the problem exists?

mfunk commented 9 years ago

Unfortunately the ArcGIS.com's 'terrain' service (http://www.arcgis.com/home/item.html?id=58a541efc59545e6b7137f961d7de883) cannot be added to ArcMap. I can use Add From ArcGIS Online, search for 'terrain' but when you click Add nothing happens.

If I go and add a direct server connection...the connection is emtpy for me (permissions?):

image

conklinbd commented 9 years ago

Are you signed in with your http://afmie.maps.arcgis.com/home/ account?

mfunk commented 9 years ago

Esri Global Account. I'll give it a try though.

conklinbd commented 9 years ago

Esri Global won't work. You need to use a Named User that is part of the organizational account.

mfunk commented 9 years ago

I was able to add it that way. Guess my Global Account is worthless. Anyway with the AGOL Terrain dataset the tool works fine.

Executing: HighestPointsNearLocations2 imp "5 Kilometers" Terrain C:\Workspace\Test\TestForErikReid\aTarget.gdb\mfHPNL0004
Start Time: Mon Feb 23 10:13:49 2015
Executing (Buffer): Buffer imp "C:\Workspace\ArcGIS Defense Templates\Military_Aspects_of_Terrain_for_ArcGIS_10_1\Maps\Toolbox\scratch\scratch.gdb\locBuffer" "5 Kilometers" FULL ROUND NONE # PLANAR
Start Time: Mon Feb 23 10:13:50 2015
Succeeded at Mon Feb 23 10:13:50 2015 (Elapsed Time: 0.28 seconds)
Executing (Minimum Bounding Geometry): MinimumBoundingGeometry "C:\Workspace\ArcGIS 
...
...
...
Start Time: Mon Feb 23 10:16:01 2015
Succeeded at Mon Feb 23 10:16:02 2015 (Elapsed Time: 0.22 seconds)
Executing (Delete Field): DeleteField C:\Workspace\Test\TestForErikReid\aTarget.gdb\mfHPNL0004 XCoord;YCoord;Z
Start Time: Mon Feb 23 10:16:02 2015
Dropping XCoord from C:\Workspace\Test\TestForErikReid\aTarget.gdb\mfHPNL0004...
Dropping YCoord from C:\Workspace\Test\TestForErikReid\aTarget.gdb\mfHPNL0004...
Dropping Z from C:\Workspace\Test\TestForErikReid\aTarget.gdb\mfHPNL0004...
Succeeded at Mon Feb 23 10:16:02 2015 (Elapsed Time: 0.18 seconds)
Succeeded at Mon Feb 23 10:16:03 2015 (Elapsed Time: 2 minutes 13 seconds)

image

As I suspect the problem could very well be with OUR elevation services and not the tool. Going to close this one out.