管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2022-12-31 c0d3cbe8940500a7c6db123036d8a42376855275
12.31.2
已添加1个文件
已修改6个文件
415 ■■■■■ 文件已修改
.gitignore 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/Template.qpt 306 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/Test.qpt 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
JavaCode/FrmMain.Designer.cs 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
JavaCode/FrmMain.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
JavaCode/JavaCode.csproj 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
JavaCode/cs/QGisHelper.cs 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.gitignore
@@ -19,3 +19,4 @@
/ExportMap/Sources/.vs
/ExportMap/Sources/data
/ExportMap/Sources/log.txt
/ExportMap/Sources/shps
ExportMap/Sources/Template.qpt
@@ -1,9 +1,9 @@
<Layout name="Test" units="mm" printResolution="{dpi}" worldFileMap="{4e649c5d-cabe-431f-a385-d69809d87ebf}">
  <Snapper snapToGuides="1" tolerance="5" snapToGrid="0" snapToItems="1"/>
  <Grid resolution="10" resUnits="mm" offsetX="0" offsetUnits="mm" offsetY="0"/>
<Layout worldFileMap="{4e649c5d-cabe-431f-a385-d69809d87ebf}" units="mm" printResolution="{dpi}" name="Test">
 <Snapper snapToItems="1" snapToGuides="1" snapToGrid="0" tolerance="5"/>
 <Grid offsetUnits="mm" resolution="10" resUnits="mm" offsetX="0" offsetY="0"/>
  <PageCollection>
    <symbol type="fill" force_rhr="0" name="" alpha="1" clip_to_extent="1">
      <layer enabled="1" pass="0" class="SimpleFill" locked="0">
  <symbol alpha="1" clip_to_extent="1" force_rhr="0" name="" type="fill">
   <layer locked="0" class="SimpleFill" pass="0" enabled="1">
        <prop k="border_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
        <prop k="color" v="255,255,255,255"/>
        <prop k="joinstyle" v="miter"/>
@@ -17,28 +17,28 @@
        <prop k="style" v="solid"/>
        <data_defined_properties>
          <Option type="Map">
            <Option type="QString" name="name" value=""/>
      <Option value="" name="name" type="QString"/>
            <Option name="properties"/>
            <Option type="QString" name="type" value="collection"/>
      <Option value="collection" name="type" type="QString"/>
          </Option>
        </data_defined_properties>
      </layer>
    </symbol>
    <LayoutItem frame="false" size="297,210,mm" uuid="{72530018-3d33-4843-b661-79580c9b15e3}" id="" blendMode="0" itemRotation="0" positionLock="false" groupUuid="" zValue="0" type="65638" background="true" excludeFromExports="0" referencePoint="0" opacity="1" templateUuid="{72530018-3d33-4843-b661-79580c9b15e3}" positionOnPage="0,0,mm" outlineWidthM="0.3,mm" visibility="1" position="0,0,mm" frameJoinStyle="miter">
      <FrameColor blue="0" red="0" green="0" alpha="255"/>
      <BackgroundColor blue="255" red="255" green="255" alpha="255"/>
  <LayoutItem positionLock="false" background="true" positionOnPage="0,0,mm" id="" itemRotation="0" visibility="1" frame="false" opacity="1" templateUuid="{72530018-3d33-4843-b661-79580c9b15e3}" uuid="{72530018-3d33-4843-b661-79580c9b15e3}" type="65638" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="0,0,mm" size="297,210,mm" groupUuid="" referencePoint="0" zValue="0" blendMode="0">
   <FrameColor alpha="255" red="0" blue="0" green="0"/>
   <BackgroundColor alpha="255" red="255" blue="255" green="255"/>
      <LayoutObject>
        <dataDefinedProperties>
          <Option type="Map">
            <Option type="QString" name="name" value=""/>
      <Option value="" name="name" type="QString"/>
            <Option name="properties"/>
            <Option type="QString" name="type" value="collection"/>
      <Option value="collection" name="type" type="QString"/>
          </Option>
        </dataDefinedProperties>
        <customproperties/>
      </LayoutObject>
      <symbol type="fill" force_rhr="0" name="" alpha="1" clip_to_extent="1">
        <layer enabled="1" pass="0" class="SimpleFill" locked="0">
   <symbol alpha="1" clip_to_extent="1" force_rhr="0" name="" type="fill">
    <layer locked="0" class="SimpleFill" pass="0" enabled="1">
          <prop k="border_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
          <prop k="color" v="255,255,255,255"/>
          <prop k="joinstyle" v="miter"/>
@@ -52,9 +52,9 @@
          <prop k="style" v="solid"/>
          <data_defined_properties>
            <Option type="Map">
              <Option type="QString" name="name" value=""/>
       <Option value="" name="name" type="QString"/>
              <Option name="properties"/>
              <Option type="QString" name="type" value="collection"/>
       <Option value="collection" name="type" type="QString"/>
            </Option>
          </data_defined_properties>
        </layer>
