管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2022-12-23 75a5b5439e0f003e7292c8dfaf68631f27692847
1
已添加2个文件
已修改4个文件
652 ■■■■■ 文件已修改
ExportMap/Sources/Test.qgz 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/Test.qpt 48 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/Test.shp.qgz 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/Test.shp.qpt 575 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/render.py 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/说明.txt 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/Sources/Test.qgz
Binary files differ
ExportMap/Sources/Test.qpt
@@ -92,7 +92,7 @@
  <LabelFont description="宋体,14,-1,5,50,0,0,0,0,0,常规" style="常规"/>
  <FontColor blue="0" red="0" green="0" alpha="255"/>
 </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="true" groupUuid="" zValue="8" mapUuid="" type="65640" background="false" excludeFromExports="0" northMode="0" pictureWidth="43.6229" file="E:\terrait\TianJin\ExportMap\ExportMap\Sources\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">
 <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="E:\terrait\TianJin\ExportMap\ExportMap\Sources\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"/>
  <LayoutObject>
@@ -120,7 +120,7 @@
   <customproperties/>
  </LayoutObject>
 </LayoutItem>
 <LayoutItem frame="false" size="43.1968,25.6574,mm" sectionX="0" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" id="说明" blendMode="0" itemRotation="0" positionLock="true" groupUuid="" zValue="6" type="65647" background="false" excludeFromExports="0" multiFrame="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" sectionWidth="43.1968" referencePoint="0" opacity="1" hidePageIfEmpty="0" multiFrameTemplateUuid="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" sectionY="0" positionOnPage="243,164,mm" hideBackgroundIfEmpty="0" sectionHeight="25.6574" outlineWidthM="0.3,mm" visibility="1" position="243,164,mm" frameJoinStyle="miter">
 <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"/>
  <LayoutObject>
@@ -163,7 +163,7 @@
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
  <Extent xmax="152.21468423480365573" xmin="64.45715915119103556" ymin="8.08310235315739689" ymax="62.61813579797380669"/>
  <Extent xmax="152.1417474619615291" xmin="64.38422237834893735" ymin="9.87192880480484547" ymax="64.4069622496211025"/>
  <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,7 +178,7 @@
   </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="25" 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="1" rotatedAnnotationsLengthMode="0" rightAnnotationDisplay="0" rightFrameDivisions="0" annotationPrecision="3" gridFrameSideFlags="15" intervalX="25" frameFillColor2="0,0,0,255" topAnnotationDisplay="0" position="3" gridFrameMargin="0" leftAnnotationDisplay="0" unit="1" annotationExpression="" rotatedAnnotationsMarginToCorner="0" rotatedTicksEnabled="1" rightAnnotationPosition="1">
  <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">
   <lineStyle>
    <symbol type="line" force_rhr="0" name="" alpha="0.616" clip_to_extent="1">
     <layer enabled="1" pass="0" class="SimpleLine" locked="0">
@@ -452,22 +452,6 @@
   <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>
    <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="1"/>
     <Option type="int" name="valign" value="128"/>
    </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"/>
@@ -484,39 +468,21 @@
   <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="0"/>
     <Option type="int" name="valign" value="0"/>
    </Option>
    <Option type="Map">
     <Option type="color" name="background" value=""/>
     <Option type="QString" name="content" value="20ç±³"/>
     <Option type="color" name="foreground" value=""/>
     <Option type="int" name="halign" value="0"/>
     <Option type="int" name="valign" value="0"/>
    </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="0"/>
     <Option type="int" name="valign" value="128"/>
    </Option>
    <Option type="Map">
     <Option type="color" name="background" value=""/>
     <Option type="QString" name="content" value="2022.11.06"/>
     <Option type="color" name="foreground" value=""/>
     <Option type="int" name="halign" value="0"/>
     <Option type="int" name="valign" value="0"/>
     <Option type="int" name="halign" value="1"/>
     <Option type="int" name="valign" value="128"/>
    </Option>
   </row>
  </contents>
  <rowHeights>
   <row height="0"/>
   <row height="0"/>
   <row height="0"/>
   <row height="0"/>
   <row height="0"/>
