管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2023-11-16 839871788f5cfde328a7049a174f809c4b9c0b7e
修改月球出图模板
已修改4个文件
338 ■■■■■ 文件已修改
ExportMap/Sources/Moon.qgz 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/Moon.qpt 300 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/MoonExp.py 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/render.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/Moon.qgz
Binary files differ
ExportMap/Sources/Moon.qpt
@@ -1,9 +1,9 @@
<Layout printResolution="300" units="mm" name="Moon" worldFileMap="{4e649c5d-cabe-431f-a385-d69809d87ebf}">
 <Snapper snapToGuides="1" tolerance="5" snapToGrid="0" snapToItems="1"/>
 <Grid resolution="10" offsetX="0" resUnits="mm" offsetUnits="mm" offsetY="0"/>
<Layout worldFileMap="{4e649c5d-cabe-431f-a385-d69809d87ebf}" units="mm" printResolution="300" name="Moon">
 <Snapper snapToItems="1" snapToGuides="1" tolerance="5" snapToGrid="0"/>
 <Grid offsetY="0" offsetX="0" resUnits="mm" offsetUnits="mm" resolution="10"/>
 <PageCollection>
  <symbol clip_to_extent="1" type="fill" name="" force_rhr="0" alpha="1">
   <layer class="SimpleFill" pass="0" enabled="1" locked="0">
  <symbol alpha="1" force_rhr="0" clip_to_extent="1" name="" type="fill">
   <layer class="SimpleFill" pass="0" locked="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 value="" type="QString" name="name"/>
      <Option value="" name="name" type="QString"/>
      <Option name="properties"/>
      <Option value="collection" type="QString" name="type"/>
      <Option value="collection" name="type" type="QString"/>
     </Option>
    </data_defined_properties>
   </layer>
  </symbol>
  <LayoutItem templateUuid="{72530018-3d33-4843-b661-79580c9b15e3}" frame="false" groupUuid="" itemRotation="0" visibility="1" excludeFromExports="0" size="297,210,mm" position="0,0,mm" outlineWidthM="0.3,mm" background="true" referencePoint="0" positionOnPage="0,0,mm" type="65638" uuid="{72530018-3d33-4843-b661-79580c9b15e3}" id="" frameJoinStyle="miter" positionLock="false" blendMode="0" zValue="0" opacity="1">
   <FrameColor blue="0" green="0" red="0" alpha="255"/>
   <BackgroundColor blue="255" green="255" red="255" alpha="255"/>
  <LayoutItem id="" background="true" groupUuid="" frame="false" outlineWidthM="0.3,mm" referencePoint="0" size="297,210,mm" positionLock="false" visibility="1" zValue="0" templateUuid="{72530018-3d33-4843-b661-79580c9b15e3}" position="0,0,mm" blendMode="0" type="65638" positionOnPage="0,0,mm" excludeFromExports="0" itemRotation="0" frameJoinStyle="miter" uuid="{72530018-3d33-4843-b661-79580c9b15e3}" opacity="1">
   <FrameColor alpha="255" red="0" green="0" blue="0"/>
   <BackgroundColor alpha="255" red="255" green="255" blue="255"/>
   <LayoutObject>
    <dataDefinedProperties>
     <Option type="Map">
      <Option value="" type="QString" name="name"/>
      <Option value="" name="name" type="QString"/>
      <Option name="properties"/>
      <Option value="collection" type="QString" name="type"/>
      <Option value="collection" name="type" type="QString"/>
     </Option>
    </dataDefinedProperties>
    <customproperties/>
   </LayoutObject>
   <symbol clip_to_extent="1" type="fill" name="" force_rhr="0" alpha="1">
    <layer class="SimpleFill" pass="0" enabled="1" locked="0">
   <symbol alpha="1" force_rhr="0" clip_to_extent="1" name="" type="fill">
    <layer class="SimpleFill" pass="0" locked="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 value="" type="QString" name="name"/>
       <Option value="" name="name" type="QString"/>
       <Option name="properties"/>
       <Option value="collection" type="QString" name="type"/>
       <Option value="collection" name="type" type="QString"/>
      </Option>
     </data_defined_properties>
    </layer>