@@ -62,108 +62,108 @@
    </LayoutItem>
    <GuideCollection visible="1"/>
  </PageCollection>
  <LayoutItem frame="false" size="10.4237,11.1743,mm" uuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" id="指北针" blendMode="0" anchorPoint="0" svgBorderColor="0,0,0,255" itemRotation="0" northOffset="0" positionLock="true" groupUuid="" zValue="8" mapUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" type="65640" background="false" excludeFromExports="0" northMode="0" pictureWidth="8.85237" file=":/images/north_arrows/layout_default_north_arrow.svg" referencePoint="0" opacity="1" svgFillColor="255,255,255,255" templateUuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" resizeMode="0" positionOnPage="278.938,2.42978,mm" mode="0" outlineWidthM="0.3,mm" visibility="1" position="278.938,2.42978,mm" pictureRotation="0" frameJoinStyle="miter" pictureHeight="11.1743" svgBorderWidth="0.2">
    <FrameColor blue="0" red="0" green="0" alpha="255"/>
    <BackgroundColor blue="255" red="255" green="255" alpha="255"/>
 <LayoutItem svgBorderColor="0,0,0,255" positionLock="true" mode="0" background="false" svgBorderWidth="0.2" positionOnPage="278.938,2.42978,mm" id="指北针" itemRotation="0" mapUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" visibility="1" frame="false" pictureWidth="8.85237" opacity="1" resizeMode="0" templateUuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" uuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" pictureHeight="11.1743" type="65640" file=":/images/north_arrows/layout_default_north_arrow.svg" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="278.938,2.42978,mm" pictureRotation="0" size="10.4237,11.1743,mm" northMode="0" northOffset="0" groupUuid="" referencePoint="0" zValue="8" blendMode="0" svgFillColor="255,255,255,255" anchorPoint="0">
  <FrameColor alpha="255" red="0" blue="0" green="0"/>
  <BackgroundColor alpha="255" red="255" blue="255" green="255"/>
    <LayoutObject>
      <dataDefinedProperties>
        <Option type="Map">
          <Option type="QString" name="name" value=""/>
     <Option value="" name="name" type="QString"/>
          <Option name="properties"/>
          <Option type="QString" name="type" value="collection"/>
     <Option value="collection" name="type" type="QString"/>
        </Option>
      </dataDefinedProperties>
      <customproperties/>
    </LayoutObject>
  </LayoutItem>
  <LayoutItem frame="false" size="76.0244,9.39831,mm" uuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" id="公司" blendMode="0" valign="128" itemRotation="0" positionLock="true" groupUuid="" zValue="8" type="65641" background="false" excludeFromExports="0" labelText="中国 x x x x x å·¥ç¨‹æœ‰é™å…¬å¸" referencePoint="0" opacity="1" marginY="0" marginX="0" templateUuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" positionOnPage="212.337,195.29,mm" htmlState="0" outlineWidthM="0.3,mm" visibility="1" position="212.337,195.29,mm" halign="4" frameJoinStyle="miter">
    <FrameColor blue="0" red="0" green="0" alpha="255"/>
    <BackgroundColor blue="255" red="255" green="255" alpha="255"/>
 <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>
      <dataDefinedProperties>
        <Option type="Map">
          <Option type="QString" name="name" value=""/>
     <Option value="" name="name" type="QString"/>
          <Option name="properties"/>
          <Option type="QString" name="type" value="collection"/>
     <Option value="collection" name="type" type="QString"/>
        </Option>
      </dataDefinedProperties>
      <customproperties/>
    </LayoutObject>
    <LabelFont description="宋体,14,-1,5,50,0,0,0,0,0,常规" style="常规"/>
    <FontColor blue="0" red="0" green="0" alpha="255"/>
  <FontColor alpha="255" red="0" blue="0" green="0"/>
  </LayoutItem>
  <LayoutItem frame="false" size="43.6229,72.286,mm" uuid="{a53c1ba6-77af-48ea-bd86-8e12ae041979}" id="图例" blendMode="0" anchorPoint="0" svgBorderColor="0,0,0,255" itemRotation="0" northOffset="0" positionLock="false" groupUuid="" zValue="8" mapUuid="" type="65640" background="false" excludeFromExports="0" northMode="0" pictureWidth="43.6229" file="{sourcesPath}\Lengend.png" referencePoint="0" opacity="1" svgFillColor="255,255,255,255" templateUuid="{a53c1ba6-77af-48ea-bd86-8e12ae041979}" resizeMode="1" positionOnPage="11.7,117,mm" mode="1" outlineWidthM="0.3,mm" visibility="1" position="11.7,117,mm" pictureRotation="0" frameJoinStyle="miter" pictureHeight="72.286" svgBorderWidth="0.2">
    <FrameColor blue="0" red="0" green="0" alpha="255"/>
    <BackgroundColor blue="255" red="255" green="255" alpha="255"/>
 <LayoutItem svgBorderColor="0,0,0,255" positionLock="true" mode="1" background="false" svgBorderWidth="0.2" positionOnPage="11.7,117,mm" id="图例" itemRotation="0" mapUuid="" visibility="1" frame="false" pictureWidth="43.6229" opacity="1" resizeMode="1" templateUuid="{a53c1ba6-77af-48ea-bd86-8e12ae041979}" uuid="{a53c1ba6-77af-48ea-bd86-8e12ae041979}" pictureHeight="72.286" type="65640" file="{sourcesPath}\Lengend.png" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="11.7,117,mm" pictureRotation="0" size="43.6229,72.286,mm" northMode="0" northOffset="0" groupUuid="" referencePoint="0" zValue="8" blendMode="0" svgFillColor="255,255,255,255" anchorPoint="0">
  <FrameColor alpha="255" red="0" blue="0" green="0"/>
  <BackgroundColor alpha="255" red="255" blue="255" green="255"/>
    <LayoutObject>
      <dataDefinedProperties>
        <Option type="Map">
          <Option type="QString" name="name" value=""/>
     <Option value="" name="name" type="QString"/>
          <Option name="properties"/>
          <Option type="QString" name="type" value="collection"/>
     <Option value="collection" name="type" type="QString"/>
        </Option>
      </dataDefinedProperties>
      <customproperties/>
    </LayoutObject>
  </LayoutItem>
  <LayoutItem frame="false" size="11.6809,10.7409,mm" uuid="{29298722-a58a-42f7-85d1-04564ad9366d}" id="Logo" blendMode="0" anchorPoint="0" svgBorderColor="0,0,0,255" itemRotation="0" northOffset="0" positionLock="true" groupUuid="" zValue="7" mapUuid="" type="65640" background="false" excludeFromExports="0" northMode="0" pictureWidth="10.7409" file="{sourcesPath}\logo.png" referencePoint="0" opacity="1" svgFillColor="255,255,255,255" templateUuid="{29298722-a58a-42f7-85d1-04564ad9366d}" resizeMode="0" positionOnPage="200.5,194.948,mm" mode="1" outlineWidthM="0.3,mm" visibility="1" position="200.5,194.948,mm" pictureRotation="0" frameJoinStyle="miter" pictureHeight="10.7409" svgBorderWidth="0.2">
    <FrameColor blue="0" red="0" green="0" alpha="255"/>
    <BackgroundColor blue="255" red="255" green="255" alpha="255"/>
 <LayoutItem svgBorderColor="0,0,0,255" positionLock="true" mode="1" background="false" svgBorderWidth="0.2" positionOnPage="200.5,194.948,mm" id="Logo" itemRotation="0" mapUuid="" visibility="1" frame="false" pictureWidth="10.7409" opacity="1" resizeMode="0" templateUuid="{29298722-a58a-42f7-85d1-04564ad9366d}" uuid="{29298722-a58a-42f7-85d1-04564ad9366d}" pictureHeight="10.7409" type="65640" file="{sourcesPath}\logo.png" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="200.5,194.948,mm" pictureRotation="0" size="11.6809,10.7409,mm" northMode="0" northOffset="0" groupUuid="" referencePoint="0" zValue="7" blendMode="0" svgFillColor="255,255,255,255" anchorPoint="0">
  <FrameColor alpha="255" red="0" blue="0" green="0"/>
  <BackgroundColor alpha="255" red="255" blue="255" green="255"/>
    <LayoutObject>
      <dataDefinedProperties>
        <Option type="Map">
          <Option type="QString" name="name" value=""/>
     <Option value="" name="name" type="QString"/>
          <Option name="properties"/>
          <Option type="QString" name="type" value="collection"/>
     <Option value="collection" name="type" type="QString"/>
        </Option>
      </dataDefinedProperties>
      <customproperties/>
    </LayoutObject>
  </LayoutItem>
  <LayoutItem frame="false" size="39.6466,15.6032,mm" sectionX="0" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" id="说明" blendMode="0" itemRotation="0" positionLock="false" groupUuid="" zValue="6" type="65647" background="false" excludeFromExports="0" multiFrame="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" sectionWidth="39.6466" referencePoint="0" opacity="1" hidePageIfEmpty="0" multiFrameTemplateUuid="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" sectionY="0" positionOnPage="247,174,mm" hideBackgroundIfEmpty="0" sectionHeight="15.6032" outlineWidthM="0.3,mm" visibility="1" position="247,174,mm" frameJoinStyle="miter">
    <FrameColor blue="0" red="0" green="0" alpha="255"/>
    <BackgroundColor blue="255" red="255" green="255" alpha="255"/>
 <LayoutItem positionLock="true" sectionWidth="39.6466" background="false" positionOnPage="247,174,mm" id="说明" itemRotation="0" hideBackgroundIfEmpty="0" visibility="1" frame="false" sectionY="0" hidePageIfEmpty="0" opacity="1" templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" type="65647" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="247,174,mm" size="39.6466,15.6032,mm" groupUuid="" referencePoint="0" zValue="6" blendMode="0" sectionHeight="15.6032" multiFrameTemplateUuid="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" sectionX="0" multiFrame="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}">
  <FrameColor alpha="255" red="0" blue="0" green="0"/>
  <BackgroundColor alpha="255" red="255" blue="255" green="255"/>
    <LayoutObject>
      <dataDefinedProperties>
        <Option type="Map">
          <Option type="QString" name="name" value=""/>
     <Option value="" name="name" type="QString"/>
          <Option name="properties"/>
          <Option type="QString" name="type" value="collection"/>
     <Option value="collection" name="type" type="QString"/>
        </Option>
      </dataDefinedProperties>
      <customproperties/>
    </LayoutObject>
  </LayoutItem>
  <LayoutItem frame="false" size="129.364,11.1743,mm" uuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" id="标题" blendMode="0" valign="128" itemRotation="0" positionLock="true" groupUuid="" zValue="4" type="65641" background="false" excludeFromExports="0" labelText="{title}" referencePoint="0" opacity="1" marginY="0" marginX="0" templateUuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" positionOnPage="84.816,2.42978,mm" htmlState="0" outlineWidthM="0.3,mm" visibility="1" position="84.816,2.42978,mm" halign="4" frameJoinStyle="miter">
    <FrameColor blue="0" red="0" green="0" alpha="255"/>
    <BackgroundColor blue="255" red="255" green="255" alpha="255"/>
 <LayoutItem valign="128" positionLock="true" background="false" positionOnPage="84.816,2.42978,mm" marginY="0" id="标题" labelText="{title}" itemRotation="0" visibility="1" frame="false" opacity="1" halign="4" templateUuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" uuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" marginX="0" type="65641" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="84.816,2.42978,mm" size="129.364,11.1743,mm" groupUuid="" referencePoint="0" zValue="4" blendMode="0" htmlState="0">
  <FrameColor alpha="255" red="0" blue="0" green="0"/>
  <BackgroundColor alpha="255" red="255" blue="255" green="255"/>
    <LayoutObject>
      <dataDefinedProperties>
        <Option type="Map">
          <Option type="QString" name="name" value=""/>
     <Option value="" name="name" type="QString"/>
          <Option name="properties"/>
          <Option type="QString" name="type" value="collection"/>
     <Option value="collection" name="type" type="QString"/>
        </Option>
      </dataDefinedProperties>
      <customproperties/>
    </LayoutObject>
    <LabelFont description="微软雅黑,24,-1,5,75,0,0,0,0,0,Bold" style="Bold"/>
    <FontColor blue="0" red="0" green="0" alpha="255"/>
  <FontColor alpha="255" red="0" blue="0" green="0"/>
  </LayoutItem>
  <LayoutItem frame="true" size="280,174,mm" uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" id="地图" mapRotation="{rotation}" blendMode="0" itemRotation="0" positionLock="true" groupUuid="" labelMargin="0,mm" zValue="2" type="65639" background="true" excludeFromExports="0" followPreset="false" referencePoint="0" keepLayerSet="false" opacity="1" isTemporal="0" templateUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" positionOnPage="9,18,mm" mapFlags="0" drawCanvasItems="true" outlineWidthM="4,px" followPresetName="" visibility="1" position="9,18,mm" frameJoinStyle="round">
    <FrameColor blue="0" red="0" green="0" alpha="255"/>
    <BackgroundColor blue="255" red="255" green="255" alpha="255"/>
 <LayoutItem positionLock="true" background="true" positionOnPage="9,18,mm" followPreset="false" id="地图" itemRotation="0" visibility="1" frame="true" opacity="1" drawCanvasItems="true" mapRotation="{rotation}" templateUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" isTemporal="0" type="65639" frameJoinStyle="round" excludeFromExports="0" outlineWidthM="4,px" position="9,18,mm" size="280,174,mm" mapFlags="0" groupUuid="" keepLayerSet="false" referencePoint="0" zValue="2" blendMode="0" followPresetName="" labelMargin="0,mm">
  <FrameColor alpha="255" red="0" blue="0" green="0"/>
  <BackgroundColor alpha="255" red="255" blue="255" green="255"/>
    <LayoutObject>
      <dataDefinedProperties>
        <Option type="Map">
          <Option type="QString" name="name" value=""/>
     <Option value="" name="name" type="QString"/>
          <Option name="properties"/>
          <Option type="QString" name="type" value="collection"/>
     <Option value="collection" name="type" type="QString"/>
        </Option>
      </dataDefinedProperties>
      <customproperties/>
    </LayoutObject>
    <Extent xmin="{xmin}" ymin="{ymin}" ymax="{ymax}" xmax="{xmax}"/>
  <Extent ymax="{ymax}" xmax="{xmax}" xmin="{xmin}" ymin="{ymin}"/>
    <crs>
      <spatialrefsys>
        <wkt>GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["unknown"],AREA["World"],BBOX[-90,-180,90,180]],ID["EPSG",4326]]</wkt>
