AnsweredAssumed Answered

Arc Hydro Errors on Build Walls & Fill DEM

Question asked by Langdon.Sanders on May 18, 2015
Latest reply on Dec 1, 2015 by Bardet12

Hello Everyone,

 

I am encountering an error while using the Arc Hydro tutorial and on my own data.

 

Upon running the Build Walls tool, I receive the following error which appears to be failing on converting a string to a double somewhere in the VB code for Arc Hydro. I have turned off background geoprocessing and followed the recommended steps in the Arc Hydro Problem Solvers thread.

 

Any help would be appreciated.

 

Thank you.

 

The CreateFeatureClass command works. Then it runs

PolygonToRaster which also succeeds.  The result looks like it creates a raster of the flowlines.

Then it fails on Build external walls.

 

Executing: BuildWalls StrSlpDEM 500 2 2 C:\GIS\HydroModel\ArcHydroTutorial\Layers\walldem ProjectArea ProjectArea NHDFlowline
Start Time: Mon May 18 10:05:57 2015
Building internal walls
Executing: CreateFeatureclass C:\Users\lmsanders\AppData\Local\Temp\arcA42E\AH20150518100557\AHTemp.gdb tmp2486 POLYGON # DISABLED DISABLED "PROJCS['NAD_1983_Albers',GEOGCS['GCS_North_American_1983',DATUM['D_North_American_1983',SPHEROID['GRS_1980',6378137.0,298.257222101]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Albers'],PARAMETER['False_Easting',0.0],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',-96.0],PARAMETER['Standard_Parallel_1',29.5],PARAMETER['Standard_Parallel_2',45.5],PARAMETER['Latitude_Of_Origin',23.0],UNIT['Meter',1.0]];-16901100 -6972200 10000;-100000 10000;-100000 10000;0.001;0.001;0.001;IsHighPrecision" # 0 0 0
Start Time: Mon May 18 10:05:58 2015
Succeeded at Mon May 18 10:05:58 2015 (Elapsed Time: 0.35 seconds)
Executing: PolygonToRaster GPL0 OBJECTID C:\Users\lmsanders\AppData\Local\Temp\arcA42E\AH20150518100557\wtemp CELL_CENTER NONE 30
Start Time: Mon May 18 10:06:00 2015
Succeeded at Mon May 18 10:06:01 2015 (Elapsed Time: 0.88 seconds)
Building external walls
System.InvalidCastException: Conversion from string "" to type 'Double' is not valid. ---> System.FormatException: Input string was not in a correct format.
   at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
   --- End of inner exception stack trace ---
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value)
   at ESRI.APWR.ApHydro.ArcHydroOp.BuildWalls(ApLayers apLayers, Double innerWallHeight, Double wallBuffer, Double breachLineBuffer, ITrackCancel& trackcancel, IGPMessages& messages, String& exMessage) in C:\Builds\HydroSolutions\10.2_ArcHydro\Sources\ArcHydroTools\src\ApHydro\ArcHydroOp.vb:line 13818
Failed to execute (BuildWalls).
Failed at Mon May 18 10:06:03 2015 (Elapsed Time: 6.42 seconds)

 

Message was edited by: Langdon Sanders - Updated title as thread contains fill dem issues as well

Outcomes