ExportMap/Sources/Test.shp.qgz
Binary files differ
ExportMap/Sources/Test.shp.qpt
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,575 @@
<Layout units="mm" name="Test" worldFileMap="{4e649c5d-cabe-431f-a385-d69809d87ebf}" printResolution="300">
 <Snapper snapToItems="1" snapToGuides="1" tolerance="5" snapToGrid="0"/>
 <Grid resUnits="mm" offsetX="0" offsetUnits="mm" resolution="10" offsetY="0"/>
 <PageCollection>
  <symbol type="fill" force_rhr="0" alpha="1" name="" clip_to_extent="1">
   <layer pass="0" class="SimpleFill" enabled="1" locked="0">
    <prop v="3x:0,0,0,0,0,0" k="border_width_map_unit_scale"/>
    <prop v="255,255,255,255" k="color"/>
    <prop v="miter" k="joinstyle"/>
    <prop v="0,0" k="offset"/>
    <prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
    <prop v="MM" k="offset_unit"/>
    <prop v="35,35,35,255" k="outline_color"/>
    <prop v="no" k="outline_style"/>
    <prop v="0.26" k="outline_width"/>
    <prop v="MM" k="outline_width_unit"/>
    <prop v="solid" k="style"/>
    <data_defined_properties>
     <Option type="Map">
      <Option type="QString" value="" name="name"/>
      <Option name="properties"/>
      <Option type="QString" value="collection" name="type"/>
     </Option>
    </data_defined_properties>
   </layer>
  </symbol>
  <LayoutItem zValue="0" blendMode="0" itemRotation="0" type="65638" position="0,0,mm" templateUuid="{72530018-3d33-4843-b661-79580c9b15e3}" visibility="1" uuid="{72530018-3d33-4843-b661-79580c9b15e3}" excludeFromExports="0" referencePoint="0" frameJoinStyle="miter" frame="false" id="" background="true" positionLock="false" size="297,210,mm" opacity="1" outlineWidthM="0.3,mm" positionOnPage="0,0,mm" groupUuid="">
   <FrameColor green="0" alpha="255" blue="0" red="0"/>
   <BackgroundColor green="255" alpha="255" blue="255" red="255"/>
   <LayoutObject>
    <dataDefinedProperties>
     <Option type="Map">
      <Option type="QString" value="" name="name"/>
      <Option name="properties"/>
      <Option type="QString" value="collection" name="type"/>
     </Option>
    </dataDefinedProperties>
    <customproperties/>
   </LayoutObject>
   <symbol type="fill" force_rhr="0" alpha="1" name="" clip_to_extent="1">
    <layer pass="0" class="SimpleFill" enabled="1" locked="0">
     <prop v="3x:0,0,0,0,0,0" k="border_width_map_unit_scale"/>
     <prop v="255,255,255,255" k="color"/>
     <prop v="miter" k="joinstyle"/>
     <prop v="0,0" k="offset"/>
     <prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
     <prop v="MM" k="offset_unit"/>
     <prop v="35,35,35,255" k="outline_color"/>
     <prop v="no" k="outline_style"/>
     <prop v="0.26" k="outline_width"/>
     <prop v="MM" k="outline_width_unit"/>
     <prop v="solid" k="style"/>
     <data_defined_properties>
      <Option type="Map">
       <Option type="QString" value="" name="name"/>
       <Option name="properties"/>
       <Option type="QString" value="collection" name="type"/>
      </Option>
     </data_defined_properties>
    </layer>
   </symbol>
  </LayoutItem>
  <GuideCollection visible="1"/>
 </PageCollection>
 <LayoutItem zValue="8" blendMode="0" svgFillColor="255,255,255,255" itemRotation="0" type="65640" position="277.938,2.42978,mm" pictureHeight="11.1743" templateUuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" visibility="1" uuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" excludeFromExports="0" northMode="0" referencePoint="0" frameJoinStyle="miter" svgBorderColor="0,0,0,255" resizeMode="0" frame="false" id="指北针" northOffset="0" background="false" positionLock="true" size="10.4237,11.1743,mm" opacity="1" outlineWidthM="0.3,mm" positionOnPage="277.938,2.42978,mm" pictureWidth="8.85237" pictureRotation="0" groupUuid="" mode="0" file=":/images/north_arrows/layout_default_north_arrow.svg" anchorPoint="0" mapUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" svgBorderWidth="0.2">
  <FrameColor green="0" alpha="255" blue="0" red="0"/>
  <BackgroundColor green="255" alpha="255" blue="255" red="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option type="QString" value="" name="name"/>
     <Option name="properties"/>
     <Option type="QString" value="collection" name="type"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
 </LayoutItem>
 <LayoutItem zValue="8" blendMode="0" itemRotation="0" type="65641" position="212.337,195.29,mm" templateUuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" visibility="1" uuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" excludeFromExports="0" marginX="0" referencePoint="0" frameJoinStyle="miter" frame="false" id="公司" background="false" positionLock="false" size="76.0244,9.39831,mm" opacity="1" labelText="中国石油天然气管道工程有限公司" outlineWidthM="0.3,mm" positionOnPage="212.337,195.29,mm" halign="4" marginY="0" groupUuid="" htmlState="0" valign="128">
  <FrameColor green="0" alpha="255" blue="0" red="0"/>
  <BackgroundColor green="255" alpha="255" blue="255" red="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option type="QString" value="" name="name"/>
     <Option name="properties"/>
     <Option type="QString" value="collection" name="type"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
  <LabelFont style="常规" description="宋体,14,-1,5,50,0,0,0,0,0,常规"/>
  <FontColor green="0" alpha="255" blue="0" red="0"/>
 </LayoutItem>
 <LayoutItem zValue="7" blendMode="0" svgFillColor="255,255,255,255" itemRotation="0" type="65640" position="200.5,194.948,mm" pictureHeight="10.7409" templateUuid="{29298722-a58a-42f7-85d1-04564ad9366d}" visibility="1" uuid="{29298722-a58a-42f7-85d1-04564ad9366d}" excludeFromExports="0" northMode="0" referencePoint="0" frameJoinStyle="miter" svgBorderColor="0,0,0,255" resizeMode="0" frame="false" id="Logo" northOffset="0" background="false" positionLock="true" size="11.6809,10.7409,mm" opacity="1" outlineWidthM="0.3,mm" positionOnPage="200.5,194.948,mm" pictureWidth="10.7409" pictureRotation="0" groupUuid="" mode="1" file="E:\terrait\TianJin\ExportMap\ExportMap\Sources\logo.png" anchorPoint="0" mapUuid="" svgBorderWidth="0.2">
  <FrameColor green="0" alpha="255" blue="0" red="0"/>
  <BackgroundColor green="255" alpha="255" blue="255" red="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option type="QString" value="" name="name"/>
     <Option name="properties"/>
     <Option type="QString" value="collection" name="type"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
 </LayoutItem>
 <LayoutItem zValue="6" blendMode="0" itemRotation="0" hidePageIfEmpty="0" type="65647" multiFrame="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" position="242.194,161,mm" templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" visibility="1" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" excludeFromExports="0" sectionWidth="43.1968" referencePoint="0" sectionX="0" frameJoinStyle="miter" sectionHeight="25.6574" hideBackgroundIfEmpty="0" frame="false" id="说明" background="false" sectionY="0" positionLock="true" size="43.1968,25.6574,mm" opacity="1" outlineWidthM="0.3,mm" positionOnPage="242.194,161,mm" groupUuid="" multiFrameTemplateUuid="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}">
  <FrameColor green="0" alpha="255" blue="0" red="0"/>
  <BackgroundColor green="255" alpha="255" blue="255" red="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option type="QString" value="" name="name"/>
     <Option name="properties"/>
     <Option type="QString" value="collection" name="type"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
 </LayoutItem>
 <LayoutItem zValue="4" blendMode="0" itemRotation="0" type="65641" position="84.816,2.42978,mm" templateUuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" visibility="1" uuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" excludeFromExports="0" marginX="0" referencePoint="0" frameJoinStyle="miter" frame="false" id="标题" background="false" positionLock="true" size="129.364,11.1743,mm" opacity="1" labelText="管道基础大数据平台(DW1-1)" outlineWidthM="0.3,mm" positionOnPage="84.816,2.42978,mm" halign="4" marginY="0" groupUuid="" htmlState="0" valign="128">
  <FrameColor green="0" alpha="255" blue="0" red="0"/>
  <BackgroundColor green="255" alpha="255" blue="255" red="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option type="QString" value="" name="name"/>
     <Option name="properties"/>
     <Option type="QString" value="collection" name="type"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
  <LabelFont style="Bold" description="微软雅黑,24,-1,5,75,0,0,0,0,0,Bold"/>
  <FontColor green="0" alpha="255" blue="0" red="0"/>
 </LayoutItem>
 <LayoutItem itemRotation="0" wrapChar="" title="" positionOnPage="12.9877,152.005,mm" templateUuid="{52b0f928-714f-4672-bc0b-a13e401f8465}" columnCount="1" position="12.9877,152.005,mm" positionLock="true" frame="true" id="图例" blendMode="0" size="51.5396,34.6028,mm" rasterBorderWidth="0" resizeToContents="0" frameJoinStyle="round" opacity="1" boxSpace="2" uuid="{52b0f928-714f-4672-bc0b-a13e401f8465}" equalColumnWidth="0" background="true" maxSymbolSize="0" rasterBorder="1" excludeFromExports="0" fontColor="#000000" referencePoint="0" symbolHeight="4" wmsLegendWidth="50" wmsLegendHeight="25" outlineWidthM="0.1,mm" columnSpace="2" symbolWidth="7" minSymbolSize="0" symbolAlignment="1" zValue="3" rasterBorderColor="0,0,0,255" groupUuid="" visibility="1" type="65642" splitLayer="0" titleAlignment="1" legendFilterByAtlas="0" lineSpacing="1" map_uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}">
  <FrameColor green="0" alpha="255" blue="0" red="0"/>
  <BackgroundColor green="255" alpha="255" blue="255" red="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option type="QString" value="" name="name"/>
     <Option name="properties"/>
     <Option type="QString" value="collection" name="type"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
  <styles>
   <style marginBottom="3.5" name="title" alignment="1">
    <styleFont style="" description="SimSun,16,-1,5,50,0,0,0,0,0"/>
   </style>
   <style marginTop="3" name="group" alignment="1">
    <styleFont style="" description="SimSun,14,-1,5,50,0,0,0,0,0"/>
   </style>
   <style marginTop="3" name="subgroup" alignment="1">
    <styleFont style="" description="SimSun,12,-1,5,50,0,0,0,0,0"/>
   </style>
   <style marginTop="2.5" name="symbol" alignment="1">
    <styleFont style="" description="SimSun,9,-1,5,50,0,0,0,0,0"/>
   </style>
   <style marginTop="2" marginLeft="2" name="symbolLabel" alignment="1">
    <styleFont style="" description="SimSun,12,-1,5,50,0,0,0,0,0"/>
   </style>
  </styles>
  <layer-tree-group>
   <customproperties/>
   <layer-tree-group name="管道基础大数据平台" checked="Qt::Checked" expanded="1">
    <customproperties/>
    <layer-tree-layer legend_exp="" id="VALVEHOUSEPOINT_5d566d73_8061_447a_a9e3_3e7adad17bd7" source="./shps/VALVEHOUSEPOINT.shp" providerKey="ogr" legend_split_behavior="0" patch_size="-1,-1" name="阀室" checked="Qt::Checked" expanded="1">
     <customproperties/>
    </layer-tree-layer>
    <layer-tree-layer legend_exp="" id="SITEPOINT_484a52d0_7a8e_4f9e_9ad3_d940e10e24d3" source="./shps" providerKey="ogr" legend_split_behavior="0" patch_size="-1,-1" name="站场" checked="Qt::Checked" expanded="1">
     <customproperties/>
    </layer-tree-layer>
    <layer-tree-layer legend_exp="" id="STATIONSERIES_5bfe7f3c_86b2_4fda_bae4_c44a33ab33e0" source="./shps/STATIONSERIES.shp" providerKey="ogr" legend_split_behavior="0" patch_size="-1,-1" name="管道中心线" checked="Qt::Checked" expanded="1">
     <customproperties/>
    </layer-tree-layer>
   </layer-tree-group>
   <custom-order enabled="0"/>
  </layer-tree-group>
 </LayoutItem>
 <LayoutItem zValue="2" blendMode="0" itemRotation="0" type="65639" position="9,18,mm" templateUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" visibility="1" uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" excludeFromExports="0" referencePoint="0" frameJoinStyle="round" isTemporal="0" labelMargin="0,mm" mapFlags="0" frame="true" id="地图" background="true" keepLayerSet="false" positionLock="false" size="280,174,mm" opacity="1" outlineWidthM="4,px" positionOnPage="9,18,mm" followPresetName="" drawCanvasItems="false" groupUuid="" followPreset="false" mapRotation="0">
  <FrameColor green="0" alpha="255" blue="0" red="0"/>
  <BackgroundColor green="255" alpha="255" blue="255" red="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option type="QString" value="" name="name"/>
     <Option name="properties"/>
     <Option type="QString" value="collection" name="type"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
  <Extent ymax="64.11233836183852475" ymin="9.57730491702214692" xmin="59.05829972526095162" xmax="146.81582480887351494"/>
  <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>
    <proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
    <srsid>3452</srsid>
    <srid>4326</srid>
    <authid>EPSG:4326</authid>
    <description>WGS 84</description>
    <projectionacronym>longlat</projectionacronym>
    <ellipsoidacronym>EPSG:7030</ellipsoidacronym>
    <geographicflag>true</geographicflag>
   </spatialrefsys>
  </crs>
  <LayerSet/>
  <ComposerMapGrid rotatedTicksMinimumAngle="0" bottomFrameDivisions="0" rightAnnotationPosition="1" annotationFormat="4" intervalX="30" leftAnnotationPosition="1" bottomAnnotationPosition="1" annotationPrecision="3" position="3" offsetX="0" rotatedAnnotationsMinimumAngle="0" frameAnnotationDistance="1" rotatedTicksLengthMode="0" rightAnnotationDisplay="0" name="网格 1" rotatedAnnotationsMarginToCorner="0" blendMode="0" frameFillColor1="255,255,255,255" leftAnnotationDisplay="0" frameFillColor2="0,0,0,255" gridFramePenThickness="0.29999999999999999" topAnnotationPosition="1" uuid="{33b582a6-ae09-42c2-b50b-ae68c9d6d71a}" gridFrameMargin="0" leftFrameDivisions="0" bottomAnnotationDisplay="0" rotatedAnnotationsEnabled="0" gridFramePenColor="0,0,0,255" gridStyle="3" rotatedTicksEnabled="0" showAnnotation="1" gridFrameSideFlags="15" rotatedTicksMarginToCorner="0" rightAnnotationDirection="2" unit="1" rotatedAnnotationsLengthMode="0" crossLength="3" topAnnotationDisplay="0" topAnnotationDirection="0" rightFrameDivisions="0" offsetY="0" gridFrameWidth="2" intervalY="30" leftAnnotationDirection="2" maximumIntervalWidth="10" topFrameDivisions="0" annotationExpression="" gridFrameStyle="0" show="1" bottomAnnotationDirection="0" minimumIntervalWidth="12">
   <lineStyle>
    <symbol type="line" force_rhr="0" alpha="0.616" name="" clip_to_extent="1">
     <layer pass="0" class="SimpleLine" enabled="1" locked="0">
      <prop v="0" k="align_dash_pattern"/>
      <prop v="round" k="capstyle"/>
      <prop v="0.66;2" k="customdash"/>
      <prop v="3x:0,0,0,0,0,0" k="customdash_map_unit_scale"/>
      <prop v="MM" k="customdash_unit"/>
      <prop v="0" k="dash_pattern_offset"/>
      <prop v="3x:0,0,0,0,0,0" k="dash_pattern_offset_map_unit_scale"/>
      <prop v="MM" k="dash_pattern_offset_unit"/>
      <prop v="0" k="draw_inside_polygon"/>
      <prop v="round" k="joinstyle"/>
      <prop v="0,0,0,255" k="line_color"/>
      <prop v="solid" k="line_style"/>
      <prop v="0.5" k="line_width"/>
      <prop v="MM" k="line_width_unit"/>
      <prop v="0" k="offset"/>
      <prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
      <prop v="MM" k="offset_unit"/>
      <prop v="0" k="ring_filter"/>
      <prop v="0" k="tweak_dash_pattern_on_corners"/>
      <prop v="1" k="use_custom_dash"/>
      <prop v="3x:0,0,0,0,0,0" k="width_map_unit_scale"/>
      <data_defined_properties>
       <Option type="Map">
        <Option type="QString" value="" name="name"/>
        <Option name="properties"/>
        <Option type="QString" value="collection" name="type"/>
       </Option>
      </data_defined_properties>
     </layer>
    </symbol>
   </lineStyle>
   <markerStyle>
    <symbol type="marker" force_rhr="0" alpha="1" name="" clip_to_extent="1">
     <layer pass="0" class="SimpleMarker" enabled="1" locked="0">
      <prop v="0" k="angle"/>
      <prop v="0,0,0,255" k="color"/>
      <prop v="1" k="horizontal_anchor_point"/>
      <prop v="bevel" k="joinstyle"/>
      <prop v="circle" k="name"/>
      <prop v="0,0" k="offset"/>
      <prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
      <prop v="MM" k="offset_unit"/>
      <prop v="35,35,35,255" k="outline_color"/>
      <prop v="solid" k="outline_style"/>
      <prop v="0" k="outline_width"/>
      <prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/>
      <prop v="MM" k="outline_width_unit"/>
      <prop v="diameter" k="scale_method"/>
      <prop v="2" k="size"/>
      <prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/>
      <prop v="MM" k="size_unit"/>
      <prop v="1" k="vertical_anchor_point"/>
      <data_defined_properties>
       <Option type="Map">
        <Option type="QString" value="" name="name"/>
        <Option name="properties"/>
        <Option type="QString" value="collection" name="type"/>
       </Option>
      </data_defined_properties>
     </layer>
    </symbol>
   </markerStyle>
   <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>
    <proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
    <srsid>3452</srsid>
    <srid>4326</srid>
    <authid>EPSG:4326</authid>
    <description>WGS 84</description>
    <projectionacronym>longlat</projectionacronym>
    <ellipsoidacronym>EPSG:7030</ellipsoidacronym>
    <geographicflag>true</geographicflag>
   </spatialrefsys>
   <text-style capitalization="0" blendMode="0" fontKerning="1" previewBkgrdColor="255,255,255,255" multilineHeight="1" fontItalic="0" fontLetterSpacing="0" fontWordSpacing="0" allowHtml="0" fontUnderline="0" textOpacity="1" fontFamily="SimSun" fontWeight="50" textOrientation="horizontal" textColor="0,0,0,255" fontSizeUnit="Point" fontSize="8" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontStrikeout="0" namedStyle="">
    <text-buffer bufferSizeUnits="MM" bufferOpacity="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferBlendMode="0" bufferNoFill="1" bufferJoinStyle="128" bufferColor="255,255,255,255" bufferSize="1" bufferDraw="0"/>
    <text-mask maskSize="1.5" maskOpacity="1" maskEnabled="0" maskedSymbolLayers="" maskJoinStyle="128" maskSizeUnits="MM" maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskType="0"/>
    <background shapeRadiiUnit="MM" shapeSizeUnit="MM" shapeJoinStyle="64" shapeOffsetUnit="MM" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeX="0" shapeFillColor="255,255,255,255" shapeOffsetY="0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeOpacity="1" shapeBorderWidthUnit="MM" shapeBorderColor="128,128,128,255" shapeRadiiX="0" shapeRadiiY="0" shapeDraw="0" shapeRotation="0" shapeSizeY="0" shapeOffsetX="0" shapeBlendMode="0" shapeType="0" shapeSVGFile="" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeRotationType="0" shapeSizeType="0" shapeBorderWidth="0">
     <symbol type="marker" force_rhr="0" alpha="1" name="markerSymbol" clip_to_extent="1">
      <layer pass="0" class="SimpleMarker" enabled="1" locked="0">
       <prop v="0" k="angle"/>
       <prop v="231,113,72,255" k="color"/>
       <prop v="1" k="horizontal_anchor_point"/>
       <prop v="bevel" k="joinstyle"/>
       <prop v="circle" k="name"/>
       <prop v="0,0" k="offset"/>
       <prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
       <prop v="MM" k="offset_unit"/>
       <prop v="35,35,35,255" k="outline_color"/>
       <prop v="solid" k="outline_style"/>
       <prop v="0" k="outline_width"/>
       <prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/>
       <prop v="MM" k="outline_width_unit"/>
       <prop v="diameter" k="scale_method"/>
       <prop v="2" k="size"/>
       <prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/>
       <prop v="MM" k="size_unit"/>
       <prop v="1" k="vertical_anchor_point"/>
       <data_defined_properties>
        <Option type="Map">
         <Option type="QString" value="" name="name"/>
         <Option name="properties"/>
         <Option type="QString" value="collection" name="type"/>
        </Option>
       </data_defined_properties>
      </layer>
     </symbol>
    </background>
    <shadow shadowRadius="1.5" shadowOffsetUnit="MM" shadowUnder="0" shadowOffsetDist="1" shadowScale="100" shadowDraw="0" shadowRadiusAlphaOnly="0" shadowBlendMode="6" shadowOffsetGlobal="1" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOpacity="0.7" shadowColor="0,0,0,255" shadowOffsetAngle="135" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadiusUnit="MM"/>
    <dd_properties>
     <Option type="Map">
      <Option type="QString" value="" name="name"/>
      <Option name="properties"/>
      <Option type="QString" value="collection" name="type"/>
     </Option>
    </dd_properties>
   </text-style>
   <LayoutObject>
    <dataDefinedProperties>
     <Option type="Map">
      <Option type="QString" value="" name="name"/>
      <Option name="properties"/>
      <Option type="QString" value="collection" name="type"/>
     </Option>
    </dataDefinedProperties>
    <customproperties/>
   </LayoutObject>
  </ComposerMapGrid>
  <AtlasMap margin="0.10000000000000001" scalingMode="2" atlasDriven="0"/>
  <labelBlockingItems/>
  <atlasClippingSettings enabled="0" forceLabelsInside="0" clippingType="1" restrictLayers="0">
   <layersToClip/>
  </atlasClippingSettings>
  <itemClippingSettings clipSource="" enabled="0" forceLabelsInside="0" clippingType="1"/>
 </LayoutItem>
 <LayoutItem zValue="1" blendMode="0" itemRotation="0" type="65643" position="2.6816,2,mm" templateUuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" visibility="1" uuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" excludeFromExports="0" referencePoint="0" frameJoinStyle="miter" frame="false" id="边框" background="false" cornerRadiusMeasure="0,mm" positionLock="true" size="292.354,205.447,mm" opacity="1" outlineWidthM="0.3,mm" positionOnPage="2.6816,2,mm" groupUuid="" shapeType="1">
  <FrameColor green="0" alpha="255" blue="0" red="0"/>
  <BackgroundColor green="255" alpha="255" blue="255" red="255"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option type="QString" value="" name="name"/>
     <Option name="properties"/>
     <Option type="QString" value="collection" name="type"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
  <symbol type="fill" force_rhr="0" alpha="1" name="" clip_to_extent="1">
   <layer pass="0" class="SimpleLine" enabled="1" locked="0">
    <prop v="0" k="align_dash_pattern"/>
    <prop v="square" k="capstyle"/>
    <prop v="5;2" k="customdash"/>
    <prop v="3x:0,0,0,0,0,0" k="customdash_map_unit_scale"/>
    <prop v="Pixel" k="customdash_unit"/>
    <prop v="0" k="dash_pattern_offset"/>
    <prop v="3x:0,0,0,0,0,0" k="dash_pattern_offset_map_unit_scale"/>
    <prop v="MM" k="dash_pattern_offset_unit"/>
    <prop v="0" k="draw_inside_polygon"/>
    <prop v="bevel" k="joinstyle"/>
    <prop v="53,121,177,255" k="line_color"/>
    <prop v="solid" k="line_style"/>
    <prop v="0.96" k="line_width"/>
    <prop v="Pixel" k="line_width_unit"/>
    <prop v="0" k="offset"/>
    <prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
    <prop v="Pixel" k="offset_unit"/>
    <prop v="0" k="ring_filter"/>
    <prop v="0" k="tweak_dash_pattern_on_corners"/>
    <prop v="0" k="use_custom_dash"/>
    <prop v="3x:0,0,0,0,0,0" k="width_map_unit_scale"/>
    <data_defined_properties>
     <Option type="Map">
      <Option type="QString" value="" name="name"/>
      <Option name="properties"/>
      <Option type="QString" value="collection" name="type"/>
     </Option>
    </data_defined_properties>
   </layer>
  </symbol>
 </LayoutItem>
 <LayoutMultiFrame cellMargin="1" type="65652" verticalGrid="1" templateUuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" headerMode="2" emptyTableMode="0" uuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" horizontalGrid="1" resizeMode="0" includeHeader="0" gridColor="0,0,0,255" backgroundColor="255,255,255,255" wrapBehavior="0" emptyTableMessage="" showEmptyRows="0" headerHAlignment="0" gridStrokeWidth="0.5" showGrid="0" id="MultiFrame">
  <childFrame uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}"/>
  <LayoutObject>
   <dataDefinedProperties>
    <Option type="Map">
     <Option type="QString" value="" name="name"/>
     <Option name="properties"/>
     <Option type="QString" value="collection" name="type"/>
    </Option>
   </dataDefinedProperties>
   <customproperties/>
  </LayoutObject>
  <headerTextFormat>
   <text-style capitalization="0" blendMode="0" fontKerning="1" previewBkgrdColor="255,255,255,255" multilineHeight="1" fontItalic="0" fontLetterSpacing="0" fontWordSpacing="0" allowHtml="0" fontUnderline="0" textOpacity="1" fontFamily="SimSun" fontWeight="50" textOrientation="horizontal" textColor="0,0,0,255" fontSizeUnit="Point" fontSize="10" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontStrikeout="0" namedStyle="">
    <text-buffer bufferSizeUnits="MM" bufferOpacity="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferBlendMode="0" bufferNoFill="1" bufferJoinStyle="128" bufferColor="255,255,255,255" bufferSize="1" bufferDraw="0"/>
    <text-mask maskSize="1.5" maskOpacity="1" maskEnabled="0" maskedSymbolLayers="" maskJoinStyle="128" maskSizeUnits="MM" maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskType="0"/>
    <background shapeRadiiUnit="MM" shapeSizeUnit="MM" shapeJoinStyle="64" shapeOffsetUnit="MM" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeX="0" shapeFillColor="255,255,255,255" shapeOffsetY="0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeOpacity="1" shapeBorderWidthUnit="MM" shapeBorderColor="128,128,128,255" shapeRadiiX="0" shapeRadiiY="0" shapeDraw="0" shapeRotation="0" shapeSizeY="0" shapeOffsetX="0" shapeBlendMode="0" shapeType="0" shapeSVGFile="" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeRotationType="0" shapeSizeType="0" shapeBorderWidth="0"/>
    <shadow shadowRadius="1.5" shadowOffsetUnit="MM" shadowUnder="0" shadowOffsetDist="1" shadowScale="100" shadowDraw="0" shadowRadiusAlphaOnly="0" shadowBlendMode="6" shadowOffsetGlobal="1" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOpacity="0.7" shadowColor="0,0,0,255" shadowOffsetAngle="135" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadiusUnit="MM"/>
    <dd_properties>
     <Option type="Map">
      <Option type="QString" value="" name="name"/>
      <Option name="properties"/>
      <Option type="QString" value="collection" name="type"/>
     </Option>
    </dd_properties>
   </text-style>
  </headerTextFormat>
  <contentTextFormat>
   <text-style capitalization="0" blendMode="0" fontKerning="1" previewBkgrdColor="255,255,255,255" multilineHeight="1" fontItalic="0" fontLetterSpacing="0" fontWordSpacing="0" allowHtml="0" fontUnderline="0" textOpacity="1" fontFamily="SimSun" fontWeight="50" textOrientation="horizontal" textColor="0,0,0,255" fontSizeUnit="Point" fontSize="10" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontStrikeout="0" namedStyle="">
    <text-buffer bufferSizeUnits="MM" bufferOpacity="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferBlendMode="0" bufferNoFill="1" bufferJoinStyle="128" bufferColor="255,255,255,255" bufferSize="1" bufferDraw="0"/>
    <text-mask maskSize="1.5" maskOpacity="1" maskEnabled="0" maskedSymbolLayers="" maskJoinStyle="128" maskSizeUnits="MM" maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskType="0"/>
    <background shapeRadiiUnit="MM" shapeSizeUnit="MM" shapeJoinStyle="64" shapeOffsetUnit="MM" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeX="0" shapeFillColor="255,255,255,255" shapeOffsetY="0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeOpacity="1" shapeBorderWidthUnit="MM" shapeBorderColor="128,128,128,255" shapeRadiiX="0" shapeRadiiY="0" shapeDraw="0" shapeRotation="0" shapeSizeY="0" shapeOffsetX="0" shapeBlendMode="0" shapeType="0" shapeSVGFile="" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeRotationType="0" shapeSizeType="0" shapeBorderWidth="0"/>
    <shadow shadowRadius="1.5" shadowOffsetUnit="MM" shadowUnder="0" shadowOffsetDist="1" shadowScale="100" shadowDraw="0" shadowRadiusAlphaOnly="0" shadowBlendMode="6" shadowOffsetGlobal="1" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOpacity="0.7" shadowColor="0,0,0,255" shadowOffsetAngle="135" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadiusUnit="MM"/>
    <dd_properties>
     <Option type="Map">
      <Option type="QString" value="" name="name"/>
      <Option name="properties"/>
      <Option type="QString" value="collection" name="type"/>
     </Option>
    </dd_properties>
   </text-style>
  </contentTextFormat>
  <displayColumns>
   <column hAlignment="1" vAlignment="128" heading="" sortByRank="0" attribute="" sortOrder="0" width="0">
    <backgroundColor green="0" alpha="0" blue="0" red="0"/>
   </column>
   <column hAlignment="1" vAlignment="128" heading="说明" sortByRank="0" attribute="" sortOrder="0" width="0">
    <backgroundColor green="0" alpha="0" blue="0" red="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"/>
  </cellStyles>
  <headers>
   <header hAlignment="1" vAlignment="128" heading="" sortByRank="0" attribute="" sortOrder="0" width="0">
    <backgroundColor green="0" alpha="0" blue="0" red="0"/>
   </header>
   <header hAlignment="1" vAlignment="128" heading="说明" sortByRank="0" attribute="" sortOrder="0" width="0">
    <backgroundColor green="0" alpha="0" blue="0" red="0"/>
   </header>
  </headers>
  <contents>
   <row>
    <Option type="Map">
     <Option type="color" value="" name="background"/>
     <Option type="QString" value="说" name="content"/>
     <Option type="color" value="" name="foreground"/>
     <Option type="int" value="2" name="halign"/>
     <Option type="int" value="0" name="valign"/>
    </Option>
    <Option type="Map">
     <Option type="color" value="" name="background"/>
     <Option type="QString" value="明" name="content"/>
     <Option type="color" value="" name="foreground"/>
     <Option type="int" value="0" name="halign"/>
     <Option type="int" value="0" name="valign"/>
    </Option>
   </row>
   <row>
    <Option type="Map">
     <Option type="color" value="" name="background"/>
     <Option type="QString" value="省份:" name="content"/>
     <Option type="color" value="" name="foreground"/>
     <Option type="int" value="2" name="halign"/>
     <Option type="int" value="128" name="valign"/>
    </Option>
    <Option type="Map">
     <Option type="color" value="" name="background"/>
     <Option type="QString" value="河北省" name="content"/>
     <Option type="color" value="" name="foreground"/>
     <Option type="int" value="1" name="halign"/>
     <Option type="int" value="128" name="valign"/>
    </Option>
   </row>
   <row>
    <Option type="Map">
     <Option type="color" value="" name="background"/>
     <Option type="QString" value="比例尺:" name="content"/>
     <Option type="color" value="" name="foreground"/>
     <Option type="int" value="2" name="halign"/>
     <Option type="int" value="128" name="valign"/>
    </Option>
    <Option type="Map">
     <Option type="color" value="" name="background"/>
     <Option type="QString" value="1:25万" name="content"/>
     <Option type="color" value="" name="foreground"/>
     <Option type="int" value="1" name="halign"/>
     <Option type="int" value="128" name="valign"/>
    </Option>
   </row>
   <row>
    <Option type="Map">
     <Option type="color" value="" name="background"/>
     <Option type="QString" value="影像分辨率:" name="content"/>
     <Option type="color" value="" name="foreground"/>
     <Option type="int" value="0" name="halign"/>
     <Option type="int" value="0" name="valign"/>
    </Option>
    <Option type="Map">
     <Option type="color" value="" name="background"/>
     <Option type="QString" value="20ç±³" name="content"/>
     <Option type="color" value="" name="foreground"/>
     <Option type="int" value="0" name="halign"/>
     <Option type="int" value="0" name="valign"/>
    </Option>
   </row>
   <row>
    <Option type="Map">
     <Option type="color" value="" name="background"/>
     <Option type="QString" value="制图时间:" name="content"/>
     <Option type="color" value="" name="foreground"/>
     <Option type="int" value="2" name="halign"/>
     <Option type="int" value="0" name="valign"/>
    </Option>
    <Option type="Map">
     <Option type="color" value="" name="background"/>
     <Option type="QString" value="2022.11.06" name="content"/>
     <Option type="color" value="" name="foreground"/>
     <Option type="int" value="0" name="halign"/>
     <Option type="int" value="0" name="valign"/>
    </Option>
   </row>
  </contents>
  <rowHeights>
   <row height="0"/>
   <row height="0"/>
   <row height="0"/>
   <row height="0"/>
   <row height="0"/>
  </rowHeights>
  <columnWidths>
   <column width="0"/>
   <column width="0"/>
  </columnWidths>
 </LayoutMultiFrame>
 <customproperties>
  <property key="atlasRasterFormat" value="png"/>
  <property key="imageAntialias" value="true"/>
  <property key="imageCropMarginBottom" value="0"/>
  <property key="imageCropMarginLeft" value="0"/>
  <property key="imageCropMarginRight" value="0"/>
  <property key="imageCropMarginTop" value="0"/>
  <property key="imageCropToContents" value="false"/>
  <property key="singleFile" value="true"/>
  <property key="layers" value="阀室,管道中心线,影像图"/>
  <property key="imgPath" value="E:\terrait\TianJin\ExportMap\ExportMap\Sources\Test.png"/>
 </customproperties>
 <Atlas pageNameExpression="" sortFeatures="0" enabled="0" hideCoverage="0" filterFeatures="0" coverageLayer="" filenamePattern="'output_'||@atlas_featurenumber"/>