@@ -178,10 +178,10 @@
      </spatialrefsys>
    </crs>
    <LayerSet/>
    <ComposerMapGrid gridFramePenThickness="0.5" offsetX="0" leftFrameDivisions="0" bottomAnnotationDisplay="0" blendMode="0" name="网格" showAnnotation="1" crossLength="3" topFrameDivisions="0" uuid="{33b582a6-ae09-42c2-b50b-ae68c9d6d71a}" intervalY="15" rotatedTicksMarginToCorner="0" bottomFrameDivisions="0" gridFramePenColor="0,0,0,255" gridFrameStyle="3" annotationFormat="0" gridStyle="3" rightAnnotationDirection="2" gridFrameWidth="1" bottomAnnotationDirection="0" minimumIntervalWidth="12" offsetY="5" topAnnotationDirection="0" rotatedAnnotationsMinimumAngle="0" maximumIntervalWidth="10" leftAnnotationDirection="2" leftAnnotationPosition="1" rotatedTicksLengthMode="0" bottomAnnotationPosition="1" frameAnnotationDistance="0.5" frameFillColor1="255,255,255,255" topAnnotationPosition="1" rotatedTicksMinimumAngle="0" rotatedAnnotationsEnabled="1" show="0" rotatedAnnotationsLengthMode="0" rightAnnotationDisplay="0" rightFrameDivisions="0" annotationPrecision="3" gridFrameSideFlags="15" intervalX="15" frameFillColor2="0,0,0,255" topAnnotationDisplay="0" position="3" gridFrameMargin="0" leftAnnotationDisplay="0" unit="1" annotationExpression="" rotatedAnnotationsMarginToCorner="0" rotatedTicksEnabled="1" rightAnnotationPosition="1">
  <ComposerMapGrid leftAnnotationDirection="2" leftAnnotationDisplay="0" topFrameDivisions="0" intervalY="15" topAnnotationPosition="1" rightFrameDivisions="0" frameFillColor1="255,255,255,255" showAnnotation="1" minimumIntervalWidth="12" maximumIntervalWidth="10" rotatedTicksLengthMode="0" name="网格" unit="1" bottomAnnotationDisplay="0" offsetY="5" rotatedAnnotationsMinimumAngle="0" gridStyle="3" rotatedAnnotationsMarginToCorner="0" rotatedTicksEnabled="1" show="0" annotationExpression="" rightAnnotationPosition="1" gridFrameMargin="0" rotatedTicksMarginToCorner="0" bottomFrameDivisions="0" offsetX="0" position="3" bottomAnnotationDirection="0" annotationPrecision="3" topAnnotationDisplay="0" gridFrameStyle="3" leftFrameDivisions="0" leftAnnotationPosition="1" frameAnnotationDistance="0.5" rotatedTicksMinimumAngle="0" gridFrameSideFlags="15" rotatedAnnotationsEnabled="1" crossLength="3" gridFrameWidth="1" intervalX="15" frameFillColor2="0,0,0,255" bottomAnnotationPosition="1" rightAnnotationDirection="2" rightAnnotationDisplay="0" gridFramePenThickness="0.5" annotationFormat="0" uuid="{33b582a6-ae09-42c2-b50b-ae68c9d6d71a}" gridFramePenColor="0,0,0,255" blendMode="0" topAnnotationDirection="0" rotatedAnnotationsLengthMode="0">
      <lineStyle>
        <symbol type="line" force_rhr="0" name="" alpha="0.616" clip_to_extent="1">
          <layer enabled="1" pass="0" class="SimpleLine" locked="0">
    <symbol alpha="0.616" clip_to_extent="1" force_rhr="0" name="" type="line">
     <layer locked="0" class="SimpleLine" pass="0" enabled="1">
            <prop k="align_dash_pattern" v="0"/>
            <prop k="capstyle" v="round"/>
            <prop k="customdash" v="0.66;2"/>