@@ -62,108 +62,108 @@
  </LayoutItem>
  <GuideCollection visible="1"/>
 </PageCollection>
 <LayoutItem templateUuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" frame="false" northMode="0" file=":/images/north_arrows/layout_default_north_arrow.svg" mode="0" groupUuid="" itemRotation="0" svgBorderWidth="0.2" visibility="1" excludeFromExports="0" size="10.4237,11.1743,mm" position="278.938,4.42978,mm" outlineWidthM="0.3,mm" background="false" anchorPoint="0" pictureRotation="0" referencePoint="0" positionOnPage="278.938,4.42978,mm" type="65640" resizeMode="0" uuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" id="指北针" pictureWidth="8.85237" mapUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" northOffset="0" pictureHeight="11.1743" svgFillColor="255,255,255,255" frameJoinStyle="miter" positionLock="true" blendMode="0" svgBorderColor="0,0,0,255" zValue="8" opacity="1">
  <FrameColor blue="0" green="0" red="0" alpha="255"/>
  <BackgroundColor blue="255" green="255" red="255" alpha="255"/>
 <LayoutItem mode="0" id="指北针" background="false" groupUuid="" frame="false" svgBorderColor="0,0,0,255" outlineWidthM="0.3,mm" file=":/images/north_arrows/layout_default_north_arrow.svg" anchorPoint="0" svgBorderWidth="0.2" northMode="0" referencePoint="0" size="10.4237,11.1743,mm" positionLock="true" visibility="1" zValue="8" templateUuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" position="278.938,4.42978,mm" blendMode="0" pictureHeight="11.1743" type="65640" positionOnPage="278.938,4.42978,mm" excludeFromExports="0" svgFillColor="255,255,255,255" pictureWidth="8.85237" itemRotation="0" frameJoinStyle="miter" resizeMode="0" northOffset="0" pictureRotation="0" uuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" opacity="1" mapUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}">
  <FrameColor alpha="255" red="0" green="0" blue="0"/>
  <BackgroundColor alpha="255" red="255" green="255" blue="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option value="" type="QString" name="name"/>
     <Option value="" name="name" type="QString"/>
     <Option name="properties"/>
     <Option value="collection" type="QString" name="type"/>
     <Option value="collection" name="type" type="QString"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
 </LayoutItem>
 <LayoutItem templateUuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" frame="false" marginY="0" groupUuid="" itemRotation="0" halign="4" visibility="1" excludeFromExports="0" size="76.0244,8.6585,mm" position="213.337,195.989,mm" outlineWidthM="0.3,mm" background="false" referencePoint="0" positionOnPage="213.337,195.989,mm" type="65641" uuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" id="公司" htmlState="0" frameJoinStyle="miter" positionLock="true" labelText="月球大数据地理空间分析展示平台" valign="128" blendMode="0" zValue="8" marginX="0" opacity="1">
  <FrameColor blue="0" green="0" red="0" alpha="255"/>
  <BackgroundColor blue="255" green="255" red="255" alpha="255"/>
 <LayoutItem marginX="0" valign="128" id="公司" background="false" groupUuid="" frame="false" outlineWidthM="0.3,mm" marginY="0" htmlState="0" referencePoint="0" size="76.0244,8.6585,mm" positionLock="true" visibility="1" zValue="8" templateUuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" position="213.337,195.989,mm" blendMode="0" type="65641" positionOnPage="213.337,195.989,mm" excludeFromExports="0" labelText="月球大数据地理空间分析展示平台" itemRotation="0" halign="4" frameJoinStyle="miter" uuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" opacity="1">
  <FrameColor alpha="255" red="0" green="0" blue="0"/>
  <BackgroundColor alpha="255" red="255" green="255" blue="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option value="" type="QString" name="name"/>
     <Option value="" name="name" type="QString"/>
     <Option name="properties"/>
     <Option value="collection" type="QString" name="type"/>
     <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" green="0" red="0" alpha="255"/>
  <FontColor alpha="255" red="0" green="0" blue="0"/>
 </LayoutItem>
 <LayoutItem templateUuid="{a53c1ba6-77af-48ea-bd86-8e12ae041979}" frame="false" northMode="0" file="" mode="0" groupUuid="" itemRotation="0" svgBorderWidth="0.2" visibility="0" excludeFromExports="0" size="43.6229,72.286,mm" position="11.7,117,mm" outlineWidthM="0.3,mm" background="false" anchorPoint="0" pictureRotation="0" referencePoint="0" positionOnPage="11.7,117,mm" type="65640" resizeMode="1" uuid="{a53c1ba6-77af-48ea-bd86-8e12ae041979}" id="图例" pictureWidth="43.6229" mapUuid="" northOffset="0" pictureHeight="72.286" svgFillColor="255,255,255,255" frameJoinStyle="miter" positionLock="false" blendMode="0" svgBorderColor="0,0,0,255" zValue="8" opacity="1">
  <FrameColor blue="0" green="0" red="0" alpha="255"/>
  <BackgroundColor blue="255" green="255" red="255" alpha="255"/>
 <LayoutItem mode="0" id="图例" background="false" groupUuid="" frame="false" svgBorderColor="0,0,0,255" outlineWidthM="0.3,mm" file="" anchorPoint="0" svgBorderWidth="0.2" northMode="0" referencePoint="0" size="43.6229,72.286,mm" positionLock="false" visibility="0" zValue="8" templateUuid="{a53c1ba6-77af-48ea-bd86-8e12ae041979}" position="11.7,117,mm" blendMode="0" pictureHeight="72.286" type="65640" positionOnPage="11.7,117,mm" excludeFromExports="0" svgFillColor="255,255,255,255" pictureWidth="43.6229" itemRotation="0" frameJoinStyle="miter" resizeMode="1" northOffset="0" pictureRotation="0" uuid="{a53c1ba6-77af-48ea-bd86-8e12ae041979}" opacity="1" mapUuid="">
  <FrameColor alpha="255" red="0" green="0" blue="0"/>
  <BackgroundColor alpha="255" red="255" green="255" blue="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option value="" type="QString" name="name"/>
     <Option value="" name="name" type="QString"/>
     <Option name="properties"/>
     <Option value="collection" type="QString" name="type"/>
     <Option value="collection" name="type" type="QString"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
 </LayoutItem>
 <LayoutItem templateUuid="{29298722-a58a-42f7-85d1-04564ad9366d}" frame="false" northMode="0" file="E:\terrait\TianJin\ExportMap\MoonExp\Sources\logo.png" mode="1" groupUuid="" itemRotation="0" svgBorderWidth="0.2" visibility="1" excludeFromExports="0" size="11.6809,10.7409,mm" position="200.5,194.948,mm" outlineWidthM="0.3,mm" background="false" anchorPoint="0" pictureRotation="0" referencePoint="0" positionOnPage="200.5,194.948,mm" type="65640" resizeMode="0" uuid="{29298722-a58a-42f7-85d1-04564ad9366d}" id="Logo" pictureWidth="10.7409" mapUuid="" northOffset="0" pictureHeight="10.7409" svgFillColor="255,255,255,255" frameJoinStyle="miter" positionLock="true" blendMode="0" svgBorderColor="0,0,0,255" zValue="7" opacity="1">
  <FrameColor blue="0" green="0" red="0" alpha="255"/>
  <BackgroundColor blue="255" green="255" red="255" alpha="255"/>
 <LayoutItem mode="1" id="Logo" background="false" groupUuid="" frame="false" svgBorderColor="0,0,0,255" outlineWidthM="0.3,mm" file="./logo.png" anchorPoint="0" svgBorderWidth="0.2" northMode="0" referencePoint="0" size="11.6809,10.7409,mm" positionLock="true" visibility="1" zValue="7" templateUuid="{29298722-a58a-42f7-85d1-04564ad9366d}" position="200.5,194.948,mm" blendMode="0" pictureHeight="10.7409" type="65640" positionOnPage="200.5,194.948,mm" excludeFromExports="0" svgFillColor="255,255,255,255" pictureWidth="10.7409" itemRotation="0" frameJoinStyle="miter" resizeMode="0" northOffset="0" pictureRotation="0" uuid="{29298722-a58a-42f7-85d1-04564ad9366d}" opacity="1" mapUuid="">
  <FrameColor alpha="255" red="0" green="0" blue="0"/>
  <BackgroundColor alpha="255" red="255" green="255" blue="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option value="" type="QString" name="name"/>
     <Option value="" name="name" type="QString"/>
     <Option name="properties"/>
     <Option value="collection" type="QString" name="type"/>
     <Option value="collection" name="type" type="QString"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
 </LayoutItem>
 <LayoutItem templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" frame="false" sectionX="0" groupUuid="" itemRotation="0" sectionWidth="39.6466" visibility="1" excludeFromExports="0" multiFrame="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" size="39.6466,5.739,mm" position="247,183.864,mm" hideBackgroundIfEmpty="0" outlineWidthM="0.3,mm" sectionY="0" background="false" referencePoint="0" hidePageIfEmpty="0" positionOnPage="247,183.864,mm" type="65647" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" sectionHeight="5.739" id="说明" frameJoinStyle="miter" positionLock="false" multiFrameTemplateUuid="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" blendMode="0" zValue="6" opacity="1">
  <FrameColor blue="0" green="0" red="0" alpha="255"/>
  <BackgroundColor blue="255" green="255" red="255" alpha="255"/>
 <LayoutItem multiFrameTemplateUuid="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" id="说明" sectionWidth="36.0964" background="false" groupUuid="" frame="false" outlineWidthM="0.3,mm" referencePoint="0" size="36.0964,17.901,mm" positionLock="false" visibility="1" hidePageIfEmpty="0" zValue="6" templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" position="247,171.702,mm" blendMode="0" type="65647" positionOnPage="247,171.702,mm" excludeFromExports="0" multiFrame="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" sectionX="0" sectionY="0" hideBackgroundIfEmpty="0" itemRotation="0" sectionHeight="17.901" frameJoinStyle="miter" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" opacity="1">
  <FrameColor alpha="255" red="0" green="0" blue="0"/>
  <BackgroundColor alpha="255" red="255" green="255" blue="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option value="" type="QString" name="name"/>
     <Option value="" name="name" type="QString"/>
     <Option name="properties"/>
     <Option value="collection" type="QString" name="type"/>
     <Option value="collection" name="type" type="QString"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
 </LayoutItem>
 <LayoutItem templateUuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" frame="false" marginY="0" groupUuid="" itemRotation="0" halign="4" visibility="1" excludeFromExports="0" size="165.122,11.1743,mm" position="68.2935,4.42978,mm" outlineWidthM="0.3,mm" background="false" referencePoint="0" positionOnPage="68.2935,4.42978,mm" type="65641" uuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" id="标题" htmlState="0" frameJoinStyle="miter" positionLock="true" labelText="SmartEarth三维地理信息系统平台V7.0" valign="128" blendMode="0" zValue="4" marginX="0" opacity="1">
  <FrameColor blue="0" green="0" red="0" alpha="255"/>
  <BackgroundColor blue="255" green="255" red="255" alpha="255"/>
 <LayoutItem marginX="0" valign="128" id="标题" background="false" groupUuid="" frame="false" outlineWidthM="0.3,mm" marginY="0" htmlState="0" referencePoint="0" size="165.122,11.1743,mm" positionLock="true" visibility="1" zValue="4" templateUuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" position="68.2935,4.42978,mm" blendMode="0" type="65641" positionOnPage="68.2935,4.42978,mm" excludeFromExports="0" labelText="SmartEarth三维地理信息系统平台V7.0" itemRotation="0" halign="4" frameJoinStyle="miter" uuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" opacity="1">
  <FrameColor alpha="255" red="0" green="0" blue="0"/>
  <BackgroundColor alpha="255" red="255" green="255" blue="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option value="" type="QString" name="name"/>
     <Option value="" name="name" type="QString"/>
     <Option name="properties"/>
     <Option value="collection" type="QString" name="type"/>
     <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" green="0" red="0" alpha="255"/>
  <FontColor alpha="255" red="0" green="0" blue="0"/>
 </LayoutItem>
 <LayoutItem templateUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" frame="true" keepLayerSet="false" groupUuid="" itemRotation="0" visibility="1" excludeFromExports="0" size="280,174,mm" position="9,18,mm" outlineWidthM="4,px" background="true" drawCanvasItems="true" mapRotation="0" referencePoint="0" followPresetName="" positionOnPage="9,18,mm" type="65639" uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" id="地图" mapFlags="0" frameJoinStyle="round" positionLock="true" blendMode="0" isTemporal="0" zValue="2" labelMargin="0,mm" followPreset="false" opacity="1">
  <FrameColor blue="0" green="0" red="0" alpha="255"/>
  <BackgroundColor blue="255" green="255" red="255" alpha="255"/>
 <LayoutItem keepLayerSet="false" id="地图" mapRotation="0" background="true" groupUuid="" frame="true" outlineWidthM="4,px" referencePoint="0" size="280,174,mm" positionLock="true" visibility="1" followPreset="false" zValue="2" templateUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" position="9,18,mm" blendMode="0" labelMargin="0,mm" type="65639" positionOnPage="9,18,mm" excludeFromExports="0" itemRotation="0" followPresetName="" frameJoinStyle="round" drawCanvasItems="true" mapFlags="0" uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" opacity="1" isTemporal="0">
  <FrameColor alpha="255" red="0" green="0" blue="0"/>
  <BackgroundColor alpha="255" red="255" green="255" blue="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option value="" type="QString" name="name"/>
     <Option value="" name="name" type="QString"/>
     <Option name="properties"/>
     <Option value="collection" type="QString" name="type"/>
     <Option value="collection" name="type" type="QString"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
  <Extent ymax="-15.777073" ymin="31.089563" xmin="-11.9472810" xmax="3.365208"/>
  <Extent ymin="9.87192880480477086" xmax="152.1417474619615291" ymax="64.40696224962117356" xmin="64.38422237834893735"/>
  <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 gridFrameSideFlags="15" rotatedTicksEnabled="1" rightAnnotationDisplay="0" intervalX="15" offsetX="0" rotatedTicksLengthMode="0" show="0" position="3" topAnnotationDisplay="0" gridFrameWidth="1" gridStyle="3" rightFrameDivisions="0" crossLength="3" bottomAnnotationDisplay="0" rightAnnotationPosition="1" maximumIntervalWidth="10" annotationExpression="" unit="1" minimumIntervalWidth="12" rotatedAnnotationsMarginToCorner="0" gridFrameMargin="0" leftAnnotationPosition="1" annotationPrecision="3" rotatedTicksMarginToCorner="0" leftAnnotationDisplay="0" bottomAnnotationPosition="1" gridFramePenThickness="0.5" bottomAnnotationDirection="0" rotatedTicksMinimumAngle="0" topAnnotationPosition="1" name="网格" offsetY="5" frameFillColor1="255,255,255,255" uuid="{33b582a6-ae09-42c2-b50b-ae68c9d6d71a}" topFrameDivisions="0" showAnnotation="1" frameAnnotationDistance="0.5" gridFrameStyle="3" rotatedAnnotationsEnabled="1" rotatedAnnotationsLengthMode="0" frameFillColor2="0,0,0,255" rotatedAnnotationsMinimumAngle="0" topAnnotationDirection="0" annotationFormat="0" leftFrameDivisions="0" rightAnnotationDirection="2" leftAnnotationDirection="2" blendMode="0" gridFramePenColor="0,0,0,255" bottomFrameDivisions="0" intervalY="15">
  <ComposerMapGrid leftAnnotationPosition="1" gridStyle="3" rightAnnotationDirection="2" rotatedTicksLengthMode="0" unit="1" position="3" rotatedTicksMinimumAngle="0" maximumIntervalWidth="10" bottomFrameDivisions="0" intervalY="15" frameAnnotationDistance="0.5" rotatedTicksMarginToCorner="0" rotatedAnnotationsMinimumAngle="0" gridFrameSideFlags="15" topAnnotationDirection="0" gridFramePenThickness="0.5" bottomAnnotationDisplay="0" offsetX="0" bottomAnnotationDirection="0" rotatedTicksEnabled="1" intervalX="15" rightAnnotationPosition="1" topAnnotationPosition="1" showAnnotation="1" show="0" topAnnotationDisplay="0" gridFrameMargin="0" rotatedAnnotationsLengthMode="0" crossLength="3" rightAnnotationDisplay="0" minimumIntervalWidth="12" topFrameDivisions="0" offsetY="5" annotationExpression="" leftAnnotationDisplay="0" blendMode="0" rotatedAnnotationsEnabled="1" leftAnnotationDirection="2" rotatedAnnotationsMarginToCorner="0" annotationPrecision="3" frameFillColor1="255,255,255,255" frameFillColor2="0,0,0,255" annotationFormat="0" gridFrameStyle="3" gridFramePenColor="0,0,0,255" name="网格" leftFrameDivisions="0" uuid="{33b582a6-ae09-42c2-b50b-ae68c9d6d71a}" rightFrameDivisions="0" bottomAnnotationPosition="1" gridFrameWidth="1">
   <lineStyle>
    <symbol clip_to_extent="1" type="line" name="" force_rhr="0" alpha="0.616">
     <layer class="SimpleLine" pass="0" enabled="1" locked="0">
    <symbol alpha="0.616" force_rhr="0" clip_to_extent="1" name="" type="line">
     <layer class="SimpleLine" pass="0" locked="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 value="" type="QString" name="name"/>
        <Option value="" name="name" type="QString"/>
        <Option name="properties"/>
        <Option value="collection" type="QString" name="type"/>
        <Option value="collection" name="type" type="QString"/>
       </Option>
      </data_defined_properties>
     </layer>
    </symbol>
   </lineStyle>
   <markerStyle>
    <symbol clip_to_extent="1" type="marker" name="" force_rhr="0" alpha="1">
     <layer class="SimpleMarker" pass="0" enabled="1" locked="0">
    <symbol alpha="1" force_rhr="0" clip_to_extent="1" name="" type="marker">
     <layer class="SimpleMarker" pass="0" locked="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 value="" type="QString" name="name"/>
        <Option value="" name="name" type="QString"/>
        <Option name="properties"/>
        <Option value="collection" type="QString" name="type"/>
        <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 fontSize="8" namedStyle="" fontUnderline="0" multilineHeight="1" fontStrikeout="0" allowHtml="0" fontLetterSpacing="0" fontSizeUnit="Point" fontItalic="0" textOrientation="horizontal" capitalization="0" fontWeight="50" fontWordSpacing="0" previewBkgrdColor="255,255,255,255" fontKerning="1" fontFamily="SimSun" textColor="0,0,0,255" blendMode="0" textOpacity="1" fontSizeMapUnitScale="3x:0,0,0,0,0,0">
    <text-buffer bufferDraw="0" bufferSize="1" bufferNoFill="1" bufferColor="255,255,255,255" bufferSizeUnits="MM" bufferOpacity="1" bufferJoinStyle="128" bufferBlendMode="0" bufferSizeMapUnitScale="3x:0,0,0,0,0,0"/>
    <text-mask maskType="0" maskEnabled="0" maskOpacity="1" maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskSize="1.5" maskSizeUnits="MM" maskedSymbolLayers="" maskJoinStyle="128"/>
    <background shapeOffsetUnit="MM" shapeRotation="0" shapeSizeY="0" shapeOffsetY="0" shapeRadiiUnit="MM" shapeSizeX="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeJoinStyle="64" shapeDraw="0" shapeRotationType="0" shapeSizeUnit="MM" shapeRadiiX="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeRadiiY="0" shapeOpacity="1" shapeOffsetX="0" shapeSVGFile="" shapeBorderWidth="0" shapeFillColor="255,255,255,255" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeBorderWidthUnit="MM" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeType="0" shapeBorderColor="128,128,128,255" shapeBlendMode="0">
     <symbol clip_to_extent="1" type="marker" name="markerSymbol" force_rhr="0" alpha="1">
      <layer class="SimpleMarker" pass="0" enabled="1" locked="0">
   <text-style allowHtml="0" fontWeight="50" fontSizeUnit="Point" textOpacity="1" previewBkgrdColor="255,255,255,255" fontSize="8" multilineHeight="1" textColor="0,0,0,255" capitalization="0" fontKerning="1" blendMode="0" fontStrikeout="0" fontFamily="SimSun" textOrientation="horizontal" namedStyle="" fontWordSpacing="0" fontItalic="0" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontUnderline="0" fontLetterSpacing="0">
    <text-buffer bufferBlendMode="0" bufferSizeUnits="MM" bufferNoFill="1" bufferJoinStyle="128" bufferSize="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferColor="255,255,255,255" bufferOpacity="1" bufferDraw="0"/>
    <text-mask maskJoinStyle="128" maskOpacity="1" maskedSymbolLayers="" maskSize="1.5" maskEnabled="0" maskType="0" maskSizeUnits="MM" maskSizeMapUnitScale="3x:0,0,0,0,0,0"/>
    <background shapeRadiiUnit="MM" shapeType="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeBlendMode="0" shapeJoinStyle="64" shapeBorderColor="128,128,128,255" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeBorderWidth="0" shapeSVGFile="" shapeOpacity="1" shapeOffsetX="0" shapeRadiiY="0" shapeSizeUnit="MM" shapeOffsetY="0" shapeSizeType="0" shapeOffsetUnit="MM" shapeBorderWidthUnit="MM" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeFillColor="255,255,255,255" shapeRotation="0" shapeRotationType="0" shapeSizeY="0" shapeSizeX="0" shapeDraw="0" shapeRadiiX="0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0">
     <symbol alpha="1" force_rhr="0" clip_to_extent="1" name="markerSymbol" type="marker">
      <layer class="SimpleMarker" pass="0" locked="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 value="" type="QString" name="name"/>
         <Option value="" name="name" type="QString"/>
         <Option name="properties"/>
         <Option value="collection" type="QString" name="type"/>
         <Option value="collection" name="type" type="QString"/>
        </Option>
       </data_defined_properties>
      </layer>
     </symbol>
    </background>
    <shadow shadowDraw="0" shadowScale="100" shadowColor="0,0,0,255" shadowRadiusAlphaOnly="0" shadowUnder="0" shadowRadius="1.5" shadowOffsetUnit="MM" shadowOffsetDist="1" shadowOffsetAngle="135" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowRadiusUnit="MM" shadowOffsetGlobal="1" shadowOpacity="0.7" shadowBlendMode="6"/>
    <shadow shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowColor="0,0,0,255" shadowOffsetGlobal="1" shadowOffsetDist="1" shadowRadiusAlphaOnly="0" shadowBlendMode="6" shadowRadiusUnit="MM" shadowScale="100" shadowOffsetUnit="MM" shadowOpacity="0.7" shadowOffsetAngle="135" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadius="1.5" shadowDraw="0" shadowUnder="0"/>
    <dd_properties>
     <Option type="Map">
      <Option value="" type="QString" name="name"/>
      <Option value="" name="name" type="QString"/>
      <Option name="properties"/>
      <Option value="collection" type="QString" name="type"/>
      <Option value="collection" name="type" type="QString"/>
     </Option>
    </dd_properties>
   </text-style>
   <LayoutObject>
    <dataDefinedProperties>
     <Option type="Map">
      <Option value="" type="QString" name="name"/>
      <Option value="" name="name" type="QString"/>
      <Option name="properties"/>
      <Option value="collection" type="QString" name="type"/>
      <Option value="collection" name="type" type="QString"/>
     </Option>
    </dataDefinedProperties>
    <customproperties/>
   </LayoutObject>
  </ComposerMapGrid>
  <AtlasMap atlasDriven="0" margin="0.10000000000000001" scalingMode="2"/>
  <AtlasMap margin="0.10000000000000001" scalingMode="2" atlasDriven="0"/>
  <labelBlockingItems/>
  <atlasClippingSettings clippingType="1" forceLabelsInside="0" restrictLayers="0" enabled="0">
  <atlasClippingSettings restrictLayers="0" enabled="0" forceLabelsInside="0" clippingType="1">
   <layersToClip/>
  </atlasClippingSettings>
  <itemClippingSettings clippingType="1" forceLabelsInside="0" enabled="0" clipSource=""/>
  <itemClippingSettings clipSource="" enabled="0" forceLabelsInside="0" clippingType="1"/>
 </LayoutItem>
 <LayoutItem templateUuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" frame="false" groupUuid="" itemRotation="0" visibility="1" excludeFromExports="0" size="292.354,205.447,mm" position="2.6816,2,mm" outlineWidthM="0.3,mm" background="false" referencePoint="0" cornerRadiusMeasure="0,mm" positionOnPage="2.6816,2,mm" type="65643" uuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" id="边框" frameJoinStyle="miter" positionLock="true" blendMode="0" shapeType="1" zValue="1" opacity="1">
  <FrameColor blue="0" green="0" red="0" alpha="255"/>
  <BackgroundColor blue="255" green="255" red="255" alpha="255"/>
 <LayoutItem id="边框" shapeType="1" background="false" groupUuid="" frame="false" outlineWidthM="0.3,mm" referencePoint="0" size="292.354,205.447,mm" cornerRadiusMeasure="0,mm" positionLock="true" visibility="1" zValue="1" templateUuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" position="2.6816,2,mm" blendMode="0" type="65643" positionOnPage="2.6816,2,mm" excludeFromExports="0" itemRotation="0" frameJoinStyle="miter" uuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" opacity="1">
  <FrameColor alpha="255" red="0" green="0" blue="0"/>
  <BackgroundColor alpha="255" red="255" green="255" blue="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option value="" type="QString" name="name"/>
     <Option value="" name="name" type="QString"/>
     <Option name="properties"/>
     <Option value="collection" type="QString" name="type"/>
     <Option value="collection" name="type" type="QString"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
  <symbol clip_to_extent="1" type="fill" name="" force_rhr="0" alpha="1">
   <layer class="SimpleLine" pass="0" enabled="1" locked="0">
  <symbol alpha="1" force_rhr="0" clip_to_extent="1" name="" type="fill">
   <layer class="SimpleLine" pass="0" locked="0" enabled="1">
    <prop k="align_dash_pattern" v="0"/>
    <prop k="capstyle" v="square"/>
    <prop k="customdash" v="5;2"/>
