Hello,
I need some help using the TraceDownstream tool off of the ArcGIS rest services. It works completely fine if I run it within ArcMap, but my goal is too implement it in a python tool for a project that I am doing. I can copy & paste the stand-alone script listed in the item description of the tool, but for some reason it still will not import successfully. I've attached the code below, and again..it is verbatim from the stand-alone script in the item description. I created a point feature class called "pourpt1" and placed it in the testdata geodatabase. #trace down stream
Best,
Casey
is there a dependency on the Spatial Analyst? in base ArcMap, hydrology related tools are indeed in the SA extension, which needs to be available and enabled in order to use
No, I don't have SA checked out in ArcMap and the tool still runs successfully, it just won't function in Python.
In python, I think you should use CheckOutExtension...since python doesn't know about the extension being checked on