Flow network definition

23 views
Skip to first unread message

Brad Rogers

unread,
Jul 6, 2020, 9:56:25 AM7/6/20
to ACPF Forum
Hello, 
I am working on some watersheds in Oklahoma.  So far I have made it through the the DEM preparation and was starting the stream network and Catchment tools, but I get an error on the flow network definition.  At the bottom it says the tool is not licenced.  I have TauDEM installed on the computer and added the TauDEM tool box into ArcMap.  I'm using ARCMap 10.5 if that helps.  Below is the message I get for the last part of the tool that is not running.  

"PeukerDouglasFlowNetworDefinition...

Copying ArcGIS terrain derivatives to a format compatible with TauDEM

Finding Pour Points

Failed script PeukerDouglasFlowNetworDefinition...

 

Traceback (most recent call last):

  File "C:\ACPF_V3_distribution_04072020\ACPF_V3\Scripts\PeukerDouglasFlowNetwork.py", line 266, in <module>

    CreatePeukerDouglasInputs(WBD, DEMFill, D8FlowDir)

  File "C:\ACPF_V3_distribution_04072020\ACPF_V3\Scripts\PeukerDouglasFlowNetwork.py", line 67, in CreatePeukerDouglasInputs

    WBDLine = arcpy.FeatureToLine_management(WBD, "in_memory" + "\\WBDLine")

  File "c:\program files (x86)\arcgis\desktop10.5\arcpy\arcpy\management.py", line 2708, in FeatureToLine

    raise e

ExecuteError: Failed to execute. Parameters are not valid.

ERROR 000824: The tool is not licensed.

Failed to execute (FeatureToLine).

 

 

Failed to execute (PeukerDouglasFlowNetworDefinition).

Failed at Mon Jul 06 08:14:51 2020 (Elapsed Time: 1 minutes 53 seconds)"



Thanks, 


Brad 

Moore, Rick (MNIT)

unread,
Jul 6, 2020, 11:11:06 AM7/6/20
to Brad Rogers, ACPF Forum

Brad,

 

Do you have the Advanced version of ArcGIS 10.5?  The Feature To Line is only available in the Advanced License per the link below.

 

https://desktop.arcgis.com/en/arcmap/10.5/tools/data-management-toolbox/feature-to-line.htm

 

Try the Flow Network Definition – Area Threshold and see if it works.  The Peuker Douglas may only work if you have the ArcGIS Advanced License.

 

Rick

 

Rick Moore

LiDAR Data Steward-GIS Analyst | Ecological and Water Resources

Minnesota IT Services | Partnering with Department of Natural Resources

117 Rogers Street

Mankato, MN, 56001

Desk: 507-389-8810

Office: 507-389-8800 | rick....@state.mn.us  | Lat 44.16322 Long -94.03001

Information Technology for Minnesota Government | mn.gov/mnit

Minnesota IT Services Logo

 

 

 

 

From: acpf-...@umn.edu <acpf-...@umn.edu> On Behalf Of Brad Rogers
Sent: Monday, July 6, 2020 8:56 AM
To: ACPF Forum <acpf-...@umn.edu>
Subject: [ACPF Forum] Flow network definition

 

This message may be from an external email source.

Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center.

 


--
The ACPF Forum is an online group for discussing technical issues related to using the ACPF tools. Anyone can view the discussions at https://groups.google.com/a/umn.edu/d/forum/acpf-group. Only members can participate in discussions. Join the group by sending an email to acpf-group...@umn.edu
---
You received this message because you are subscribed to the Google Groups "ACPF Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to acpf-group+...@umn.edu.
To view this discussion on the web visit https://groups.google.com/a/umn.edu/d/msgid/acpf-group/d31a5bf5-188e-4555-b872-07c11c4b1f1fo%40umn.edu.

Reply all
Reply to author
Forward
0 new messages