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

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

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeRings2.py   defense-and-intel-analysis-toolbox(Download)
    currentOverwriteOutput = env.overwriteOutput
    env.overwriteOutput = True
    installInfo = arcpy.GetInstallInfo("desktop")
    installDirectory = installInfo["InstallDir"]
    GCS_WGS_1984 = os.path.join(installDirectory,r"Coordinate Systems", r"Geographic Coordinate Systems", r"World",r"WGS 1984.prj")

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RLOSdebug.py   defense-and-intel-analysis-toolbox(Download)
    # check out spatial analyst license
    arcpy.CheckOutExtension("Spatial")
    installInfo = arcpy.GetInstallInfo("desktop")
    installDirectory = installInfo["InstallDir"]
    GCS_WGS_1984 = os.path.join(installDirectory,r"Coordinate Systems", r"Geographic Coordinate Systems", r"World",r"WGS 1984.prj")  

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeFan.py   defense-and-intel-analysis-toolbox(Download)
    currentOverwriteOutput = env.overwriteOutput
    env.overwriteOutput = True
    installInfo = arcpy.GetInstallInfo("desktop")
    installDirectory = installInfo["InstallDir"]
    GCS_WGS_1984 = os.path.join(installDirectory,r"Coordinate Systems", r"Geographic Coordinate Systems", r"World",r"WGS 1984.prj")

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RLOS.py   defense-and-intel-analysis-toolbox(Download)
    # get/set initial environment
    env.overwriteOutput = True
    installInfo = arcpy.GetInstallInfo("desktop")
    installDirectory = installInfo["InstallDir"]
    #GCS_WGS_1984 = r"C:\Demos\Sprints\2 April 2012\Visibility and Range Template\Maps\Toolboxes\WGS 1984.prj" # os.path.join(installDirectory,r"Coordinate Systems", r"Geographic Coordinate Systems", r"World",r"WGS 1984.prj")  

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

src/a/r/arc-open-HEAD/arc_open/export.py   arc-open(Download)
    def md(self):
        install_dir = arcpy.GetInstallInfo('desktop')['InstallDir']
        translator = install_dir + 'Metadata\\Translator\\ARCGIS2FGDC.xml'
        if not os.path.isfile(translator):
            AddMessage('Unable to export Markdown metadata file, ' +

src/o/p/OpenColorado-Tools-and-Utilities-HEAD/Scripts/ArcGIS/10.0/Python/PublishOpenDataset.py   OpenColorado-Tools-and-Utilities(Download)
    # Export the metadata
    arcpy.env.workspace = temp_working_folder
    installDir = arcpy.GetInstallInfo('desktop')['InstallDir']
    translator = installDir + 'Metadata/Translator/ARCGIS2FGDC.xml'
    arcpy.ExportMetadata_conversion(source, translator, raw_metadata_export)

src/a/r/arcapi-HEAD/arcapi.py   arcapi(Download)
 
    # checks
    if xslt is None: xslt = os.path.join(arcpy.GetInstallInfo()['InstallDir'], 'Metadata\Stylesheets\gpTools\exact copy of.xslt')
    if not os.path.isfile(xslt): raise ArcapiError("Cannot find xslt file " + str(xslt))
    mode = mode.upper()