|
@@ -832,9 +832,10 @@ public class SceneProServiceImpl extends ServiceImpl<ISceneProMapper, ScenePro>
|
|
|
|
|
|
|
|
|
//调用算法
|
|
|
- String command = "bash //home/ubuntu/bin/Obj2Tiles.sh " + path;
|
|
|
+ String command = "bash /home/ubuntu/bin/Obj2Tiles.sh " + path;
|
|
|
log.info("上传3dtiles模型开始, num:{}, targetPath:{}", num, path);
|
|
|
- RuntimeUtil.exec(command);
|
|
|
+// RuntimeUtil.exec(command);
|
|
|
+ CreateObjUtil.callshell(command);
|
|
|
log.info("上传3dtiles模型结束, num:{}, targetPath:{}", num, path);
|
|
|
|
|
|
//检测计算结果
|