import time import arcpy arcpy.ImportToolbox("http://elevation.arcgis.com/arcgis/rest/services/tools/Hydrology/GPServer/Watershed", "hydro") result = arcpy.Watershed_hydro(r"p:\projects\RWQCB_Bacteria\Points\MillCreekReach1.shp", "", "100", "Meters", "US30m", "False", "True") while result.status < 4: print result.status time.sleep(0.2) print "Execution Finished" arcpy.CopyFeatures_management(result.getOutput(0), r'p:\projects\RWQCB_Bacteria\OutPutWatersheds\MillCreekReach1.shp')
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.