@@ -354,103 +354,137 @@
    <prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
    <data_defined_properties>
     <Option type="Map">
      <Option value="" type="QString" name="name"/>
      <Option value="" name="name" type="QString"/>
      <Option name="properties"/>
      <Option value="collection" type="QString" name="type"/>
      <Option value="collection" name="type" type="QString"/>
     </Option>
    </data_defined_properties>
   </layer>
  </symbol>
 </LayoutItem>
 <LayoutMultiFrame templateUuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" emptyTableMode="0" emptyTableMessage="" verticalGrid="1" gridColor="0,0,0,255" horizontalGrid="1" gridStrokeWidth="0.5" headerMode="2" backgroundColor="255,255,255,255" cellMargin="1" wrapBehavior="0" type="65652" showGrid="0" resizeMode="0" uuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" showEmptyRows="0" includeHeader="0" headerHAlignment="2">
 <LayoutMultiFrame emptyTableMode="0" gridColor="0,0,0,255" horizontalGrid="1" cellMargin="1" backgroundColor="255,255,255,255" emptyTableMessage="" showEmptyRows="0" headerMode="2" includeHeader="0" headerHAlignment="2" templateUuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" gridStrokeWidth="0.5" type="65652" wrapBehavior="0" verticalGrid="1" showGrid="0" resizeMode="0" uuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}">
  <childFrame templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option value="" type="QString" name="name"/>
     <Option value="" name="name" type="QString"/>
     <Option name="properties"/>
     <Option value="collection" type="QString" name="type"/>
     <Option value="collection" name="type" type="QString"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
  <headerTextFormat>
   <text-style fontSize="10" namedStyle="" fontUnderline="0" multilineHeight="1" fontStrikeout="0" allowHtml="0" fontLetterSpacing="0" fontSizeUnit="Point" fontItalic="0" textOrientation="horizontal" capitalization="0" fontWeight="50" fontWordSpacing="0" previewBkgrdColor="255,255,255,255" fontKerning="1" fontFamily="SimSun" textColor="0,0,0,255" blendMode="0" textOpacity="1" fontSizeMapUnitScale="3x:0,0,0,0,0,0">
    <text-buffer bufferDraw="0" bufferSize="1" bufferNoFill="1" bufferColor="255,255,255,255" bufferSizeUnits="MM" bufferOpacity="1" bufferJoinStyle="128" bufferBlendMode="0" bufferSizeMapUnitScale="3x:0,0,0,0,0,0"/>
    <text-mask maskType="0" maskEnabled="0" maskOpacity="1" maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskSize="1.5" maskSizeUnits="MM" maskedSymbolLayers="" maskJoinStyle="128"/>
    <background shapeOffsetUnit="MM" shapeRotation="0" shapeSizeY="0" shapeOffsetY="0" shapeRadiiUnit="MM" shapeSizeX="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeJoinStyle="64" shapeDraw="0" shapeRotationType="0" shapeSizeUnit="MM" shapeRadiiX="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeRadiiY="0" shapeOpacity="1" shapeOffsetX="0" shapeSVGFile="" shapeBorderWidth="0" shapeFillColor="255,255,255,255" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeBorderWidthUnit="MM" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeType="0" shapeBorderColor="128,128,128,255" shapeBlendMode="0"/>
    <shadow shadowDraw="0" shadowScale="100" shadowColor="0,0,0,255" shadowRadiusAlphaOnly="0" shadowUnder="0" shadowRadius="1.5" shadowOffsetUnit="MM" shadowOffsetDist="1" shadowOffsetAngle="135" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowRadiusUnit="MM" shadowOffsetGlobal="1" shadowOpacity="0.7" shadowBlendMode="6"/>
   <text-style allowHtml="0" fontWeight="50" fontSizeUnit="Point" textOpacity="1" previewBkgrdColor="255,255,255,255" fontSize="10" multilineHeight="1" textColor="0,0,0,255" capitalization="0" fontKerning="1" blendMode="0" fontStrikeout="0" fontFamily="SimSun" textOrientation="horizontal" namedStyle="" fontWordSpacing="0" fontItalic="0" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontUnderline="0" fontLetterSpacing="0">
    <text-buffer bufferBlendMode="0" bufferSizeUnits="MM" bufferNoFill="1" bufferJoinStyle="128" bufferSize="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferColor="255,255,255,255" bufferOpacity="1" bufferDraw="0"/>
    <text-mask maskJoinStyle="128" maskOpacity="1" maskedSymbolLayers="" maskSize="1.5" maskEnabled="0" maskType="0" maskSizeUnits="MM" maskSizeMapUnitScale="3x:0,0,0,0,0,0"/>
    <background shapeRadiiUnit="MM" shapeType="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeBlendMode="0" shapeJoinStyle="64" shapeBorderColor="128,128,128,255" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeBorderWidth="0" shapeSVGFile="" shapeOpacity="1" shapeOffsetX="0" shapeRadiiY="0" shapeSizeUnit="MM" shapeOffsetY="0" shapeSizeType="0" shapeOffsetUnit="MM" shapeBorderWidthUnit="MM" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeFillColor="255,255,255,255" shapeRotation="0" shapeRotationType="0" shapeSizeY="0" shapeSizeX="0" shapeDraw="0" shapeRadiiX="0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0"/>
    <shadow shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowColor="0,0,0,255" shadowOffsetGlobal="1" shadowOffsetDist="1" shadowRadiusAlphaOnly="0" shadowBlendMode="6" shadowRadiusUnit="MM" shadowScale="100" shadowOffsetUnit="MM" shadowOpacity="0.7" shadowOffsetAngle="135" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadius="1.5" shadowDraw="0" shadowUnder="0"/>
    <dd_properties>
     <Option type="Map">
      <Option value="" type="QString" name="name"/>
      <Option value="" name="name" type="QString"/>
      <Option name="properties"/>
      <Option value="collection" type="QString" name="type"/>
      <Option value="collection" name="type" type="QString"/>
     </Option>
    </dd_properties>
   </text-style>
  </headerTextFormat>
  <contentTextFormat>
   <text-style fontSize="10" namedStyle="" fontUnderline="0" multilineHeight="1" fontStrikeout="0" allowHtml="0" fontLetterSpacing="0" fontSizeUnit="Point" fontItalic="0" textOrientation="horizontal" capitalization="0" fontWeight="50" fontWordSpacing="0" previewBkgrdColor="255,255,255,255" fontKerning="1" fontFamily="SimSun" textColor="0,0,0,255" blendMode="0" textOpacity="1" fontSizeMapUnitScale="3x:0,0,0,0,0,0">
    <text-buffer bufferDraw="0" bufferSize="1" bufferNoFill="1" bufferColor="255,255,255,255" bufferSizeUnits="MM" bufferOpacity="1" bufferJoinStyle="128" bufferBlendMode="0" bufferSizeMapUnitScale="3x:0,0,0,0,0,0"/>
    <text-mask maskType="0" maskEnabled="0" maskOpacity="1" maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskSize="1.5" maskSizeUnits="MM" maskedSymbolLayers="" maskJoinStyle="128"/>
    <background shapeOffsetUnit="MM" shapeRotation="0" shapeSizeY="0" shapeOffsetY="0" shapeRadiiUnit="MM" shapeSizeX="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeJoinStyle="64" shapeDraw="0" shapeRotationType="0" shapeSizeUnit="MM" shapeRadiiX="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeRadiiY="0" shapeOpacity="1" shapeOffsetX="0" shapeSVGFile="" shapeBorderWidth="0" shapeFillColor="255,255,255,255" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeBorderWidthUnit="MM" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeType="0" shapeBorderColor="128,128,128,255" shapeBlendMode="0"/>
    <shadow shadowDraw="0" shadowScale="100" shadowColor="0,0,0,255" shadowRadiusAlphaOnly="0" shadowUnder="0" shadowRadius="1.5" shadowOffsetUnit="MM" shadowOffsetDist="1" shadowOffsetAngle="135" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowRadiusUnit="MM" shadowOffsetGlobal="1" shadowOpacity="0.7" shadowBlendMode="6"/>
   <text-style allowHtml="0" fontWeight="50" fontSizeUnit="Point" textOpacity="1" previewBkgrdColor="255,255,255,255" fontSize="10" multilineHeight="1" textColor="0,0,0,255" capitalization="0" fontKerning="1" blendMode="0" fontStrikeout="0" fontFamily="SimSun" textOrientation="horizontal" namedStyle="" fontWordSpacing="0" fontItalic="0" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontUnderline="0" fontLetterSpacing="0">
    <text-buffer bufferBlendMode="0" bufferSizeUnits="MM" bufferNoFill="1" bufferJoinStyle="128" bufferSize="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferColor="255,255,255,255" bufferOpacity="1" bufferDraw="0"/>
    <text-mask maskJoinStyle="128" maskOpacity="1" maskedSymbolLayers="" maskSize="1.5" maskEnabled="0" maskType="0" maskSizeUnits="MM" maskSizeMapUnitScale="3x:0,0,0,0,0,0"/>
    <background shapeRadiiUnit="MM" shapeType="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeBlendMode="0" shapeJoinStyle="64" shapeBorderColor="128,128,128,255" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeBorderWidth="0" shapeSVGFile="" shapeOpacity="1" shapeOffsetX="0" shapeRadiiY="0" shapeSizeUnit="MM" shapeOffsetY="0" shapeSizeType="0" shapeOffsetUnit="MM" shapeBorderWidthUnit="MM" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeFillColor="255,255,255,255" shapeRotation="0" shapeRotationType="0" shapeSizeY="0" shapeSizeX="0" shapeDraw="0" shapeRadiiX="0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0"/>
    <shadow shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowColor="0,0,0,255" shadowOffsetGlobal="1" shadowOffsetDist="1" shadowRadiusAlphaOnly="0" shadowBlendMode="6" shadowRadiusUnit="MM" shadowScale="100" shadowOffsetUnit="MM" shadowOpacity="0.7" shadowOffsetAngle="135" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadius="1.5" shadowDraw="0" shadowUnder="0"/>
    <dd_properties>
     <Option type="Map">
      <Option value="" type="QString" name="name"/>
      <Option value="" name="name" type="QString"/>
      <Option name="properties"/>
      <Option value="collection" type="QString" name="type"/>
      <Option value="collection" name="type" type="QString"/>
     </Option>
    </dd_properties>
   </text-style>
  </contentTextFormat>
  <displayColumns>
   <column width="0" heading="" sortByRank="0" sortOrder="0" vAlignment="128" attribute="" hAlignment="1">
    <backgroundColor blue="0" green="0" red="0" alpha="0"/>
   <column sortOrder="0" width="0" vAlignment="128" sortByRank="0" heading="" attribute="" hAlignment="1">
    <backgroundColor alpha="0" red="0" green="0" blue="0"/>
   </column>
   <column width="0" heading="说明" sortByRank="0" sortOrder="0" vAlignment="128" attribute="" hAlignment="1">
    <backgroundColor blue="0" green="0" red="0" alpha="0"/>
   <column sortOrder="0" width="0" vAlignment="128" sortByRank="0" heading="说明" attribute="" hAlignment="1">
    <backgroundColor alpha="0" red="0" green="0" blue="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 width="0" heading="" sortByRank="0" sortOrder="0" vAlignment="128" attribute="" hAlignment="1">
    <backgroundColor blue="0" green="0" red="0" alpha="0"/>
   <header sortOrder="0" width="0" vAlignment="128" sortByRank="0" heading="" attribute="" hAlignment="1">
    <backgroundColor alpha="0" red="0" green="0" blue="0"/>
   </header>
   <header width="0" heading="说明" sortByRank="0" sortOrder="0" vAlignment="128" attribute="" hAlignment="1">
    <backgroundColor blue="0" green="0" red="0" alpha="0"/>
   <header sortOrder="0" width="0" vAlignment="128" sortByRank="0" heading="说明" attribute="" hAlignment="1">
    <backgroundColor alpha="0" red="0" green="0" blue="0"/>
   </header>
  </headers>
  <contents>
   <row>
    <Option type="Map">
     <Option value="" type="color" name="background"/>
     <Option value="制图时间:" type="QString" name="content"/>
     <Option value="" type="color" name="foreground"/>
     <Option value="2" type="int" name="halign"/>
     <Option value="32" type="int" name="valign"/>
     <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 value="" type="color" name="background"/>
     <Option value="2023.09.06" type="QString" name="content"/>
     <Option value="" type="color" name="foreground"/>
     <Option value="1" type="int" name="halign"/>
     <Option value="32" type="int" name="valign"/>
     <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 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 value="" name="background" type="color"/>
     <Option value="1:50000" 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 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="32" name="valign" type="int"/>
    </Option>
    <Option type="Map">
     <Option value="" name="background" type="color"/>
     <Option value="2023.09.06" name="content" type="QString"/>
     <Option value="" name="foreground" type="color"/>
     <Option value="1" name="halign" type="int"/>
     <Option value="32" name="valign" type="int"/>
    </Option>
   </row>
  </contents>
  <rowHeights>
   <row height="0"/>
   <row height="0"/>
   <row height="0"/>
  </rowHeights>
  <columnWidths>
