From 11dd7f1b1c7288ed8aefae60e9c43647c61ce4af Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 17 七月 2023 16:04:17 +0800 Subject: [PATCH] 1 --- ExportMap/cs/OsgbUtils.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ExportMap/cs/OsgbUtils.cs b/ExportMap/cs/OsgbUtils.cs index cc2c57e..802b2d2 100644 --- a/ExportMap/cs/OsgbUtils.cs +++ b/ExportMap/cs/OsgbUtils.cs @@ -59,7 +59,8 @@ string srs = findSRS(osgbPath); if (null != srs) writeSRS(osgbPath, getSRS(srs)); - string cmd = string.Format("{0}\\3dtile.exe -f osgb -i \"{1}\" -o \"{2}\" -c \"{{\\\"offset\\\": {3}}}\"", d3tilesPath, osgbPath, outPath, args.z); + int idx = args.ids.IndexOf(meta.id); + string cmd = string.Format("{0}\\3dtile.exe -f osgb -i \"{1}\" -o \"{2}\" -c \"{{\\\"offset\\\": {3}}}\"", d3tilesPath, osgbPath, outPath, args.zs[idx]); err = Tools.ExecCmd(cmd, false, false); err = null; -- Gitblit v1.9.3