@@ -205,17 +205,17 @@
            <prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
            <data_defined_properties>
              <Option type="Map">
                <Option type="QString" name="name" value=""/>
        <Option value="" name="name" type="QString"/>
                <Option name="properties"/>
                <Option type="QString" name="type" value="collection"/>
        <Option value="collection" name="type" type="QString"/>
              </Option>
            </data_defined_properties>
          </layer>
        </symbol>
      </lineStyle>
      <markerStyle>
        <symbol type="marker" force_rhr="0" name="" alpha="1" clip_to_extent="1">
          <layer enabled="1" pass="0" class="SimpleMarker" locked="0">
    <symbol alpha="1" clip_to_extent="1" force_rhr="0" name="" type="marker">
     <layer locked="0" class="SimpleMarker" pass="0" enabled="1">
            <prop k="angle" v="0"/>
            <prop k="color" v="0,0,0,255"/>
            <prop k="horizontal_anchor_point" v="1"/>
@@ -236,9 +236,9 @@
            <prop k="vertical_anchor_point" v="1"/>
            <data_defined_properties>
              <Option type="Map">
                <Option type="QString" name="name" value=""/>
        <Option value="" name="name" type="QString"/>
                <Option name="properties"/>
                <Option type="QString" name="type" value="collection"/>
        <Option value="collection" name="type" type="QString"/>
              </Option>
            </data_defined_properties>
          </layer>
@@ -255,12 +255,12 @@
        <ellipsoidacronym>EPSG:7030</ellipsoidacronym>
        <geographicflag>true</geographicflag>
      </spatialrefsys>
      <text-style blendMode="0" textOrientation="horizontal" fontKerning="1" namedStyle="" multilineHeight="1" fontSizeMapUnitScale="3x:0,0,0,0,0,0" textOpacity="1" fontFamily="SimSun" allowHtml="0" textColor="0,0,0,255" capitalization="0" fontLetterSpacing="0" fontStrikeout="0" fontWordSpacing="0" previewBkgrdColor="255,255,255,255" fontSize="8" fontWeight="50" fontUnderline="0" fontItalic="0" fontSizeUnit="Point">
        <text-buffer bufferDraw="0" bufferSize="1" bufferBlendMode="0" bufferSizeUnits="MM" bufferColor="255,255,255,255" bufferNoFill="1" bufferJoinStyle="128" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferOpacity="1"/>
        <text-mask maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskedSymbolLayers="" maskSizeUnits="MM" maskJoinStyle="128" maskEnabled="0" maskType="0" maskSize="1.5" maskOpacity="1"/>
        <background shapeDraw="0" shapeSizeUnit="MM" shapeJoinStyle="64" shapeSVGFile="" shapeBorderColor="128,128,128,255" shapeBorderWidthUnit="MM" shapeType="0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetUnit="MM" shapeFillColor="255,255,255,255" shapeOffsetX="0" shapeRadiiUnit="MM" shapeSizeX="0" shapeOffsetY="0" shapeBlendMode="0" shapeRadiiY="0" shapeRotation="0" shapeBorderWidth="0" shapeRadiiX="0" shapeSizeType="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeY="0" shapeRotationType="0" shapeOpacity="1">
          <symbol type="marker" force_rhr="0" name="markerSymbol" alpha="1" clip_to_extent="1">
            <layer enabled="1" pass="0" class="SimpleMarker" locked="0">
   <text-style textColor="0,0,0,255" fontKerning="1" fontSizeUnit="Point" textOrientation="horizontal" allowHtml="0" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontFamily="SimSun" fontLetterSpacing="0" capitalization="0" namedStyle="" fontItalic="0" fontWordSpacing="0" multilineHeight="1" fontUnderline="0" blendMode="0" textOpacity="1" fontSize="8" fontStrikeout="0" fontWeight="50" previewBkgrdColor="255,255,255,255">
    <text-buffer bufferSizeUnits="MM" bufferSize="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferDraw="0" bufferColor="255,255,255,255" bufferNoFill="1" bufferOpacity="1" bufferBlendMode="0" bufferJoinStyle="128"/>
    <text-mask maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskJoinStyle="128" maskType="0" maskSize="1.5" maskOpacity="1" maskedSymbolLayers="" maskEnabled="0" maskSizeUnits="MM"/>
    <background shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeX="0" shapeDraw="0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeSVGFile="" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeBorderWidth="0" shapeOffsetY="0" shapeOpacity="1" shapeSizeUnit="MM" shapeFillColor="255,255,255,255" shapeRadiiY="0" shapeOffsetUnit="MM" shapeBorderWidthUnit="MM" shapeRotationType="0" shapeJoinStyle="64" shapeRotation="0" shapeSizeY="0" shapeBorderColor="128,128,128,255" shapeRadiiUnit="MM" shapeOffsetX="0" shapeRadiiX="0" shapeBlendMode="0" shapeType="0">
     <symbol alpha="1" clip_to_extent="1" force_rhr="0" name="markerSymbol" type="marker">
      <layer locked="0" class="SimpleMarker" pass="0" enabled="1">
              <prop k="angle" v="0"/>
              <prop k="color" v="231,113,72,255"/>
              <prop k="horizontal_anchor_point" v="1"/>
