Unable to input stream feature class into DEM Reconditioning

1575
3
11-08-2017 11:04 AM
Labels (1)
DanielWade1
New Contributor

ArcGIS Pro 2.0.1

We have recently upgraded to ArGIS Pro 2.0 and I am attempting to use ArcHydro to update our stream layer based on new DEM data. I have the NHD stream feature class that I need to burn into the DEM using DEM Reconditioning but the tool will only allow me to input a raster as the stream layer. I have used ArcHydro with ArcMap in the past and had no issues using stream feature class as the stream layer for DEM Reconditioning, has this changed with Pro?

Thank you

0 Kudos
3 Replies
ChristineDartiguenave
Esri Contributor

We have changed the workflow for generating thethe raster representation of known vector streams in Ac Hydro Tools both in ArcMap and ArcGIS Pro.

Internally, the tool still handles both raster and vector input streams. However the UI for the tool in the tbx toolbox only allows to set one parameter type (we picked rasterlayer). For more context, a Python toolbox would allow you to set up multiple types so you can select either a vector or a raster layer, but then it has other limitations...

Basically if you want to use an input vector, you can just modify the parameter type in the tool ui to feature layer and it will then work (Run ArcMap as admin and you can modify the toolbox).

However, the recommended approach is to use first the tool Create Drainage Line Structures to generate the raster stream (Output Streak Link Raster - strlnk by default). Then use that raster as input to DEM Reconditioning or Build Walls. 

I am currently working on modifying the interface so that it says raster only for those. For now the back door is still available to use vector stream but it is not the recommended approach.

Christine Dartiguenave

Esri Water Resources Team

mehmet_cengizARSLANOĞLU
New Contributor

Hi, Christine, is there any tutorial for updated Archydro tool, please?

0 Kudos
DanielWade1
New Contributor

Thank you for the reply Christine, I am attempting to run the Create Drainage Line Structures tool but I am getting Error 000358: Invalid expression even though I am not generating a custom expression. Here is the Python code for my parameters within the tool.

arcpy.archydropro.CreateDrainageLineStructures("DEM_NW_Grid", "NHD_Clip", r"G:\Projects\County Hydro\GIS_Data\County_Hydro_Test\County_Hydro_Test.gdb\FdrStr", r"G:\Projects\County Hydro\GIS_Data\County_Hydro_Test\County_Hydro_Test.gdb\StrLnk", r"G:\Projects\County Hydro\GIS_Data\County_Hydro_Test\County_Hydro_Test.gdb\DrainageLine", r"G:\Projects\County Hydro\GIS_Data\County_Hydro_Test\County_Hydro_Test.gdb\DrainageLine_FS", r"G:\Projects\County Hydro\GIS_Data\County_Hydro_Test\County_Hydro_Test.gdb\EditPoint", "CLEAR_ANGLES_YES", "USE_RASTER_EXTENT_FALSE", None, 11.6)