自动目标文件夹
parent
e032838c39
commit
2b3b14fa83
|
|
@ -235,6 +235,8 @@ def getTiffInPort(shipPortTree,srcFolderPath_0img,outTiffInfoFilePath):
|
||||||
|
|
||||||
|
|
||||||
def SpliteProcess(srcfolderpath,outfolderpath,MLCPath,JLCPath,JMLCPath):
|
def SpliteProcess(srcfolderpath,outfolderpath,MLCPath,JLCPath,JMLCPath):
|
||||||
|
if not os.path.exists(outfolderpath):
|
||||||
|
os.makedirs(outfolderpath)
|
||||||
shipPort={
|
shipPort={
|
||||||
MLCName:getshapefileInfo(MLCPath),
|
MLCName:getshapefileInfo(MLCPath),
|
||||||
JLCName:getshapefileInfo(JLCPath),
|
JLCName:getshapefileInfo(JLCPath),
|
||||||
|
|
@ -247,7 +249,7 @@ def SpliteProcess(srcfolderpath,outfolderpath,MLCPath,JLCPath,JMLCPath):
|
||||||
# "JMLC":KDTree(shipPort["JMLC"]),
|
# "JMLC":KDTree(shipPort["JMLC"]),
|
||||||
}
|
}
|
||||||
srcFolderPath_0img=os.path.join(srcfolderpath,"0-原图") # 0-原图 文件路径
|
srcFolderPath_0img=os.path.join(srcfolderpath,"0-原图") # 0-原图 文件路径
|
||||||
outTiffInfoFilePath=os.path.join(srcfolderpath,"JMPort.txt")
|
outTiffInfoFilePath=os.path.join(outfolderpath,"JMPort.txt")
|
||||||
return True
|
return True
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue