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

All Samples(25)  |  Call(22)  |  Derive(0)  |  Import(3)

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RasterOffRoad.py   defense-and-intel-analysis-toolbox(Download)
deleteme = []
debug = False
GCS_WGS_1984 = arcpy.SpatialReference("WGS 1984")
webMercator = arcpy.SpatialReference("WGS 1984 Web Mercator (Auxiliary Sphere)")
ccmFactorList = []

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFansByFeature.py   defense-and-intel-analysis-toolbox(Download)
 
    if debug == True: arcpy.AddMessage("getting started ...")
    GCS_WGS_1984 = arcpy.SpatialReference("WGS 1984")
    #webMercator = os.path.join(installDirectory,r"Coordinate Systems", r"Projected Coordinate Systems",r"World",r"WGS 1984 Web Mercator (Auxiliary Sphere).prj")
    env.overwriteOutput = True

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/Concealment.py   defense-and-intel-analysis-toolbox(Download)
 
    installDir = arcpy.GetInstallInfo('desktop')["InstallDir"]
    prjWGS1984 = arcpy.SpatialReference("WGS 1984")
    prjWebMercator = arcpy.SpatialReference("WGS 1984 Web Mercator (Auxiliary Sphere)")
 

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFan.py   defense-and-intel-analysis-toolbox(Download)
 
if (webMercator == "") or (webMercator is None) :
    webMercator = arcpy.SpatialReference(r"WGS 1984 Web Mercator (Auxiliary Sphere)")
 
try:

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/FM5-33CCM.py   defense-and-intel-analysis-toolbox(Download)
deleteme = []
debug = True
GCS_WGS_1984 = arcpy.SpatialReference("WGS 1984")
webMercator = arcpy.SpatialReference("WGS 1984 Web Mercator (Auxiliary Sphere)")
 

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFanByBearingAndTraversal.py   defense-and-intel-analysis-toolbox(Download)
    currentOverwriteOutput = env.overwriteOutput
    env.overwriteOutput = True
    GCS_WGS_1984 = arcpy.SpatialReference(r"WGS 1984")
    webMercator = arcpy.SpatialReference(r"WGS 1984 Web Mercator (Auxiliary Sphere)")
    env.overwriteOutput = True

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFanByBearingLimits.py   defense-and-intel-analysis-toolbox(Download)
    currentOverwriteOutput = env.overwriteOutput
    env.overwriteOutput = True
    GCS_WGS_1984 = arcpy.SpatialReference(r"WGS 1984")
    webMercator = arcpy.SpatialReference(r"WGS 1984 Web Mercator (Auxiliary Sphere)")
    env.overwriteOutput = True

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/CreateRangeFanBoxes.py   defense-and-intel-analysis-toolbox(Download)
 
# CONSTANTS ========================================
GCS_WGS_1984 = arcpy.SpatialReference(r"WGS 1984")
 
 
    tempGeoPoints = os.path.join(scratch,"tempGeoPoints")
    deleteme.append(tempGeoPoints)
    arcpy.Project_management(outputWeaponPositions,tempGeoPoints,GCS_WGS_1984)
    arcpy.AddXY_management(tempGeoPoints)
    tempCCNPoints = os.path.join("in_memory","tempCCNPoints")
    deleteme.append(tempCCNPoints)
    arcpy.ConvertCoordinateNotation_management(tempGeoPoints,tempCCNPoints,"POINT_X","POINT_Y","DD_2","MGRS","RFID",GCS_WGS_1984)

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/Trajectory_Path.py   defense-and-intel-analysis-toolbox(Download)
 
# CONSTANTS ========================================
prjWGS1984Path = arcpy.SpatialReference("WGS 1984")
prjWebMercator = arcpy.SpatialReference("WGS 1984 Web Mercator (auxiliary sphere)")
 

src/a/r/arcapi-HEAD/arcapi.py   arcapi(Download)
    lrnm = tstamp('lr', '%m%d%H%M%S', '')
    if type(sr) != arcpy.SpatialReference:
        sr = arcpy.SpatialReference(sr)
    lr = arcpy.MakeXYEventLayer_management(tbl, xcol, ycol, lrnm, sr, zcol).getOutput(0)
    if str(w) not in ('', '*'):

  1 | 2  Next