管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-08-02 7217f6710dd952369e073ac277713d989cb6b51b
ExportMap/cs/TerraUtils.cs
@@ -213,6 +213,7 @@
            string dirPath = GetTerrainPath(args.dircode);
            string gdal_data = string.Format("set GDAL_DATA={0}\\data", ctbPath);
            // -N 顶点法线, -C 强制创建缺失根瓦片, -R 不覆盖现有文件
            string createMesh = string.Format("{0}\\ctb-tile.exe -R -C -o \"{1}\" -f Mesh \"{2}\\{3}.tif\"", ctbPath, dirPath, dirPath, args.dircode);
            string createLayer = string.Format("{0}\\ctb-tile.exe -l -o \"{1}\" -f Mesh \"{2}\\{3}.tif\"", ctbPath, dirPath, dirPath, args.dircode);
@@ -270,7 +271,8 @@
                    if (!ids.Contains(m.id)) PubDBHelper.InsertMetaPub(m.id, pubid, args.userId);
                }
                string geom = GetPointZ(args);
                if (!string.IsNullOrEmpty(geom)) PubDBHelper.UpdatePublishGeom(pubid, geom);
                //if (!string.IsNullOrEmpty(geom)) PubDBHelper.UpdatePublishGeom(pubid, geom);
                PubDBHelper.UpdatePublish(pubid, args.name, args.userId, geom);
                return pubid;
            }