@@ -281,56 +281,56 @@
              <prop k="vertical_anchor_point" v="1"/>
              <data_defined_properties>
                <Option type="Map">
                  <Option type="QString" name="name" value=""/>
         <Option value="" name="name" type="QString"/>
                  <Option name="properties"/>
                  <Option type="QString" name="type" value="collection"/>
         <Option value="collection" name="type" type="QString"/>
                </Option>
              </data_defined_properties>
            </layer>
          </symbol>
        </background>
        <shadow shadowOffsetAngle="135" shadowBlendMode="6" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowScale="100" shadowOpacity="0.7" shadowDraw="0" shadowRadiusAlphaOnly="0" shadowOffsetGlobal="1" shadowOffsetDist="1" shadowRadius="1.5" shadowRadiusUnit="MM" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowUnder="0" shadowOffsetUnit="MM" shadowColor="0,0,0,255"/>
    <shadow shadowOffsetDist="1" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetUnit="MM" shadowColor="0,0,0,255" shadowOffsetGlobal="1" shadowRadiusAlphaOnly="0" shadowUnder="0" shadowOffsetAngle="135" shadowBlendMode="6" shadowOpacity="0.7" shadowScale="100" shadowRadius="1.5" shadowRadiusUnit="MM" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowDraw="0"/>
        <dd_properties>
          <Option type="Map">
            <Option type="QString" name="name" value=""/>
      <Option value="" name="name" type="QString"/>
            <Option name="properties"/>
            <Option type="QString" name="type" value="collection"/>
      <Option value="collection" name="type" type="QString"/>
          </Option>
        </dd_properties>
      </text-style>
      <LayoutObject>
        <dataDefinedProperties>
          <Option type="Map">
            <Option type="QString" name="name" value=""/>
      <Option value="" name="name" type="QString"/>
            <Option name="properties"/>
            <Option type="QString" name="type" value="collection"/>
      <Option value="collection" name="type" type="QString"/>
          </Option>
        </dataDefinedProperties>
        <customproperties/>
      </LayoutObject>
    </ComposerMapGrid>
    <AtlasMap margin="0.10000000000000001" scalingMode="2" atlasDriven="0"/>
  <AtlasMap atlasDriven="0" scalingMode="2" margin="0.10000000000000001"/>
    <labelBlockingItems/>
    <atlasClippingSettings enabled="0" restrictLayers="0" clippingType="1" forceLabelsInside="0">
  <atlasClippingSettings forceLabelsInside="0" restrictLayers="0" enabled="0" clippingType="1">
      <layersToClip/>
    </atlasClippingSettings>
    <itemClippingSettings clipSource="" enabled="0" clippingType="1" forceLabelsInside="0"/>
  <itemClippingSettings forceLabelsInside="0" enabled="0" clippingType="1" clipSource=""/>
  </LayoutItem>
  <LayoutItem frame="false" size="292.354,205.447,mm" uuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" id="边框" blendMode="0" itemRotation="0" positionLock="true" shapeType="1" groupUuid="" zValue="1" type="65643" background="false" excludeFromExports="0" cornerRadiusMeasure="0,mm" referencePoint="0" opacity="1" templateUuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" positionOnPage="2.6816,2,mm" outlineWidthM="0.3,mm" visibility="1" position="2.6816,2,mm" frameJoinStyle="miter">
    <FrameColor blue="0" red="0" green="0" alpha="255"/>
    <BackgroundColor blue="255" red="255" green="255" alpha="255"/>
 <LayoutItem positionLock="true" background="false" positionOnPage="2.6816,2,mm" id="边框" itemRotation="0" visibility="1" frame="false" opacity="1" templateUuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" uuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" type="65643" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="2.6816,2,mm" size="292.354,205.447,mm" groupUuid="" referencePoint="0" zValue="1" blendMode="0" cornerRadiusMeasure="0,mm" shapeType="1">
  <FrameColor alpha="255" red="0" blue="0" green="0"/>
  <BackgroundColor alpha="255" red="255" blue="255" green="255"/>
    <LayoutObject>
      <dataDefinedProperties>
        <Option type="Map">
          <Option type="QString" name="name" value=""/>
     <Option value="" name="name" type="QString"/>
          <Option name="properties"/>
          <Option type="QString" name="type" value="collection"/>
     <Option value="collection" name="type" type="QString"/>
        </Option>
      </dataDefinedProperties>
      <customproperties/>
    </LayoutObject>
    <symbol type="fill" force_rhr="0" name="" alpha="1" clip_to_extent="1">
      <layer enabled="1" pass="0" class="SimpleLine" locked="0">
  <symbol alpha="1" clip_to_extent="1" force_rhr="0" name="" type="fill">
   <layer locked="0" class="SimpleLine" pass="0" enabled="1">
        <prop k="align_dash_pattern" v="0"/>
        <prop k="capstyle" v="square"/>
        <prop k="customdash" v="5;2"/>