@@ -471,5 +505,5 @@
  <property key="imgPath" value="E:\terrait\TianJin\ExportMap\MoonExp\Sources\Test.png"/>
  <property key="wmsUrl" value="http://219.153.49.10:7511/sj_raster/v6/wmts/service/system/10000201/1?ak=mf72ff9295c740ec0f37e61433e8a3ad8d"/>
 </customproperties>
 <Atlas filenamePattern="'output_'||@atlas_featurenumber" filterFeatures="0" enabled="0" coverageLayer="" sortFeatures="0" hideCoverage="0" pageNameExpression=""/>
 <Atlas filenamePattern="'output_'||@atlas_featurenumber" hideCoverage="0" sortFeatures="0" filterFeatures="0" enabled="0" coverageLayer="" pageNameExpression=""/>
</Layout>
ExportMap/Sources/MoonExp.py
@@ -97,6 +97,21 @@
        prj.addMapLayer(layer)
# 获取比例尺
def get_scale(scale):
    # scale = '1:' + str(math.ceil(map.scale() / 100) * 100)
    if scale > 10000:
        return "1:" + str(math.ceil(map.scale() / 10000)) + "万"
    elif scale > 1000:
        return "1:" + str(math.ceil(map.scale() / 1000)) + "千"
    elif scale > 100:
        return "1:" + str(math.ceil(map.scale() / 100) * 100)
    elif scale > 10:
        return "1:" + str(math.ceil(map.scale() / 10) * 10)
    else:
        return "1:" + str(math.ceil(scale))