</Layout>
ExportMap/Sources/render.py
@@ -22,8 +22,8 @@
    print("argv = ", sys.argv[1:])
    parser = argparse.ArgumentParser(description='ArgUtils')
    parser.add_argument("-src", type=str, default=get_full_path(), required=False)
    parser.add_argument("-qgz", type=str, default="LF.qgz", required=False)
    parser.add_argument("-qpt", type=str, default="LF.qpt", required=False)
    parser.add_argument("-qgz", type=str, default="Test.qgz", required=False)
    parser.add_argument("-qpt", type=str, default="Test.qpt", required=False)
    return parser.parse_args()
@@ -83,7 +83,14 @@
# map = layout.itemById(r'地图')
map = layout.referenceMap()
map.zoomToExtent(map.extent())
print('1:' + str(math.ceil(map.scale())))
scale = '1:' + str(math.ceil(map.scale() / 100) * 100)
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")
@@ -99,13 +106,21 @@
# set_layers_valid(project, showLayers)
set_item_visibility(root, showLayers)
# sm = layout.itemById(r'说明')
table = layout.multiFrames()[0]
contents = table.tableContents()
contents[1][1] = scale
table.refreshAttributes()
table.refresh()
# collection = layout.pageCollection()
# page = collection.page(0)
# page.refreshItemSize()
# åˆ·æ–°
map.refresh()
layout.updateBounds()
# layout.updateBounds()
layout.renderContext()
layout.refresh()
# å¯¼å‡º
ExportMap/Sources/˵Ã÷.txt
@@ -1,4 +1,8 @@
================================================================================ QGIS环境配置
<qgis._core.QgsLayoutItemManualTable object at 0x000002B94F08C948>
<qgis._core.QgsLayout object at 0x000002271A92A678>
<qgis._core.QgsLayoutItemMap object at 0x000002342B4BE828>
================================================================================ QGIS环境配置
1.path è®¾ç½®ï¼š
C:\Program Files\QGIS 3.16\apps\Python37;
C:\Program Files\QGIS 3.16\bin;