@@ -354,131 +354,131 @@
        <prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
        <data_defined_properties>
          <Option type="Map">
            <Option type="QString" name="name" value=""/>
      <Option value="" name="name" type="QString"/>
            <Option name="properties"/>
            <Option type="QString" name="type" value="collection"/>
      <Option value="collection" name="type" type="QString"/>
          </Option>
        </data_defined_properties>
      </layer>
    </symbol>
  </LayoutItem>
  <LayoutMultiFrame uuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" showEmptyRows="0" horizontalGrid="1" type="65652" headerHAlignment="0" emptyTableMode="0" showGrid="0" cellMargin="1" wrapBehavior="0" backgroundColor="255,255,255,255" verticalGrid="1" templateUuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" resizeMode="0" headerMode="2" gridColor="0,0,0,255" includeHeader="0" emptyTableMessage="" gridStrokeWidth="0.5">
 <LayoutMultiFrame backgroundColor="255,255,255,255" headerMode="2" horizontalGrid="1" gridColor="0,0,0,255" resizeMode="0" verticalGrid="1" headerHAlignment="0" emptyTableMode="0" templateUuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" uuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" showEmptyRows="0" type="65652" cellMargin="1" gridStrokeWidth="0.5" showGrid="0" includeHeader="0" wrapBehavior="0" emptyTableMessage="">
    <childFrame uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}"/>
    <LayoutObject>
      <dataDefinedProperties>
        <Option type="Map">
          <Option type="QString" name="name" value=""/>
     <Option value="" name="name" type="QString"/>
          <Option name="properties"/>
          <Option type="QString" name="type" value="collection"/>
     <Option value="collection" name="type" type="QString"/>
        </Option>
      </dataDefinedProperties>
      <customproperties/>
    </LayoutObject>
    <headerTextFormat>
      <text-style blendMode="0" textOrientation="horizontal" fontKerning="1" namedStyle="" multilineHeight="1" fontSizeMapUnitScale="3x:0,0,0,0,0,0" textOpacity="1" fontFamily="SimSun" allowHtml="0" textColor="0,0,0,255" capitalization="0" fontLetterSpacing="0" fontStrikeout="0" fontWordSpacing="0" previewBkgrdColor="255,255,255,255" fontSize="10" fontWeight="50" fontUnderline="0" fontItalic="0" fontSizeUnit="Point">
        <text-buffer bufferDraw="0" bufferSize="1" bufferBlendMode="0" bufferSizeUnits="MM" bufferColor="255,255,255,255" bufferNoFill="1" bufferJoinStyle="128" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferOpacity="1"/>
        <text-mask maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskedSymbolLayers="" maskSizeUnits="MM" maskJoinStyle="128" maskEnabled="0" maskType="0" maskSize="1.5" maskOpacity="1"/>
        <background shapeDraw="0" shapeSizeUnit="MM" shapeJoinStyle="64" shapeSVGFile="" shapeBorderColor="128,128,128,255" shapeBorderWidthUnit="MM" shapeType="0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetUnit="MM" shapeFillColor="255,255,255,255" shapeOffsetX="0" shapeRadiiUnit="MM" shapeSizeX="0" shapeOffsetY="0" shapeBlendMode="0" shapeRadiiY="0" shapeRotation="0" shapeBorderWidth="0" shapeRadiiX="0" shapeSizeType="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeY="0" shapeRotationType="0" shapeOpacity="1"/>
        <shadow shadowOffsetAngle="135" shadowBlendMode="6" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowScale="100" shadowOpacity="0.7" shadowDraw="0" shadowRadiusAlphaOnly="0" shadowOffsetGlobal="1" shadowOffsetDist="1" shadowRadius="1.5" shadowRadiusUnit="MM" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowUnder="0" shadowOffsetUnit="MM" shadowColor="0,0,0,255"/>
   <text-style textColor="0,0,0,255" fontKerning="1" fontSizeUnit="Point" textOrientation="horizontal" allowHtml="0" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontFamily="SimSun" fontLetterSpacing="0" capitalization="0" namedStyle="" fontItalic="0" fontWordSpacing="0" multilineHeight="1" fontUnderline="0" blendMode="0" textOpacity="1" fontSize="10" fontStrikeout="0" fontWeight="50" previewBkgrdColor="255,255,255,255">
    <text-buffer bufferSizeUnits="MM" bufferSize="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferDraw="0" bufferColor="255,255,255,255" bufferNoFill="1" bufferOpacity="1" bufferBlendMode="0" bufferJoinStyle="128"/>
    <text-mask maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskJoinStyle="128" maskType="0" maskSize="1.5" maskOpacity="1" maskedSymbolLayers="" maskEnabled="0" maskSizeUnits="MM"/>
    <background shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeX="0" shapeDraw="0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeSVGFile="" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeBorderWidth="0" shapeOffsetY="0" shapeOpacity="1" shapeSizeUnit="MM" shapeFillColor="255,255,255,255" shapeRadiiY="0" shapeOffsetUnit="MM" shapeBorderWidthUnit="MM" shapeRotationType="0" shapeJoinStyle="64" shapeRotation="0" shapeSizeY="0" shapeBorderColor="128,128,128,255" shapeRadiiUnit="MM" shapeOffsetX="0" shapeRadiiX="0" shapeBlendMode="0" shapeType="0"/>
    <shadow shadowOffsetDist="1" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetUnit="MM" shadowColor="0,0,0,255" shadowOffsetGlobal="1" shadowRadiusAlphaOnly="0" shadowUnder="0" shadowOffsetAngle="135" shadowBlendMode="6" shadowOpacity="0.7" shadowScale="100" shadowRadius="1.5" shadowRadiusUnit="MM" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowDraw="0"/>
        <dd_properties>
          <Option type="Map">
            <Option type="QString" name="name" value=""/>
      <Option value="" name="name" type="QString"/>
            <Option name="properties"/>
            <Option type="QString" name="type" value="collection"/>
      <Option value="collection" name="type" type="QString"/>
          </Option>
        </dd_properties>
      </text-style>
    </headerTextFormat>
    <contentTextFormat>
      <text-style blendMode="0" textOrientation="horizontal" fontKerning="1" namedStyle="" multilineHeight="1" fontSizeMapUnitScale="3x:0,0,0,0,0,0" textOpacity="1" fontFamily="SimSun" allowHtml="0" textColor="0,0,0,255" capitalization="0" fontLetterSpacing="0" fontStrikeout="0" fontWordSpacing="0" previewBkgrdColor="255,255,255,255" fontSize="10" fontWeight="50" fontUnderline="0" fontItalic="0" fontSizeUnit="Point">
        <text-buffer bufferDraw="0" bufferSize="1" bufferBlendMode="0" bufferSizeUnits="MM" bufferColor="255,255,255,255" bufferNoFill="1" bufferJoinStyle="128" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferOpacity="1"/>
        <text-mask maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskedSymbolLayers="" maskSizeUnits="MM" maskJoinStyle="128" maskEnabled="0" maskType="0" maskSize="1.5" maskOpacity="1"/>
        <background shapeDraw="0" shapeSizeUnit="MM" shapeJoinStyle="64" shapeSVGFile="" shapeBorderColor="128,128,128,255" shapeBorderWidthUnit="MM" shapeType="0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetUnit="MM" shapeFillColor="255,255,255,255" shapeOffsetX="0" shapeRadiiUnit="MM" shapeSizeX="0" shapeOffsetY="0" shapeBlendMode="0" shapeRadiiY="0" shapeRotation="0" shapeBorderWidth="0" shapeRadiiX="0" shapeSizeType="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeY="0" shapeRotationType="0" shapeOpacity="1"/>
        <shadow shadowOffsetAngle="135" shadowBlendMode="6" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowScale="100" shadowOpacity="0.7" shadowDraw="0" shadowRadiusAlphaOnly="0" shadowOffsetGlobal="1" shadowOffsetDist="1" shadowRadius="1.5" shadowRadiusUnit="MM" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowUnder="0" shadowOffsetUnit="MM" shadowColor="0,0,0,255"/>
   <text-style textColor="0,0,0,255" fontKerning="1" fontSizeUnit="Point" textOrientation="horizontal" allowHtml="0" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontFamily="SimSun" fontLetterSpacing="0" capitalization="0" namedStyle="" fontItalic="0" fontWordSpacing="0" multilineHeight="1" fontUnderline="0" blendMode="0" textOpacity="1" fontSize="10" fontStrikeout="0" fontWeight="50" previewBkgrdColor="255,255,255,255">
    <text-buffer bufferSizeUnits="MM" bufferSize="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferDraw="0" bufferColor="255,255,255,255" bufferNoFill="1" bufferOpacity="1" bufferBlendMode="0" bufferJoinStyle="128"/>
    <text-mask maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskJoinStyle="128" maskType="0" maskSize="1.5" maskOpacity="1" maskedSymbolLayers="" maskEnabled="0" maskSizeUnits="MM"/>
    <background shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeX="0" shapeDraw="0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeSVGFile="" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeBorderWidth="0" shapeOffsetY="0" shapeOpacity="1" shapeSizeUnit="MM" shapeFillColor="255,255,255,255" shapeRadiiY="0" shapeOffsetUnit="MM" shapeBorderWidthUnit="MM" shapeRotationType="0" shapeJoinStyle="64" shapeRotation="0" shapeSizeY="0" shapeBorderColor="128,128,128,255" shapeRadiiUnit="MM" shapeOffsetX="0" shapeRadiiX="0" shapeBlendMode="0" shapeType="0"/>
    <shadow shadowOffsetDist="1" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetUnit="MM" shadowColor="0,0,0,255" shadowOffsetGlobal="1" shadowRadiusAlphaOnly="0" shadowUnder="0" shadowOffsetAngle="135" shadowBlendMode="6" shadowOpacity="0.7" shadowScale="100" shadowRadius="1.5" shadowRadiusUnit="MM" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowDraw="0"/>
        <dd_properties>
          <Option type="Map">
            <Option type="QString" name="name" value=""/>
      <Option value="" name="name" type="QString"/>
            <Option name="properties"/>
            <Option type="QString" name="type" value="collection"/>
      <Option value="collection" name="type" type="QString"/>
          </Option>
        </dd_properties>
      </text-style>
    </contentTextFormat>
    <displayColumns>
      <column heading="" attribute="" sortOrder="0" vAlignment="128" width="0" sortByRank="0" hAlignment="1">
        <backgroundColor blue="0" red="0" green="0" alpha="0"/>
   <column sortByRank="0" vAlignment="128" width="0" sortOrder="0" hAlignment="1" attribute="" heading="">
    <backgroundColor alpha="0" red="0" blue="0" green="0"/>
      </column>
      <column heading="说明" attribute="" sortOrder="0" vAlignment="128" width="0" sortByRank="0" hAlignment="1">
        <backgroundColor blue="0" red="0" green="0" alpha="0"/>
   <column sortByRank="0" vAlignment="128" width="0" sortOrder="0" hAlignment="1" attribute="" heading="说明">
    <backgroundColor alpha="0" red="0" blue="0" green="0"/>
      </column>
    </displayColumns>
    <sortColumns/>
    <cellStyles>
      <oddColumns enabled="0" cellBackgroundColor="255,255,255,255"/>
      <evenColumns enabled="0" cellBackgroundColor="255,255,255,255"/>
      <oddRows enabled="0" cellBackgroundColor="255,255,255,255"/>
      <evenRows enabled="0" cellBackgroundColor="255,255,255,255"/>
      <firstColumn enabled="0" cellBackgroundColor="255,255,255,255"/>
      <lastColumn enabled="0" cellBackgroundColor="255,255,255,255"/>
      <headerRow enabled="0" cellBackgroundColor="255,255,255,255"/>
      <firstRow enabled="0" cellBackgroundColor="255,255,255,255"/>
      <lastRow enabled="0" cellBackgroundColor="255,255,255,255"/>
   <oddColumns cellBackgroundColor="255,255,255,255" enabled="0"/>
   <evenColumns cellBackgroundColor="255,255,255,255" enabled="0"/>
   <oddRows cellBackgroundColor="255,255,255,255" enabled="0"/>
   <evenRows cellBackgroundColor="255,255,255,255" enabled="0"/>
   <firstColumn cellBackgroundColor="255,255,255,255" enabled="0"/>
   <lastColumn cellBackgroundColor="255,255,255,255" enabled="0"/>
   <headerRow cellBackgroundColor="255,255,255,255" enabled="0"/>
   <firstRow cellBackgroundColor="255,255,255,255" enabled="0"/>
   <lastRow cellBackgroundColor="255,255,255,255" enabled="0"/>
    </cellStyles>
    <headers>
      <header heading="" attribute="" sortOrder="0" vAlignment="128" width="0" sortByRank="0" hAlignment="1">
        <backgroundColor blue="0" red="0" green="0" alpha="0"/>
   <header sortByRank="0" vAlignment="128" width="0" sortOrder="0" hAlignment="1" attribute="" heading="">
    <backgroundColor alpha="0" red="0" blue="0" green="0"/>
      </header>
      <header heading="说明" attribute="" sortOrder="0" vAlignment="128" width="0" sortByRank="0" hAlignment="1">
        <backgroundColor blue="0" red="0" green="0" alpha="0"/>
   <header sortByRank="0" vAlignment="128" width="0" sortOrder="0" hAlignment="1" attribute="" heading="说明">
    <backgroundColor alpha="0" red="0" blue="0" green="0"/>
      </header>
    </headers>
    <contents>
      <row>
        <Option type="Map">
          <Option type="color" name="background" value=""/>
          <Option type="QString" name="content" value="说"/>
          <Option type="color" name="foreground" value=""/>
          <Option type="int" name="halign" value="2"/>
          <Option type="int" name="valign" value="0"/>
     <Option value="" name="background" type="color"/>
     <Option value="说" name="content" type="QString"/>
     <Option value="" name="foreground" type="color"/>
     <Option value="2" name="halign" type="int"/>
     <Option value="0" name="valign" type="int"/>
        </Option>
        <Option type="Map">
          <Option type="color" name="background" value=""/>
          <Option type="QString" name="content" value="明"/>
          <Option type="color" name="foreground" value=""/>
          <Option type="int" name="halign" value="0"/>
          <Option type="int" name="valign" value="0"/>
     <Option value="" name="background" type="color"/>
     <Option value="明" name="content" type="QString"/>
     <Option value="" name="foreground" type="color"/>
     <Option value="0" name="halign" type="int"/>
     <Option value="0" name="valign" type="int"/>
        </Option>
      </row>
      <row>
        <Option type="Map">
          <Option type="color" name="background" value=""/>
          <Option type="QString" name="content" value="比例尺:"/>
          <Option type="color" name="foreground" value=""/>
          <Option type="int" name="halign" value="2"/>
          <Option type="int" name="valign" value="128"/>
     <Option value="" name="background" type="color"/>
     <Option value="比例尺:" name="content" type="QString"/>
     <Option value="" name="foreground" type="color"/>
     <Option value="2" name="halign" type="int"/>
     <Option value="128" name="valign" type="int"/>
        </Option>
        <Option type="Map">
          <Option type="color" name="background" value=""/>
          <Option type="QString" name="content" value="{scale}"/>
          <Option type="color" name="foreground" value=""/>
          <Option type="int" name="halign" value="1"/>
          <Option type="int" name="valign" value="128"/>
     <Option value="" name="background" type="color"/>
     <Option value="{scale}" name="content" type="QString"/>
     <Option value="" name="foreground" type="color"/>
     <Option value="1" name="halign" type="int"/>
     <Option value="128" name="valign" type="int"/>
        </Option>
      </row>
      <row>
        <Option type="Map">
          <Option type="color" name="background" value=""/>
          <Option type="QString" name="content" value="制图时间:"/>
          <Option type="color" name="foreground" value=""/>
          <Option type="int" name="halign" value="2"/>
          <Option type="int" name="valign" value="128"/>
     <Option value="" name="background" type="color"/>
     <Option value="制图时间:" name="content" type="QString"/>
     <Option value="" name="foreground" type="color"/>
     <Option value="2" name="halign" type="int"/>
     <Option value="128" name="valign" type="int"/>
        </Option>
        <Option type="Map">
          <Option type="color" name="background" value=""/>
          <Option type="QString" name="content" value="{date}"/>
          <Option type="color" name="foreground" value=""/>
          <Option type="int" name="halign" value="1"/>
          <Option type="int" name="valign" value="128"/>
     <Option value="" name="background" type="color"/>
     <Option value="{date}" name="content" type="QString"/>
     <Option value="" name="foreground" type="color"/>
     <Option value="1" name="halign" type="int"/>
     <Option value="128" name="valign" type="int"/>
        </Option>
      </row>
    </contents>
