Hi,
I was wondering if someone has any suggestions regarding an error I'm getting when trying to run the "Create drainage line structures” from the main ArcHydro toolbox. I am aware that similar questions have been asked however none of the suggested solutions seem to be working for me.
Here is the error I'm getting:
Executing: CreateDrainageLineStructures nonull.tif vettendragTM C:\Users\aleven\Documents\withlakes\raster\Layers\FdrStr C:\Users\aleven\Documents\withlakes\raster\Layers\StrLnk C:\Users\aleven\Documents\withlakes\vector.gdb\Layers\DrainageLine ClearRightAngle_NO UseRasterExtent_NO #
Start Time: Wed Feb 13 07:06:46 2019
Stepsize: 0,75 0,75
Start Elevation: 10000
Creating Drainage Lines from input streams. dt=0,00s
Executing: CopyFeatures C:\Users\aleven\Documents\withlakes\vector.gdb\vettendragTM C:\Users\aleven\Documents\withlakes\vector.gdb\Layers\DrainageLine # 0 0 0
Start Time: Wed Feb 13 07:06:47 2019
Succeeded at Wed Feb 13 07:06:47 2019 (Elapsed Time: 0,61 seconds)
Executing: AddField C:\Users\aleven\Documents\withlakes\vector.gdb\Layers\DrainageLine QCVALUE LONG # # # QCVALUE NULLABLE NON_REQUIRED #
Start Time: Wed Feb 13 07:06:47 2019
Adding QCVALUE to C:\Users\aleven\Documents\withlakes\vector.gdb\Layers\DrainageLine...
Succeeded at Wed Feb 13 07:06:47 2019 (Elapsed Time: 0,11 seconds)
CreateDrainageLineStructures: -94277 System.Runtime.InteropServices.COMException (0x80040207): An invalid SQL statement was used. [SELECT * FROM DrainageLine WHERE Shape_Length < 5,7]
at ESRI.ArcGIS.Geodatabase.IFeatureClass.Search(IQueryFilter filter, Boolean Recycling)
at ESRI.APWR.ApHydro.ArcHydroOp.CreateDrainageLineStructures(ApLayers apLayers, String streamGPValue, Double stepsize, Double startElevation, Boolean bCleanRighAngle, ITrackCancel& trackcancel, IGPMessages& messages, String& exMessage, Int32 debugLevel, Int32 iThreshold, Double nCells4ShortLine, Boolean bUseRasterExtent, List`1 lStructType2Exclude, String& flowsplittablename, String& divFlagFieldName) in C:\Builds\17\s\ArcHydroTools\src\ApHydro\ArcHydroOp.vb:line 98672
Executing: Densify C:\Users\aleven\Documents\withlakes\vector.gdb\Layers\DrainageLine DISTANCE "1,5 Meters" "0 Meters" 10
Start Time: Wed Feb 13 07:06:48 2019
Failed to execute. Parameters are not valid.
ERROR 000824: The tool is not licensed.
Failed to execute (Densify).
Failed at Wed Feb 13 07:06:48 2019 (Elapsed Time: 0,00 seconds)
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at ESRI.ArcGIS.Geoprocessing.GeoProcessorClass.Execute(String Name, IVariantArray ipValues, ITrackCancel pTrackCancel)
at ESRI.APWR.ApHydro.ArcHydroOp.CreateDrainageLineStructures(ApLayers apLayers, String streamGPValue, Double stepsize, Double startElevation, Boolean bCleanRighAngle, ITrackCancel& trackcancel, IGPMessages& messages, String& exMessage, Int32 debugLevel, Int32 iThreshold, Double nCells4ShortLine, Boolean bUseRasterExtent, List`1 lStructType2Exclude, String& flowsplittablename, String& divFlagFieldName) in C:\Builds\17\s\ArcHydroTools\src\ApHydro\ArcHydroOp.vb:line 98899
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at ESRI.ArcGIS.Geoprocessing.GeoProcessorClass.Execute(String Name, IVariantArray ipValues, ITrackCancel pTrackCancel)
at ESRI.APWR.ApHydro.ArcHydroOp.CreateDrainageLineStructures(ApLayers apLayers, String streamGPValue, Double stepsize, Double startElevation, Boolean bCleanRighAngle, ITrackCancel& trackcancel, IGPMessages& messages, String& exMessage, Int32 debugLevel, Int32 iThreshold, Double nCells4ShortLine, Boolean bUseRasterExtent, List`1 lStructType2Exclude, String& flowsplittablename, String& divFlagFieldName) in C:\Builds\17\s\ArcHydroTools\src\ApHydro\ArcHydroOp.vb:line 98899
Failed to execute (CreateDrainageLineStructures).
Failed at Wed Feb 13 07:06:48 2019 (Elapsed Time: 1,29 seconds)
Could it be a license issue?
Thanks so much for the help.
Kind regards,
Alex.
arcmap… Densify—Help | ArcGIS Desktop
Standard or Advanced for Densify
Hi Dan,
Thanks for your answer. So I guess you believe the issue has something to do with "Densify"? Do you have any suggestions on how I can fix this?
Executing: Densify C:\Users\aleven\Documents\withlakes\vector.gdb\Layers\DrainageLine DISTANCE "1,5 Meters" "0 Meters" 10
Start Time: Wed Feb 13 07:06:48 2019
Failed to execute. Parameters are not valid.
ERROR 000824: The tool is not licensed
If you have a basic license, the restriction is pretty firm. Another machine? is it a step you can leave out?
I just realized that I don't have access to the "Densify" tool due to license issues. I don't think I can skip the step as it seems to be part of the "Create Drainage Line Structures" process...
Thanks for the help and for confirming my suspicion that this may be a license issue.
Alex