Select to view content in your preferred language

Exception from HRESULT: 0x80040215 error when Executing Longest Flowpath

7748
1
04-01-2016 02:54 PM
Labels (1)
MattKitchen2
New Contributor


Hello all,

I am attempting to worth my way through using ArcHydro and HEC-GeoHMS.  All has gone smoothly until now.  I have tried to change about every setting in the world that I can think of, but to no avail. I have also tried the "ArcHydro Problems Solvers" seen in another thread.  Below is the full test of the dialog box:

Executing: LongestFlowpath FullDEM3.tif Fdr Subbasin1 "C:\Users\Matt\Desktop\Floodplain Testing\Flowpath.mdb\LongFlow421"

Start Time: Fri Apr 01 16:48:43 2016

Executing: CreateFeatureclass "C:\Users\Matt\Desktop\Floodplain Testing\Flowpath.mdb" LongFlow421 POLYLINE # DISABLED DISABLED # # 0 0 0

Start Time: Fri Apr 01 16:48:43 2016

Succeeded at Fri Apr 01 16:48:43 2016 (Elapsed Time: 0.16 seconds)

Creating zone raster from drainage area polygons

Computing flow length

Computing maximum flow length

Executing: CopyRaster C:\Users\Matt\AppData\Local\Temp\arc412F\AH20160401164844\ras2865 C:\Users\Matt\AppData\Local\Temp\arc412F\AH20160401164844\tmp25D5 # # -3.402823e+038 NONE NONE # NONE NONE

Start Time: Fri Apr 01 16:49:05 2016

Succeeded at Fri Apr 01 16:49:06 2016 (Elapsed Time: 1.03 seconds)

Executing: RasterToPoint C:\Users\Matt\AppData\Local\Temp\arc412F\AH20160401164844\tmp25d5 C:\Users\Matt\AppData\Local\Temp\arc412F\AH20160401164844\AHTemp.gdb\tmp249B Value

Start Time: Fri Apr 01 16:49:06 2016

Succeeded at Fri Apr 01 16:49:07 2016 (Elapsed Time: 0.66 seconds)

Computing flow path from the maximum flow length points

Creating flow paths...

-49602 Error in ComputeLongestFlowPath System.Runtime.InteropServices.COMException (0x80040215): Exception from HRESULT: 0x80040215

   at ESRI.ArcGIS.Geometry.IRelationalOperator.Contains(IGeometry other)

   at ESRI.APWR.ApHydro.ArcHydroOp.ComputeLongestFlowpath(ApLayers apLayers, Int32 debug, ITrackCancel& trackcancel, IGPMessages& messages, String& exMessage, IRaster costRaster) in C:\Builds\HydroSolutions\10.3_ArcHydro\Sources\ArcHydroTools\src\ApHydro\ArcHydroOp.vb:line 49516

System.Runtime.InteropServices.COMException (0x80040215): Exception from HRESULT: 0x80040215

   at ESRI.ArcGIS.Geometry.IRelationalOperator.Contains(IGeometry other)

   at ESRI.APWR.ApHydro.ArcHydroOp.ComputeLongestFlowpath(ApLayers apLayers, Int32 debug, ITrackCancel& trackcancel, IGPMessages& messages, String& exMessage, IRaster costRaster) in C:\Builds\HydroSolutions\10.3_ArcHydro\Sources\ArcHydroTools\src\ApHydro\ArcHydroOp.vb:line 49516

Failed to execute (LongestFlowpath).

Failed at Fri Apr 01 16:49:09 2016 (Elapsed Time: 25.72 seconds)

Any ideas?

Thanks!

0 Kudos
1 Reply
DanPatterson_Retired
MVP Emeritus

all links to that error message eventually come back to recommends to seeing the archydro problem solving thread... a common issue is file locations, path structure and network stuff.  have you tried to simplify the locations of the input and output data and ensure simple compliant paths (ie no spaces etc)

0 Kudos