# 初始化
# QgsApplication.setPrefixPath(r"E:/terrait/TianJin/LFServer/QGIS/", True)
qgs = QgsApplication([], False)
@@ -124,14 +139,8 @@
# map = layout.itemById(r'地图')
map = layout.referenceMap()
map.zoomToExtent(map.extent())
scale = '1:' + str(math.ceil(map.scale() / 100) * 100)
scale = get_scale(map.scale())
print(scale)
# template_content = template_content.replace('1:25万', scale)
# doc.setContent(template_content)
# layout.loadFromTemplate(doc, QgsReadWriteContext(), True)
# map = layout.referenceMap()
# map.zoomToExtent(map.extent())
size = map.sizeWithUnits()
print('size: ' + str(size.width()) + " * " + str(size.height()) + " mm")
@@ -140,8 +149,7 @@
    print('size: ' + str(map.sizeWithUnits().width()) + " * " + str(map.sizeWithUnits().height()) + " mm")
# 设置图层
# "阀室", "站场", "管道中心线", "矢量注记", "矢量图", "高德影像注记", "高德影像", "影像注记", "影像图"
# showLayers = ["阀室", "管道中心线", "矢量注记", "矢量图"]
# showLayers = ["阀室", "站场", "管道中心线", "矢量注记", "矢量图", "高德影像注记", "高德影像", "影像注记", "影像图"]
showLayers = layout.customProperty("layers").split(',')
root = project.layerTreeRoot()
@@ -150,11 +158,12 @@
# add_map_layer(project, layout)
# sm = layout.itemById(r'说明')
'''table = layout.multiFrames()[0]
table = layout.multiFrames()[0]
contents = table.tableContents()
contents[1][1] = scale
table.refreshAttributes()
table.refresh()'''
# contents[0][1] = scale
contents[1][1].setContent(scale)
table.setTableContents(contents)
table.refresh()
# collection = layout.pageCollection()
# page = collection.page(0)
ExportMap/Sources/render.py
@@ -110,7 +110,8 @@
table = layout.multiFrames()[0]
contents = table.tableContents()
contents[1][1] = scale
table.refreshAttributes()
# table.refreshAttributes()
table.setTableContents(contents)
table.refresh()
# collection = layout.pageCollection()