@@ -504,5 +504,5 @@
    <property key="layers" value="{layers}"/>
    <property key="imgPath" value="{imgPath}"/>
  </customproperties>
  <Atlas coverageLayer="" hideCoverage="0" enabled="0" pageNameExpression="" filenamePattern="'output_'||@atlas_featurenumber" sortFeatures="0" filterFeatures="0"/>
 <Atlas filenamePattern="'output_'||@atlas_featurenumber" hideCoverage="0" enabled="0" coverageLayer="" sortFeatures="0" pageNameExpression="" filterFeatures="0"/>
</Layout>
ExportMap/Sources/Test.qpt
@@ -92,7 +92,7 @@
  <LabelFont description="宋体,14,-1,5,50,0,0,0,0,0,常规" style="常规"/>
  <FontColor alpha="255" red="0" blue="0" green="0"/>
 </LayoutItem>
 <LayoutItem svgBorderColor="0,0,0,255" positionLock="true" mode="1" background="false" svgBorderWidth="0.2" positionOnPage="11.7,117,mm" id="图例" itemRotation="0" mapUuid="" visibility="1" frame="false" pictureWidth="43.6229" opacity="1" resizeMode="1" templateUuid="{a53c1ba6-77af-48ea-bd86-8e12ae041979}" uuid="{a53c1ba6-77af-48ea-bd86-8e12ae041979}" pictureHeight="72.286" type="65640" file="./Lengend.png" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="11.7,117,mm" pictureRotation="0" size="43.6229,72.286,mm" northMode="0" northOffset="0" groupUuid="" referencePoint="0" zValue="8" blendMode="0" svgFillColor="255,255,255,255" anchorPoint="0">
 <LayoutItem svgBorderColor="0,0,0,255" positionLock="true" mode="1" background="false" svgBorderWidth="0.2" positionOnPage="11.7,117,mm" id="图例" itemRotation="0" mapUuid="" visibility="1" frame="false" pictureWidth="43.6229" opacity="1" resizeMode="1" templateUuid="{a53c1ba6-77af-48ea-bd86-8e12ae041979}" uuid="{a53c1ba6-77af-48ea-bd86-8e12ae041979}" pictureHeight="72.286" type="65640" file="E:\terrait\TianJin\ExportMap\ExportMap\Sources\Lengend.png" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="11.7,117,mm" pictureRotation="0" size="43.6229,72.286,mm" northMode="0" northOffset="0" groupUuid="" referencePoint="0" zValue="8" blendMode="0" svgFillColor="255,255,255,255" anchorPoint="0">
  <FrameColor alpha="255" red="0" blue="0" green="0"/>
  <BackgroundColor alpha="255" red="255" blue="255" green="255"/>
  <LayoutObject>
