管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2022-12-31 4f70a393b0d7172a69b1bd106cad6c48766f40dd
12.31
已修改4个文件
5 ■■■■■ 文件已修改
ExportMap/ExportMap.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/Test.qpt 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/说明.txt 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
JavaCode/cs/QGisHelper.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>
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>
ExportMap/Sources/˵Ã÷.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
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);