Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RLOS.py   defense-and-intel-analysis-toolbox(Download)
    if RADIUS2_to_infinity == True:
        mbgBuffer = os.path.join(env.scratchWorkspace,"mbgBuffer")
        arcpy.Buffer_analysis(observers_mbg,mbgBuffer,horizonDistance)
        delete_me.append(mbgBuffer)
        surfaceSR = arcpy.Describe(input_surface).spatialReference
        # buffer MBG by max RADIUS 2 + 10%
        mbgBuffer = os.path.join(env.scratchWorkspace,"mbgBuffer")
        arcpy.Buffer_analysis(observers_mbg,mbgBuffer,obsMaximums['RADIUS2'])
        delete_me.append(mbgBuffer)
        # project buffer to surface SR
    # clip output polys to buffer
    out_buf = os.path.join(env.scratchWorkspace,"out_buf")
    arcpy.Buffer_analysis(obs_prj,out_buf,"RADIUS2")
    delete_me.append(out_buf)
    arcpy.Clip_analysis(ras_poly,out_buf,output_rlos)

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RLOSdebug.py   defense-and-intel-analysis-toolbox(Download)
    if RADIUS2_to_infinity == True:
        mbgBuffer = os.path.join(envscratchworkspace,"mbgBuffer")#(envscratchworkspace,"mbgBuffer")
        arcpy.Buffer_analysis(observers_mbg,mbgBuffer,horizonDistance)
        delete_me.append(mbgBuffer)
        surfaceSR = arcpy.Describe(input_surface).spatialReference
        # buffer MBG by max RADIUS 2 + 10%
        mbgBuffer = os.path.join(envscratchworkspace,"mbgBuffer")#(envscratchworkspace,"mbgBuffer")
        arcpy.Buffer_analysis(observers_mbg,mbgBuffer,obsMaximums['RADIUS2'])
        delete_me.append(mbgBuffer)
        # project buffer to surface SR

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFan.py   defense-and-intel-analysis-toolbox(Download)
        if debug == True: arcpy.AddMessage("Traversal is 360 degrees, buffering instead ...")
        distance = str(range) + " Meters"
        arcpy.Buffer_analysis(prjInFeature,outFeature,distance)
 
 

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFanByBearingAndTraversal.py   defense-and-intel-analysis-toolbox(Download)
        if debug == True: arcpy.AddMessage("Traversal is 360 degrees, buffering instead ...")
        distance = str(maxRange) + " Meters"
        arcpy.Buffer_analysis(prjInFeature,tempFans,distance)