FluvialGeomorph / FluvialGeomorph-toolbox

The FluvialGeomorph ArcGIS toolbox.
Creative Commons Zero v1.0 Universal
10 stars 0 forks source link

Tool# 07-Detrend DEM returns Error 000599 Falls Outside of geometry Domains #16

Open tadarby12 opened 1 year ago

tadarby12 commented 1 year ago

Workspace: C:\Users\b5pmmtad\Desktop\Projects\FluvialGeomorph\MVK_EWN_BayouPierreWatershed\MillCreek\MillCreek_2015.gdb Flowline: flowline Flowline Points: flowline_points DEM: dem_hydro Buffer Distance: 1000 Traceback (most recent call last): File "C:\Users\b5pmmtad\Desktop\Projects\FluvialGeomorph\FluvialGeomorph-toolbox-0.1.5\tools_07_DetrendDEM.py", line 113, in

Get input parameters

File "C:\Users\b5pmmtad\Desktop\Projects\FluvialGeomorph\FluvialGeomorph-toolbox-0.1.5\tools_07_DetrendDEM.py", line 104, in main arcpy.Delete_management(in_data = trend) File "C:\Users\b5pmmtad\Desktop\Projects\FluvialGeomorph\FluvialGeomorph-toolbox-0.1.5\tools_07_DetrendDEM.py", line 49, in DetrendDEM arcpy.AddMessage("Buffer Distance: {}".format(str(buffer_distance))) File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\analysis.py", line 1371, in Buffer raise e File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\analysis.py", line 1368, in Buffer retval = convertArcObjectToPythonObject(gp.Buffer_analysis(gp_fixargs((in_features, out_feature_class, buffer_distance_or_field, line_side, line_end_type, dissolve_option, dissolve_field, method), True))) File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing_base.py", line 512, in return lambda args: val(*gp_fixargs(args, True)) arcgisscripting.ExecuteError: ERROR 000599: Falls outside of output geometry domains. ERROR 000599: Falls outside of output geometry domains. Failed to execute (Buffer).

Failed script 07 - Detrend DEM... Failed to execute (DetrendDEM).

For Hydro_DEM check the extent matches the study area. This error often happens after tool 04- Stream Network returns a feature without a projection. Define Projection projects the Stream network to the correct location, the Detrend tool will return the XY extent error. One possible solution is to download the pre-made 1m DEMs, use the Times tool to chnge elevations from meters to feet then use the 1m tiff in the Detrend tool.