This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
os.chdir(r"\\tank3\production\Boresight\project\GV1825A_N977GV_D20190604_A\tif_old\test") | |
for f in os.listdir(): | |
f_name, f_ext=os.path.splitext(f) | |
f_name = f_name.strip()[1:] | |
f_ext = str(".tif") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
cr2Directory = "//tank4/production/2018/geomni/ga/USGAATL/raw_data/GV1704A_N4950U_D20181211_A" | |
jpegDirectory = "//tank4/production/2018/geomni/ga/USGAATL/project_data/imagery/GV1704A_N4950U_D20181211_A" | |
cr2List =[] | |
jpegList=[] | |
for root, dirs, files in os.walk(cr2Directory): | |
for filename in files: | |
if filename.endswith(".CR2"): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import arcpy | |
arcpy.env.overwriteOutput = True | |
output_folder = r'\\tank1\production\2019\geomni\nc\USNCASH\user_data\Maps' | |
in_kml_file = output_folder + r'\USNCASH.kmz' | |
output_data = "USNCASH" | |
in_features = "USNCASH\Polygons" |