@@ -106,7 +106,7 @@
   <customproperties/>
  </LayoutObject>
 </LayoutItem>
 <LayoutItem svgBorderColor="0,0,0,255" positionLock="true" mode="1" background="false" svgBorderWidth="0.2" positionOnPage="200.5,194.948,mm" id="Logo" itemRotation="0" mapUuid="" visibility="1" frame="false" pictureWidth="10.7409" opacity="1" resizeMode="0" templateUuid="{29298722-a58a-42f7-85d1-04564ad9366d}" uuid="{29298722-a58a-42f7-85d1-04564ad9366d}" pictureHeight="10.7409" type="65640" file="./logo.png" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="200.5,194.948,mm" pictureRotation="0" size="11.6809,10.7409,mm" northMode="0" northOffset="0" groupUuid="" referencePoint="0" zValue="7" blendMode="0" svgFillColor="255,255,255,255" anchorPoint="0">
 <LayoutItem svgBorderColor="0,0,0,255" positionLock="true" mode="1" background="false" svgBorderWidth="0.2" positionOnPage="200.5,194.948,mm" id="Logo" itemRotation="0" mapUuid="" visibility="1" frame="false" pictureWidth="10.7409" opacity="1" resizeMode="0" templateUuid="{29298722-a58a-42f7-85d1-04564ad9366d}" uuid="{29298722-a58a-42f7-85d1-04564ad9366d}" pictureHeight="10.7409" type="65640" file="E:\terrait\TianJin\ExportMap\ExportMap\Sources\logo.png" frameJoinStyle="miter" excludeFromExports="0" outlineWidthM="0.3,mm" position="200.5,194.948,mm" pictureRotation="0" size="11.6809,10.7409,mm" northMode="0" northOffset="0" groupUuid="" referencePoint="0" zValue="7" blendMode="0" svgFillColor="255,255,255,255" anchorPoint="0">
  <FrameColor alpha="255" red="0" blue="0" green="0"/>
  <BackgroundColor alpha="255" red="255" blue="255" green="255"/>
  <LayoutObject>
@@ -501,6 +501,8 @@
  <property value="0" key="imageCropMarginTop"/>
  <property value="false" key="imageCropToContents"/>
  <property value="true" key="singleFile"/>
  <property key="layers" value="项目,站场,管道中心线,战略通道,影像注记,影像图"/>
  <property key="imgPath" value="E:\terrait\TianJin\ExportMap\ExportMap\Sources\Test.png"/>
 </customproperties>
 <Atlas filenamePattern="'output_'||@atlas_featurenumber" hideCoverage="0" enabled="0" coverageLayer="" sortFeatures="0" pageNameExpression="" filterFeatures="0"/>
</Layout>
JavaCode/FrmMain.Designer.cs
@@ -30,7 +30,7 @@
        {
            this.btnSys = new System.Windows.Forms.Button();
            this.btnMybatis = new System.Windows.Forms.Button();
            this.button1 = new System.Windows.Forms.Button();
            this.btnQGis = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // btnSys
@@ -55,22 +55,23 @@
            this.btnMybatis.UseVisualStyleBackColor = true;
            this.btnMybatis.Click += new System.EventHandler(this.btnMybatis_Click);
            // 
            // button1
            // btnQGis
            // 
            this.button1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button1.Location = new System.Drawing.Point(143, 143);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(183, 25);
            this.button1.TabIndex = 15;
            this.button1.Text = "生 æˆ Mybatis Plus";
            this.button1.UseVisualStyleBackColor = true;
            this.btnQGis.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btnQGis.Location = new System.Drawing.Point(143, 143);
            this.btnQGis.Name = "btnQGis";
            this.btnQGis.Size = new System.Drawing.Size(183, 25);
            this.btnQGis.TabIndex = 15;
            this.btnQGis.Text = "生 æˆ QGis æ¨¡ æ¿";
            this.btnQGis.UseVisualStyleBackColor = true;
            this.btnQGis.Click += new System.EventHandler(this.btnQGis_Click);
            // 
            // FrmMain
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(484, 261);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.btnQGis);
            this.Controls.Add(this.btnMybatis);
            this.Controls.Add(this.btnSys);
            this.Name = "FrmMain";
@@ -84,6 +85,6 @@
        private System.Windows.Forms.Button btnSys;
        private System.Windows.Forms.Button btnMybatis;
        private System.Windows.Forms.Button button1;
        private System.Windows.Forms.Button btnQGis;
    }
}
JavaCode/FrmMain.cs
@@ -1,4 +1,5 @@
using System;
using JavaCode.cs;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
@@ -12,8 +13,6 @@
{
    public partial class FrmMain : Form
    {
        public FrmMain()
        {
            InitializeComponent();
@@ -30,5 +29,10 @@
            FrmMyBatisPlus mybatis = new FrmMyBatisPlus();
            mybatis.Show();
        }
        private void btnQGis_Click(object sender, EventArgs e)
        {
            QGisHelper.Create();
        }
    }
}
JavaCode/JavaCode.csproj
@@ -55,6 +55,7 @@
  <ItemGroup>
    <Compile Include="cs\ModelHandler.cs" />
    <Compile Include="cs\PostgreHelper.cs" />
    <Compile Include="cs\QGisHelper.cs" />
    <Compile Include="cs\TabInfo.cs" />
    <Compile Include="FrmMain.cs">
      <SubType>Form</SubType>
JavaCode/cs/QGisHelper.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,68 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace JavaCode.cs
{
    public class QGisHelper
    {
        public static void Create()
        {
            String path = @"E:\terrait\TianJin\ExportMap\ExportMap\Sources\";
            String appendStr =
                "  <property key=\"layers\" value=\"项目,站场,管道中心线,战略通道,影像注记,影像图\"/>" +
                "\r\n  <property key=\"imgPath\" value=\"" + path + "Test.png\"/>" +
                "\r\n </customproperties>";
            string testPath = Path.Combine(path, "Test.qpt");
            string testXml = File.ReadAllText(testPath);
            String newTestXml = testXml.Replace("\"./", "\"" + path)
                .Replace(" </customproperties>", appendStr);
            File.WriteAllText(testPath, newTestXml);
            appendStr =
                "  <property key=\"layers\" value=\"{layers}\"/>" +
                "\r\n  <property key=\"imgPath\" value=\"{imgPath}\"/>" +
                "\r\n </customproperties>";
            String tempXml = testXml
                .Replace("printResolution=\"300\"", "printResolution=\"{dpi}\"")
                .Replace("labelText=\"管道基础大数据平台(DW1-1)\"", "labelText=\"{title}\"")
                .Replace("中国石油天然气管道工程有限公司", "中国 x x x x x å·¥ç¨‹æœ‰é™å…¬å¸")
                .Replace("\"./Lengend.png\"", "\"{sourcesPath}\\Lengend.png\"")
                .Replace("\"./logo.png\"", "\"{sourcesPath}\\logo.png\"")
                .Replace("mapRotation=\"0\"", "mapRotation=\"{rotation}\"")
                .Replace(getStrByKey(testXml, "xmin"), "xmin=\"{xmin}")
                .Replace(getStrByKey(testXml, "ymin"), "ymin=\"{ymin}")
                .Replace(getStrByKey(testXml, "ymax"), "ymax=\"{ymax}")
                .Replace(getStrByKey(testXml, "xmax"), "xmax=\"{xmax}")
                .Replace("\"河北省\"", "\"{province}\"")
                .Replace("\"1:25万\"", "\"{scale}\"")
                .Replace("\"20ç±³\"", "\"{resolution}\"")
                .Replace("\"2022.11.06\"", "\"{date}\"")
                .Replace(" </customproperties>", appendStr); ;
            string tempPath = Path.Combine(path, "Template.qpt");
            File.WriteAllText(tempPath, tempXml);
            MessageBox.Show("生成完毕!");
        }
        private static String getStrByKey(string xml, string key)
        {
            int start = xml.IndexOf(key);
            int end = xml.IndexOf("\"", start + key.Length + 3);
            //string ss = "<Extent ymax=\"64.11233836183852475\" ymin=\"9.57730491702214692\" xmin=\"59.05829972526095162\" xmax=\"146.81582480887351494\"/>";
            return xml.Substring(start, end - start);
        }
    }
}