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')
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.