自动目标文件夹

master
chenzenghui 2025-09-22 15:13:21 +08:00
parent e032838c39
commit 2b3b14fa83
1 changed files with 3 additions and 1 deletions

View File

@ -235,6 +235,8 @@ def getTiffInPort(shipPortTree,srcFolderPath_0img,outTiffInfoFilePath):
def SpliteProcess(srcfolderpath,outfolderpath,MLCPath,JLCPath,JMLCPath):
if not os.path.exists(outfolderpath):
os.makedirs(outfolderpath)
shipPort={
MLCName:getshapefileInfo(MLCPath),
JLCName:getshapefileInfo(JLCPath),
@ -247,7 +249,7 @@ def SpliteProcess(srcfolderpath,outfolderpath,MLCPath,JLCPath,JMLCPath):
# "JMLC":KDTree(shipPort["JMLC"]),
}
srcFolderPath_0img=os.path.join(srcfolderpath,"0-原图") # 0-原图 文件路径
outTiffInfoFilePath=os.path.join(srcfolderpath,"JMPort.txt")
outTiffInfoFilePath=os.path.join(outfolderpath,"JMPort.txt")
return True
pass