From 4f70a393b0d7172a69b1bd106cad6c48766f40dd Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期六, 31 十二月 2022 17:39:17 +0800
Subject: [PATCH] 12.31

---
 ExportMap/Sources/Test.qpt |    2 +-
 JavaCode/cs/QGisHelper.cs  |    1 +
 ExportMap/ExportMap.csproj |    1 +
 ExportMap/Sources/说明.txt   |    1 -
 4 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ExportMap/ExportMap.csproj b/ExportMap/ExportMap.csproj
index e3fcdc7..996c29f 100644
--- a/ExportMap/ExportMap.csproj
+++ b/ExportMap/ExportMap.csproj
@@ -117,6 +117,7 @@
     <Content Include="Sources\logo.png" />
     <Content Include="Sources\render.py" />
     <Content Include="export.html" />
+    <Content Include="Sources\璇存槑.txt" />
     <Content Include="up.html" />
     <Content Include="Web.config">
       <SubType>Designer</SubType>
diff --git a/ExportMap/Sources/Test.qpt b/ExportMap/Sources/Test.qpt
index 2a817f6..b855206 100644
--- a/ExportMap/Sources/Test.qpt
+++ b/ExportMap/Sources/Test.qpt
@@ -76,7 +76,7 @@
    <customproperties/>
   </LayoutObject>
  </LayoutItem>
- <LayoutItem valign="128" positionLock="true" background="false" positionOnPage="212.337,195.29,mm" marginY="0" id="鍏徃" labelText="涓浗鐭虫补澶╃劧姘旂閬撳伐绋嬫湁闄愬叕鍙�" itemRotation="0" visibility="1" frame="false" opacity="1" halign="4" templateUuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" uuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" marginX="0" type="65641" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="212.337,195.29,mm" size="76.0244,9.39831,mm" groupUuid="" referencePoint="0" zValue="8" blendMode="0" htmlState="0">
+ <LayoutItem valign="128" positionLock="true" background="false" positionOnPage="212.337,195.29,mm" marginY="0" id="鍏徃" labelText="涓浗 x x x x x 宸ョ▼鏈夐檺鍏徃" itemRotation="0" visibility="1" frame="false" opacity="1" halign="4" templateUuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" uuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" marginX="0" type="65641" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="212.337,195.29,mm" size="76.0244,9.39831,mm" groupUuid="" referencePoint="0" zValue="8" blendMode="0" htmlState="0">
   <FrameColor alpha="255" red="0" blue="0" green="0"/>
   <BackgroundColor alpha="255" red="255" blue="255" green="255"/>
   <LayoutObject>
diff --git "a/ExportMap/Sources/\350\257\264\346\230\216.txt" "b/ExportMap/Sources/\350\257\264\346\230\216.txt"
index bfaafbf..f9ccd57 100644
--- "a/ExportMap/Sources/\350\257\264\346\230\216.txt"
+++ "b/ExportMap/Sources/\350\257\264\346\230\216.txt"
@@ -30,7 +30,6 @@
 python E:/terrait/TianJin/LFServer/QGIS/main.py
 python E:/terrait/TianJin/LFServer/QGIS/render.py -qgz Test.qgz -qpt Test.qpt
 
-python E:/terrait/TianJin/ExportMap/ExportMap/Sources/render.py -qgz Test.qgz -qpt Template.qpt
 python E:/terrait/TianJin/ExportMap/ExportMap/Sources/render.py -qgz Test.qgz -qpt Test.qpt
 ================================================================================
 https://blog.csdn.net/qq_23034515/article/details/107643428
diff --git a/JavaCode/cs/QGisHelper.cs b/JavaCode/cs/QGisHelper.cs
index 9461b92..636b4d5 100644
--- a/JavaCode/cs/QGisHelper.cs
+++ b/JavaCode/cs/QGisHelper.cs
@@ -23,6 +23,7 @@
             string testXml = File.ReadAllText(testPath);
 
             String newTestXml = testXml.Replace("\"./", "\"" + path)
+                .Replace("涓浗鐭虫补澶╃劧姘旂閬撳伐绋嬫湁闄愬叕鍙�", "涓浗 x x x x x 宸ョ▼鏈夐檺鍏徃")
                 .Replace(" </customproperties>", appendStr);
             File.WriteAllText(testPath, newTestXml);
 

--
Gitblit v1.9.3