Skip to main content

Pin To Floodplain

Description

Delineate floodplains based on user entered points (pin-points)

Usage

arcpy.pintofloodplain( Input_Points="Pin_To_Floodplain_Web_Input_Points_Points", Floodplain_Polygons="FPZoneRiver", SDE_Connection=None )

Parameters

Parameter NameTypeDirectionData TypeDialog Reference
Input PointsRequiredInputFeature SetInput Points - user entered pin-points to delineate floodplain
Floodplain PolygonsRequiredInputFeature Layer
  • Floodplain Polygons FPZoneRiver
  • FPZoneRiver contains floodplain polygons of various dHs. FPZoneRiver layer can be created using Create Flood Data Stack from HAND (archydropro) tool.
  • arcpy.ImportToolbox(r"D:\Projects\Branches8\10.8_Final\ArcHydroTools\srcPy\AHMain\ToolboxesPro30\Arc_Hydro_Tools_Pro.tbx")
  • arcpy.archydropro.CreateFloodDataStackfromHAND(Flood_Data_Stack_Results_Folder=r"E:\AppData\AH120902\FloodDS", Input_Drainage_Line_Feature_Class="DrainageLine", Input_Catchment_Feature_Class="Catchment", Input_HAND_Raster="HANDBASE", Input_Minimum_Stream_Depth_Raster=None, Input_Stream_Raster="Str.tif", Apply_River_Restrictions=True, Save_Rasters=0,Depths_to_Process=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50], Unit_Slope_Raster="Unitrun.tif")
  • SDE ConnectionOptionalInputWorkspaceOptional, if provided, is an enterprise geodatabase (sde) to save the delineated floodplain polygons