From 00700f5ef12d33da898e9b4391aa5b4a09828ee3 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 10 十一月 2022 10:16:53 +0800 Subject: [PATCH] 1 --- ExportMap/cs/ExportUtil.cs | 56 ++ ExportMap/Sources/Template.qpt | 590 +++++++++++++------------- ExportMap/Controllers/ExportController.cs | 9 ExportMap/Sources/Test.qpt | 554 ++++++++++++------------ ExportMap/Sources/Test.qgz | 0 ExportMap/Sources/render.py | 8 ExportMap/Test.html | 29 ExportMap/cs/Tool.cs | 40 - 8 files changed, 643 insertions(+), 643 deletions(-) diff --git a/ExportMap/Controllers/ExportController.cs b/ExportMap/Controllers/ExportController.cs index bd0ca0c..b7c6cc6 100644 --- a/ExportMap/Controllers/ExportController.cs +++ b/ExportMap/Controllers/ExportController.cs @@ -1,4 +1,5 @@ -锘縰sing LFServer.Models; +锘縰sing LFServer.cs; +using LFServer.Models; using System; using System.Collections.Generic; using System.Linq; @@ -11,16 +12,16 @@ public class ExportController : ApiController { [HttpPost] - public void Start([FromBody]ExportArgs args) + public string Start([FromBody]ExportArgs args) { if (args == null || string.IsNullOrWhiteSpace(args.layers)|| (args.xmin == 0 && args.ymin == 0 && args.xmax == 0 && args.ymax == 0)) { - return; + return null; } - args.SetDefault(); + return ExportUtil.Generate(args); } } } diff --git a/ExportMap/Sources/Template.qpt b/ExportMap/Sources/Template.qpt index 30dd650..a7df8c7 100644 --- a/ExportMap/Sources/Template.qpt +++ b/ExportMap/Sources/Template.qpt @@ -1,60 +1,60 @@ -<Layout units="mm" name="Template" printResolution="300" worldFileMap="{4e649c5d-cabe-431f-a385-d69809d87ebf}"> - <Snapper snapToItems="1" tolerance="5" snapToGrid="0" snapToGuides="1"/> - <Grid resolution="10" offsetY="0" offsetUnits="mm" resUnits="mm" offsetX="0"/> +<Layout worldFileMap="{4e649c5d-cabe-431f-a385-d69809d87ebf}" name="Template" printResolution="300" units="mm"> + <Snapper tolerance="5" snapToGrid="0" snapToGuides="1" snapToItems="1"/> + <Grid resUnits="mm" offsetY="0" offsetUnits="mm" resolution="10" offsetX="0"/> <PageCollection> - <symbol name="" clip_to_extent="1" force_rhr="0" type="fill" alpha="1"> - <layer class="SimpleFill" enabled="1" pass="0" 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"/> + <symbol alpha="1" name="" type="fill" clip_to_extent="1" force_rhr="0"> + <layer class="SimpleFill" locked="0" enabled="1" pass="0"> + <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"/> + <prop k="offset" v="0,0"/> + <prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="offset_unit" v="MM"/> + <prop k="outline_color" v="35,35,35,255"/> + <prop k="outline_style" v="no"/> + <prop k="outline_width" v="0.26"/> + <prop k="outline_width_unit" v="MM"/> + <prop k="style" v="solid"/> <data_defined_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </data_defined_properties> </layer> </symbol> - <LayoutItem templateUuid="{72530018-3d33-4843-b661-79580c9b15e3}" excludeFromExports="0" id="" background="true" blendMode="0" zValue="0" positionLock="false" visibility="1" type="65638" frameJoinStyle="miter" uuid="{72530018-3d33-4843-b661-79580c9b15e3}" frame="false" position="0,0,mm" outlineWidthM="0.3,mm" itemRotation="0" groupUuid="" positionOnPage="0,0,mm" size="297,210,mm" referencePoint="0" opacity="1"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem excludeFromExports="0" itemRotation="0" background="true" frame="false" uuid="{72530018-3d33-4843-b661-79580c9b15e3}" referencePoint="0" positionLock="false" size="297,210,mm" zValue="0" opacity="1" id="" visibility="1" blendMode="0" groupUuid="" outlineWidthM="0.3,mm" frameJoinStyle="miter" positionOnPage="0,0,mm" templateUuid="{72530018-3d33-4843-b661-79580c9b15e3}" type="65638" position="0,0,mm"> + <FrameColor alpha="255" green="0" blue="0" red="0"/> + <BackgroundColor alpha="255" green="255" blue="255" red="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> - <symbol name="" clip_to_extent="1" force_rhr="0" type="fill" alpha="1"> - <layer class="SimpleFill" enabled="1" pass="0" 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"/> + <symbol alpha="1" name="" type="fill" clip_to_extent="1" force_rhr="0"> + <layer class="SimpleFill" locked="0" enabled="1" pass="0"> + <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"/> + <prop k="offset" v="0,0"/> + <prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="offset_unit" v="MM"/> + <prop k="outline_color" v="35,35,35,255"/> + <prop k="outline_style" v="no"/> + <prop k="outline_width" v="0.26"/> + <prop k="outline_width_unit" v="MM"/> + <prop k="style" v="solid"/> <data_defined_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </data_defined_properties> </layer> @@ -62,145 +62,141 @@ </LayoutItem> <GuideCollection visible="1"/> </PageCollection> - <LayoutItem templateUuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" excludeFromExports="0" id="鍏徃" marginY="0" background="false" labelText="涓浗鐭虫补澶╃劧姘旂閬撳伐绋嬫湁闄愬叕鍙�" blendMode="0" halign="4" zValue="8" positionLock="true" visibility="1" type="65641" frameJoinStyle="miter" uuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" frame="false" position="212.337,195.29,mm" htmlState="0" outlineWidthM="0.3,mm" itemRotation="0" groupUuid="" positionOnPage="212.337,195.29,mm" size="76.0244,9.39831,mm" referencePoint="0" opacity="1" marginX="0" valign="128"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem pictureWidth="8.85237" svgBorderWidth="0.2" excludeFromExports="0" itemRotation="0" mode="0" background="false" frame="false" uuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" referencePoint="0" positionLock="true" mapUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" size="10.4237,11.1743,mm" zValue="8" pictureRotation="0" opacity="1" id="鎸囧寳閽�" resizeMode="0" northMode="0" visibility="1" blendMode="0" groupUuid="" file=":/images/north_arrows/layout_default_north_arrow.svg" outlineWidthM="0.3,mm" frameJoinStyle="miter" anchorPoint="0" positionOnPage="277.938,2.42978,mm" svgBorderColor="0,0,0,255" templateUuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" svgFillColor="255,255,255,255" pictureHeight="11.1743" type="65640" northOffset="0" position="277.938,2.42978,mm"> + <FrameColor alpha="255" green="0" blue="0" red="0"/> + <BackgroundColor alpha="255" green="255" blue="255" red="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> + </Option> + </dataDefinedProperties> + <customproperties/> + </LayoutObject> + </LayoutItem> + <LayoutItem halign="4" excludeFromExports="0" itemRotation="0" background="false" frame="false" uuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" referencePoint="0" positionLock="true" size="76.0244,9.39831,mm" zValue="8" opacity="1" id="鍏徃" visibility="1" blendMode="0" labelText="涓浗鐭虫补澶╃劧姘旂閬撳伐绋嬫湁闄愬叕鍙�" marginY="0" groupUuid="" htmlState="0" outlineWidthM="0.3,mm" marginX="0" frameJoinStyle="miter" positionOnPage="212.337,195.29,mm" templateUuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" valign="128" type="65641" position="212.337,195.29,mm"> + <FrameColor alpha="255" green="0" blue="0" red="0"/> + <BackgroundColor alpha="255" green="255" blue="255" red="255"/> + <LayoutObject> + <dataDefinedProperties> + <Option type="Map"> + <Option name="name" value="" type="QString"/> + <Option name="properties"/> + <Option name="type" value="collection" type="QString"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> <LabelFont style="甯歌" description="瀹嬩綋,14,-1,5,50,0,0,0,0,0,甯歌"/> - <FontColor blue="0" green="0" red="0" alpha="255"/> + <FontColor alpha="255" green="0" blue="0" red="0"/> </LayoutItem> - <LayoutItem templateUuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" excludeFromExports="0" id="鎸囧寳閽�" background="false" pictureRotation="0" svgBorderWidth="0.2" blendMode="0" zValue="8" positionLock="true" visibility="1" type="65640" frameJoinStyle="miter" file=":/images/north_arrows/layout_default_north_arrow.svg" mode="0" uuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" frame="false" resizeMode="0" northMode="0" position="277.938,2.42978,mm" northOffset="0" outlineWidthM="0.3,mm" pictureWidth="8.85237" mapUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" itemRotation="0" groupUuid="" positionOnPage="277.938,2.42978,mm" anchorPoint="0" svgFillColor="255,255,255,255" pictureHeight="11.1743" svgBorderColor="0,0,0,255" size="10.4237,11.1743,mm" referencePoint="0" opacity="1"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem pictureWidth="11.4207" svgBorderWidth="0.2" excludeFromExports="0" itemRotation="0" mode="1" background="false" frame="false" uuid="{29298722-a58a-42f7-85d1-04564ad9366d}" referencePoint="0" positionLock="true" mapUuid="" size="11.6809,10.7409,mm" zValue="7" pictureRotation="0" opacity="1" id="Logo" resizeMode="0" northMode="0" visibility="1" blendMode="0" groupUuid="" file="./logo.png" outlineWidthM="0.3,mm" frameJoinStyle="miter" anchorPoint="0" positionOnPage="200.5,194.948,mm" svgBorderColor="0,0,0,255" templateUuid="{29298722-a58a-42f7-85d1-04564ad9366d}" svgFillColor="255,255,255,255" pictureHeight="10.7409" type="65640" northOffset="0" position="200.5,194.948,mm"> + <FrameColor alpha="255" green="0" blue="0" red="0"/> + <BackgroundColor alpha="255" green="255" blue="255" red="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> </LayoutItem> - <LayoutItem templateUuid="{29298722-a58a-42f7-85d1-04564ad9366d}" excludeFromExports="0" id="Logo" background="false" pictureRotation="0" svgBorderWidth="0.2" blendMode="0" zValue="7" positionLock="true" visibility="1" type="65640" frameJoinStyle="miter" file="../../../CPPE/CPPE/imgs/logo.png" mode="1" uuid="{29298722-a58a-42f7-85d1-04564ad9366d}" frame="false" resizeMode="0" northMode="0" position="200.5,194.948,mm" northOffset="0" outlineWidthM="0.3,mm" pictureWidth="11.4207" mapUuid="" itemRotation="0" groupUuid="" positionOnPage="200.5,194.948,mm" anchorPoint="0" svgFillColor="255,255,255,255" pictureHeight="10.7409" svgBorderColor="0,0,0,255" size="11.6809,10.7409,mm" referencePoint="0" 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}" excludeFromExports="0" itemRotation="0" background="false" frame="false" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" sectionY="0" referencePoint="0" positionLock="true" size="43.1968,25.6574,mm" zValue="6" opacity="1" id="璇存槑" visibility="1" blendMode="0" groupUuid="" hidePageIfEmpty="0" outlineWidthM="0.3,mm" hideBackgroundIfEmpty="0" frameJoinStyle="miter" positionOnPage="242.194,161,mm" sectionX="0" sectionHeight="25.6574" templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" sectionWidth="43.1968" type="65647" position="242.194,161,mm" multiFrame="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}"> + <FrameColor alpha="255" green="0" blue="0" red="0"/> + <BackgroundColor alpha="255" green="255" blue="255" red="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> </LayoutItem> - <LayoutItem templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" excludeFromExports="0" sectionWidth="43.1968" id="璇存槑" multiFrameTemplateUuid="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" background="false" blendMode="0" zValue="6" hidePageIfEmpty="0" positionLock="true" visibility="1" type="65647" frameJoinStyle="miter" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" sectionHeight="25.6574" frame="false" position="242.194,161,mm" outlineWidthM="0.3,mm" sectionX="0" itemRotation="0" groupUuid="" positionOnPage="242.194,161,mm" sectionY="0" hideBackgroundIfEmpty="0" multiFrame="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" size="43.1968,25.6574,mm" referencePoint="0" opacity="1"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem halign="4" excludeFromExports="0" itemRotation="0" background="false" frame="false" uuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" referencePoint="0" positionLock="true" size="129.364,11.1743,mm" zValue="4" opacity="1" id="鏍囬" visibility="1" blendMode="0" labelText="绠¢亾鍩虹澶ф暟鎹钩鍙帮紙DW1-1锛�" marginY="0" groupUuid="" htmlState="0" outlineWidthM="0.3,mm" marginX="0" frameJoinStyle="miter" positionOnPage="84.816,2.42978,mm" templateUuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" valign="128" type="65641" position="84.816,2.42978,mm"> + <FrameColor alpha="255" green="0" blue="0" red="0"/> + <BackgroundColor alpha="255" green="255" blue="255" red="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> - </Option> - </dataDefinedProperties> - <customproperties/> - </LayoutObject> - </LayoutItem> - <LayoutItem templateUuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" excludeFromExports="0" id="鏍囬" marginY="0" background="false" labelText="绠¢亾鍩虹澶ф暟鎹钩鍙帮紙DW1-1锛�" blendMode="0" halign="4" zValue="4" positionLock="true" visibility="1" type="65641" frameJoinStyle="miter" uuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" frame="false" position="84.816,2.42978,mm" htmlState="0" outlineWidthM="0.3,mm" itemRotation="0" groupUuid="" positionOnPage="84.816,2.42978,mm" size="129.364,11.1743,mm" referencePoint="0" opacity="1" marginX="0" valign="128"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> - <LayoutObject> - <dataDefinedProperties> - <Option type="Map"> - <Option name="name" type="QString" value=""/> - <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> <LabelFont style="Bold" description="寰蒋闆呴粦,24,-1,5,75,0,0,0,0,0,Bold"/> - <FontColor blue="0" green="0" red="0" alpha="255"/> + <FontColor alpha="255" green="0" blue="0" red="0"/> </LayoutItem> - <LayoutItem background="true" groupUuid="" rasterBorderColor="0,0,0,255" symbolWidth="7" referencePoint="0" opacity="1" lineSpacing="1" frame="true" templateUuid="{52b0f928-714f-4672-bc0b-a13e401f8465}" blendMode="0" minSymbolSize="0" legendFilterByAtlas="0" visibility="1" wmsLegendHeight="25" rasterBorderWidth="0" title="" splitLayer="0" itemRotation="0" fontColor="#000000" symbolHeight="4" type="65642" equalColumnWidth="0" size="51.5396,34.6028,mm" symbolAlignment="1" boxSpace="2" frameJoinStyle="round" rasterBorder="1" columnSpace="2" map_uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" positionLock="false" uuid="{52b0f928-714f-4672-bc0b-a13e401f8465}" maxSymbolSize="0" outlineWidthM="0.1,mm" resizeToContents="0" excludeFromExports="0" id="鍥句緥" wrapChar="" columnCount="1" zValue="3" titleAlignment="1" position="12.9877,152.005,mm" positionOnPage="12.9877,152.005,mm" wmsLegendWidth="50"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem symbolWidth="7" minSymbolSize="0" wmsLegendHeight="25" lineSpacing="1" positionOnPage="12.9877,152.005,mm" rasterBorder="1" outlineWidthM="0.1,mm" templateUuid="{52b0f928-714f-4672-bc0b-a13e401f8465}" groupUuid="" background="true" position="12.9877,152.005,mm" columnCount="1" map_uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" rasterBorderColor="0,0,0,255" rasterBorderWidth="0" zValue="3" wrapChar="" type="65642" itemRotation="0" maxSymbolSize="0" equalColumnWidth="0" visibility="1" columnSpace="2" frameJoinStyle="round" resizeToContents="0" title="" excludeFromExports="0" frame="true" referencePoint="0" titleAlignment="1" splitLayer="0" positionLock="true" opacity="1" symbolAlignment="1" symbolHeight="4" uuid="{52b0f928-714f-4672-bc0b-a13e401f8465}" size="51.5396,34.6028,mm" boxSpace="2" legendFilterByAtlas="0" blendMode="0" wmsLegendWidth="50" fontColor="#000000" id="鍥句緥"> + <FrameColor alpha="255" green="0" blue="0" red="0"/> + <BackgroundColor alpha="255" green="255" blue="255" red="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> <styles> - <style name="title" alignment="1" marginBottom="3.5"> + <style alignment="1" name="title" marginBottom="3.5"> <styleFont style="" description="SimSun,16,-1,5,50,0,0,0,0,0"/> </style> - <style name="group" alignment="1" marginTop="3"> + <style alignment="1" name="group" marginTop="3"> <styleFont style="" description="SimSun,14,-1,5,50,0,0,0,0,0"/> </style> - <style name="subgroup" alignment="1" marginTop="3"> + <style alignment="1" name="subgroup" marginTop="3"> <styleFont style="" description="SimSun,12,-1,5,50,0,0,0,0,0"/> </style> - <style name="symbol" alignment="1" marginTop="2.5"> + <style alignment="1" name="symbol" marginTop="2.5"> <styleFont style="" description="SimSun,9,-1,5,50,0,0,0,0,0"/> </style> - <style marginLeft="2" name="symbolLabel" alignment="1" marginTop="2"> + <style alignment="1" name="symbolLabel" marginLeft="2" marginTop="2"> <styleFont style="" description="SimSun,12,-1,5,50,0,0,0,0,0"/> </style> </styles> <layer-tree-group> <customproperties/> - <layer-tree-group checked="Qt::Checked" name="绠¢亾鍩虹澶ф暟鎹钩鍙�" expanded="1"> + <layer-tree-group name="绠¢亾鍩虹澶ф暟鎹钩鍙�" expanded="1" checked="Qt::Checked"> <customproperties/> - <layer-tree-layer id="VALVEHOUSEPOINT_5d566d73_8061_447a_a9e3_3e7adad17bd7" source="../../../../data/13.cppe/shps/VALVEHOUSEPOINT.shp" checked="Qt::Checked" name="闃�瀹�" patch_size="-1,-1" expanded="1" legend_exp="" legend_split_behavior="0" providerKey="ogr"> + <layer-tree-layer name="闃�瀹�" legend_exp="" patch_size="-1,-1" expanded="1" id="VALVEHOUSEPOINT_5d566d73_8061_447a_a9e3_3e7adad17bd7" checked="Qt::Checked" legend_split_behavior="0" source="./shps/VALVEHOUSEPOINT.shp" providerKey="ogr"> <customproperties/> </layer-tree-layer> - <layer-tree-layer id="SITEPOINT_484a52d0_7a8e_4f9e_9ad3_d940e10e24d3" source="../../../../data/13.cppe/shps/SITEPOINT.shp" checked="Qt::Checked" name="绔欏満" patch_size="-1,-1" expanded="1" legend_exp="" legend_split_behavior="0" providerKey="ogr"> + <layer-tree-layer name="绔欏満" legend_exp="" patch_size="-1,-1" expanded="1" id="SITEPOINT_484a52d0_7a8e_4f9e_9ad3_d940e10e24d3" checked="Qt::Checked" legend_split_behavior="0" source="./shps" providerKey="ogr"> <customproperties/> </layer-tree-layer> - <layer-tree-layer id="STATIONSERIES_5bfe7f3c_86b2_4fda_bae4_c44a33ab33e0" source="../../../../data/13.cppe/shps/STATIONSERIES.shp" checked="Qt::Checked" name="绠¢亾涓績绾�" patch_size="-1,-1" expanded="1" legend_exp="" legend_split_behavior="0" providerKey="ogr"> + <layer-tree-layer name="绠¢亾涓績绾�" legend_exp="" patch_size="-1,-1" expanded="1" id="STATIONSERIES_5bfe7f3c_86b2_4fda_bae4_c44a33ab33e0" checked="Qt::Checked" legend_split_behavior="0" source="./shps/STATIONSERIES.shp" providerKey="ogr"> <customproperties/> </layer-tree-layer> </layer-tree-group> - <custom-order enabled="0"> - <item>STATIONSERIES_5bfe7f3c_86b2_4fda_bae4_c44a33ab33e0</item> - <item>VALVEHOUSEPOINT_5d566d73_8061_447a_a9e3_3e7adad17bd7</item> - <item>SITEPOINT_484a52d0_7a8e_4f9e_9ad3_d940e10e24d3</item> - </custom-order> + <custom-order enabled="0"/> </layer-tree-group> </LayoutItem> - <LayoutItem templateUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" excludeFromExports="0" id="鍦板浘" background="true" followPresetName="" blendMode="0" zValue="2" positionLock="true" visibility="1" type="65639" frameJoinStyle="round" keepLayerSet="false" uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" isTemporal="0" frame="true" followPreset="false" position="9.47563,16.5367,mm" outlineWidthM="4,px" drawCanvasItems="false" itemRotation="0" groupUuid="" positionOnPage="9.47563,16.5367,mm" labelMargin="0,mm" size="278.717,173.275,mm" referencePoint="0" opacity="1" mapRotation="0" mapFlags="0"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem excludeFromExports="0" itemRotation="0" background="true" frame="true" uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" referencePoint="0" positionLock="true" size="280,174,mm" zValue="2" followPresetName="" opacity="1" id="鍦板浘" mapFlags="0" visibility="1" blendMode="0" labelMargin="0,mm" drawCanvasItems="false" mapRotation="0" isTemporal="0" groupUuid="" keepLayerSet="false" outlineWidthM="4,px" frameJoinStyle="round" followPreset="false" positionOnPage="9,18,mm" templateUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" type="65639" position="9,18,mm"> + <FrameColor alpha="255" green="0" blue="0" red="0"/> + <BackgroundColor alpha="255" green="255" blue="255" red="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> - <Extent xmin="59.05829972526095162" ymin="9.56596926408145976" ymax="64.12367401477921192" xmax="146.81582480887351494"/> + <Extent xmin="59.05829972526095162" ymax="64.11233836183852475" ymin="9.57730491702214692" 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> @@ -215,67 +211,67 @@ </spatialrefsys> </crs> <LayerSet/> - <ComposerMapGrid annotationExpression="" rotatedTicksMarginToCorner="0" name="缃戞牸 1" frameFillColor1="255,255,255,255" offsetX="0" bottomAnnotationPosition="1" frameFillColor2="0,0,0,255" leftAnnotationDirection="2" gridFrameMargin="0" blendMode="0" topFrameDivisions="0" gridFramePenColor="0,0,0,255" offsetY="0" annotationFormat="4" intervalX="30" showAnnotation="1" bottomFrameDivisions="0" rotatedTicksMinimumAngle="0" rotatedAnnotationsMarginToCorner="0" rightAnnotationPosition="1" maximumIntervalWidth="10" bottomAnnotationDisplay="0" topAnnotationDisplay="0" annotationPrecision="3" leftAnnotationDisplay="0" topAnnotationPosition="1" unit="1" uuid="{33b582a6-ae09-42c2-b50b-ae68c9d6d71a}" frameAnnotationDistance="1" rotatedAnnotationsMinimumAngle="0" rotatedTicksLengthMode="0" rotatedAnnotationsEnabled="0" intervalY="30" rotatedAnnotationsLengthMode="0" crossLength="3" rightAnnotationDisplay="0" bottomAnnotationDirection="0" gridFrameStyle="0" gridFramePenThickness="0.29999999999999999" gridFrameSideFlags="15" rightFrameDivisions="0" topAnnotationDirection="0" gridFrameWidth="2" leftAnnotationPosition="1" rightAnnotationDirection="2" leftFrameDivisions="0" rotatedTicksEnabled="0" show="1" position="3" gridStyle="3" minimumIntervalWidth="12"> + <ComposerMapGrid bottomAnnotationDirection="0" rotatedAnnotationsMinimumAngle="0" topFrameDivisions="0" rotatedAnnotationsLengthMode="0" topAnnotationDirection="0" gridFrameWidth="2" rightAnnotationDirection="2" showAnnotation="1" gridFrameMargin="0" bottomAnnotationDisplay="0" gridFrameStyle="0" position="3" gridFramePenColor="0,0,0,255" frameFillColor2="0,0,0,255" rotatedTicksLengthMode="0" minimumIntervalWidth="12" topAnnotationPosition="1" leftAnnotationDisplay="0" name="缃戞牸 1" leftAnnotationDirection="2" topAnnotationDisplay="0" rightFrameDivisions="0" leftFrameDivisions="0" rotatedTicksEnabled="0" frameAnnotationDistance="1" leftAnnotationPosition="1" offsetY="0" show="1" intervalX="30" gridStyle="3" intervalY="30" bottomAnnotationPosition="1" frameFillColor1="255,255,255,255" rotatedTicksMarginToCorner="0" offsetX="0" annotationFormat="4" rotatedAnnotationsMarginToCorner="0" gridFramePenThickness="0.29999999999999999" rightAnnotationDisplay="0" gridFrameSideFlags="15" bottomFrameDivisions="0" unit="1" annotationPrecision="3" rotatedAnnotationsEnabled="0" crossLength="3" annotationExpression="" rotatedTicksMinimumAngle="0" maximumIntervalWidth="10" uuid="{33b582a6-ae09-42c2-b50b-ae68c9d6d71a}" blendMode="0" rightAnnotationPosition="1"> <lineStyle> - <symbol name="" clip_to_extent="1" force_rhr="0" type="line" alpha="0.616"> - <layer class="SimpleLine" enabled="1" pass="0" 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"/> + <symbol alpha="0.616" name="" type="line" clip_to_extent="1" force_rhr="0"> + <layer class="SimpleLine" locked="0" enabled="1" pass="0"> + <prop k="align_dash_pattern" v="0"/> + <prop k="capstyle" v="round"/> + <prop k="customdash" v="0.66;2"/> + <prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="customdash_unit" v="MM"/> + <prop k="dash_pattern_offset" v="0"/> + <prop k="dash_pattern_offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="dash_pattern_offset_unit" v="MM"/> + <prop k="draw_inside_polygon" v="0"/> + <prop k="joinstyle" v="round"/> + <prop k="line_color" v="0,0,0,255"/> + <prop k="line_style" v="solid"/> + <prop k="line_width" v="0.5"/> + <prop k="line_width_unit" v="MM"/> + <prop k="offset" v="0"/> + <prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="offset_unit" v="MM"/> + <prop k="ring_filter" v="0"/> + <prop k="tweak_dash_pattern_on_corners" v="0"/> + <prop k="use_custom_dash" v="1"/> + <prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/> <data_defined_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </data_defined_properties> </layer> </symbol> </lineStyle> <markerStyle> - <symbol name="" clip_to_extent="1" force_rhr="0" type="marker" alpha="1"> - <layer class="SimpleMarker" enabled="1" pass="0" 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"/> + <symbol alpha="1" name="" type="marker" clip_to_extent="1" force_rhr="0"> + <layer class="SimpleMarker" locked="0" enabled="1" pass="0"> + <prop k="angle" v="0"/> + <prop k="color" v="0,0,0,255"/> + <prop k="horizontal_anchor_point" v="1"/> + <prop k="joinstyle" v="bevel"/> + <prop k="name" v="circle"/> + <prop k="offset" v="0,0"/> + <prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="offset_unit" v="MM"/> + <prop k="outline_color" v="35,35,35,255"/> + <prop k="outline_style" v="solid"/> + <prop k="outline_width" v="0"/> + <prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="outline_width_unit" v="MM"/> + <prop k="scale_method" v="diameter"/> + <prop k="size" v="2"/> + <prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="size_unit" v="MM"/> + <prop k="vertical_anchor_point" v="1"/> <data_defined_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </data_defined_properties> </layer> @@ -292,262 +288,262 @@ <ellipsoidacronym>EPSG:7030</ellipsoidacronym> <geographicflag>true</geographicflag> </spatialrefsys> - <text-style fontKerning="1" fontSize="8" fontSizeMapUnitScale="3x:0,0,0,0,0,0" textColor="0,0,0,255" multilineHeight="1" allowHtml="0" fontLetterSpacing="0" blendMode="0" capitalization="0" fontStrikeout="0" textOrientation="horizontal" fontItalic="0" fontFamily="SimSun" textOpacity="1" fontUnderline="0" fontWeight="50" namedStyle="" previewBkgrdColor="255,255,255,255" fontWordSpacing="0" fontSizeUnit="Point"> - <text-buffer bufferBlendMode="0" bufferDraw="0" bufferColor="255,255,255,255" bufferSizeUnits="MM" bufferOpacity="1" bufferSize="1" bufferNoFill="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferJoinStyle="128"/> - <text-mask maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskType="0" maskJoinStyle="128" maskedSymbolLayers="" maskSize="1.5" maskEnabled="0" maskSizeUnits="MM" maskOpacity="1"/> - <background shapeSVGFile="" shapeDraw="0" shapeSizeY="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeBorderColor="128,128,128,255" shapeOffsetUnit="MM" shapeSizeX="0" shapeJoinStyle="64" shapeRadiiY="0" shapeRadiiX="0" shapeOpacity="1" shapeBlendMode="0" shapeOffsetY="0" shapeRotationType="0" shapeType="0" shapeBorderWidth="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeBorderWidthUnit="MM" shapeFillColor="255,255,255,255" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetX="0" shapeRadiiUnit="MM" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeSizeUnit="MM" shapeRotation="0"> - <symbol name="markerSymbol" clip_to_extent="1" force_rhr="0" type="marker" alpha="1"> - <layer class="SimpleMarker" enabled="1" pass="0" 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"/> + <text-style allowHtml="0" fontUnderline="0" previewBkgrdColor="255,255,255,255" capitalization="0" textOrientation="horizontal" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontSizeUnit="Point" namedStyle="" blendMode="0" fontSize="8" fontKerning="1" multilineHeight="1" fontStrikeout="0" fontLetterSpacing="0" fontWeight="50" fontFamily="SimSun" textOpacity="1" textColor="0,0,0,255" fontWordSpacing="0" fontItalic="0"> + <text-buffer bufferDraw="0" bufferNoFill="1" bufferColor="255,255,255,255" bufferJoinStyle="128" bufferSize="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferBlendMode="0" bufferOpacity="1" bufferSizeUnits="MM"/> + <text-mask maskEnabled="0" maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskSizeUnits="MM" maskedSymbolLayers="" maskJoinStyle="128" maskSize="1.5" maskType="0" maskOpacity="1"/> + <background shapeOffsetUnit="MM" shapeBorderColor="128,128,128,255" shapeJoinStyle="64" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeUnit="MM" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeRadiiX="0" shapeFillColor="255,255,255,255" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeBorderWidth="0" shapeRotation="0" shapeSVGFile="" shapeOffsetY="0" shapeSizeX="0" shapeBorderWidthUnit="MM" shapeSizeY="0" shapeRadiiY="0" shapeDraw="0" shapeType="0" shapeOffsetX="0" shapeRotationType="0" shapeOpacity="1" shapeBlendMode="0" shapeRadiiUnit="MM"> + <symbol alpha="1" name="markerSymbol" type="marker" clip_to_extent="1" force_rhr="0"> + <layer class="SimpleMarker" locked="0" enabled="1" pass="0"> + <prop k="angle" v="0"/> + <prop k="color" v="231,113,72,255"/> + <prop k="horizontal_anchor_point" v="1"/> + <prop k="joinstyle" v="bevel"/> + <prop k="name" v="circle"/> + <prop k="offset" v="0,0"/> + <prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="offset_unit" v="MM"/> + <prop k="outline_color" v="35,35,35,255"/> + <prop k="outline_style" v="solid"/> + <prop k="outline_width" v="0"/> + <prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="outline_width_unit" v="MM"/> + <prop k="scale_method" v="diameter"/> + <prop k="size" v="2"/> + <prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="size_unit" v="MM"/> + <prop k="vertical_anchor_point" v="1"/> <data_defined_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </data_defined_properties> </layer> </symbol> </background> - <shadow shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetDist="1" shadowOffsetAngle="135" shadowDraw="0" shadowBlendMode="6" shadowColor="0,0,0,255" shadowOffsetGlobal="1" shadowRadiusUnit="MM" shadowOffsetUnit="MM" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowUnder="0" shadowRadiusAlphaOnly="0" shadowScale="100" shadowOpacity="0.7" shadowRadius="1.5"/> + <shadow shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowScale="100" shadowOffsetGlobal="1" shadowRadiusUnit="MM" shadowRadiusAlphaOnly="0" shadowColor="0,0,0,255" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadius="1.5" shadowOpacity="0.7" shadowUnder="0" shadowOffsetUnit="MM" shadowOffsetAngle="135" shadowOffsetDist="1" shadowDraw="0" shadowBlendMode="6"/> <dd_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </dd_properties> </text-style> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> </ComposerMapGrid> - <AtlasMap margin="0.10000000000000001" atlasDriven="0" scalingMode="2"/> + <AtlasMap atlasDriven="0" margin="0.10000000000000001" scalingMode="2"/> <labelBlockingItems/> - <atlasClippingSettings restrictLayers="0" enabled="0" forceLabelsInside="0" clippingType="1"> + <atlasClippingSettings enabled="0" forceLabelsInside="0" clippingType="1" restrictLayers="0"> <layersToClip/> </atlasClippingSettings> - <itemClippingSettings clipSource="" enabled="0" forceLabelsInside="0" clippingType="1"/> + <itemClippingSettings enabled="0" forceLabelsInside="0" clippingType="1" clipSource=""/> </LayoutItem> - <LayoutItem templateUuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" excludeFromExports="0" id="杈规" background="false" blendMode="0" zValue="1" positionLock="true" visibility="1" type="65643" frameJoinStyle="miter" uuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" shapeType="1" frame="false" cornerRadiusMeasure="0,mm" position="2.6816,2,mm" outlineWidthM="0.3,mm" itemRotation="0" groupUuid="" positionOnPage="2.6816,2,mm" size="292.354,205.447,mm" referencePoint="0" opacity="1"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem excludeFromExports="0" cornerRadiusMeasure="0,mm" itemRotation="0" background="false" frame="false" uuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" referencePoint="0" positionLock="true" size="292.354,205.447,mm" zValue="1" opacity="1" id="杈规" visibility="1" blendMode="0" groupUuid="" outlineWidthM="0.3,mm" frameJoinStyle="miter" positionOnPage="2.6816,2,mm" shapeType="1" templateUuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" type="65643" position="2.6816,2,mm"> + <FrameColor alpha="255" green="0" blue="0" red="0"/> + <BackgroundColor alpha="255" green="255" blue="255" red="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> - <symbol name="" clip_to_extent="1" force_rhr="0" type="fill" alpha="1"> - <layer class="SimpleLine" enabled="1" pass="0" 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"/> + <symbol alpha="1" name="" type="fill" clip_to_extent="1" force_rhr="0"> + <layer class="SimpleLine" locked="0" enabled="1" pass="0"> + <prop k="align_dash_pattern" v="0"/> + <prop k="capstyle" v="square"/> + <prop k="customdash" v="5;2"/> + <prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="customdash_unit" v="Pixel"/> + <prop k="dash_pattern_offset" v="0"/> + <prop k="dash_pattern_offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="dash_pattern_offset_unit" v="MM"/> + <prop k="draw_inside_polygon" v="0"/> + <prop k="joinstyle" v="bevel"/> + <prop k="line_color" v="53,121,177,255"/> + <prop k="line_style" v="solid"/> + <prop k="line_width" v="0.96"/> + <prop k="line_width_unit" v="Pixel"/> + <prop k="offset" v="0"/> + <prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="offset_unit" v="Pixel"/> + <prop k="ring_filter" v="0"/> + <prop k="tweak_dash_pattern_on_corners" v="0"/> + <prop k="use_custom_dash" v="0"/> + <prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/> <data_defined_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </data_defined_properties> </layer> </symbol> </LayoutItem> - <LayoutMultiFrame templateUuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" cellMargin="1" emptyTableMessage="" emptyTableMode="0" verticalGrid="1" horizontalGrid="1" gridColor="0,0,0,255" type="65652" gridStrokeWidth="0.5" uuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" showGrid="0" headerHAlignment="0" wrapBehavior="0" resizeMode="0" includeHeader="0" backgroundColor="255,255,255,255" headerMode="2" showEmptyRows="0"> + <LayoutMultiFrame showGrid="0" gridStrokeWidth="0.5" verticalGrid="1" uuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" emptyTableMessage="" backgroundColor="255,255,255,255" resizeMode="0" showEmptyRows="0" cellMargin="1" emptyTableMode="0" headerMode="2" gridColor="0,0,0,255" wrapBehavior="0" templateUuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" includeHeader="0" horizontalGrid="1" type="65652" headerHAlignment="0"> <childFrame templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> <headerTextFormat> - <text-style fontKerning="1" fontSize="10" fontSizeMapUnitScale="3x:0,0,0,0,0,0" textColor="0,0,0,255" multilineHeight="1" allowHtml="0" fontLetterSpacing="0" blendMode="0" capitalization="0" fontStrikeout="0" textOrientation="horizontal" fontItalic="0" fontFamily="SimSun" textOpacity="1" fontUnderline="0" fontWeight="50" namedStyle="" previewBkgrdColor="255,255,255,255" fontWordSpacing="0" fontSizeUnit="Point"> - <text-buffer bufferBlendMode="0" bufferDraw="0" bufferColor="255,255,255,255" bufferSizeUnits="MM" bufferOpacity="1" bufferSize="1" bufferNoFill="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferJoinStyle="128"/> - <text-mask maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskType="0" maskJoinStyle="128" maskedSymbolLayers="" maskSize="1.5" maskEnabled="0" maskSizeUnits="MM" maskOpacity="1"/> - <background shapeSVGFile="" shapeDraw="0" shapeSizeY="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeBorderColor="128,128,128,255" shapeOffsetUnit="MM" shapeSizeX="0" shapeJoinStyle="64" shapeRadiiY="0" shapeRadiiX="0" shapeOpacity="1" shapeBlendMode="0" shapeOffsetY="0" shapeRotationType="0" shapeType="0" shapeBorderWidth="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeBorderWidthUnit="MM" shapeFillColor="255,255,255,255" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetX="0" shapeRadiiUnit="MM" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeSizeUnit="MM" shapeRotation="0"/> - <shadow shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetDist="1" shadowOffsetAngle="135" shadowDraw="0" shadowBlendMode="6" shadowColor="0,0,0,255" shadowOffsetGlobal="1" shadowRadiusUnit="MM" shadowOffsetUnit="MM" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowUnder="0" shadowRadiusAlphaOnly="0" shadowScale="100" shadowOpacity="0.7" shadowRadius="1.5"/> + <text-style allowHtml="0" fontUnderline="0" previewBkgrdColor="255,255,255,255" capitalization="0" textOrientation="horizontal" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontSizeUnit="Point" namedStyle="" blendMode="0" fontSize="10" fontKerning="1" multilineHeight="1" fontStrikeout="0" fontLetterSpacing="0" fontWeight="50" fontFamily="SimSun" textOpacity="1" textColor="0,0,0,255" fontWordSpacing="0" fontItalic="0"> + <text-buffer bufferDraw="0" bufferNoFill="1" bufferColor="255,255,255,255" bufferJoinStyle="128" bufferSize="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferBlendMode="0" bufferOpacity="1" bufferSizeUnits="MM"/> + <text-mask maskEnabled="0" maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskSizeUnits="MM" maskedSymbolLayers="" maskJoinStyle="128" maskSize="1.5" maskType="0" maskOpacity="1"/> + <background shapeOffsetUnit="MM" shapeBorderColor="128,128,128,255" shapeJoinStyle="64" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeUnit="MM" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeRadiiX="0" shapeFillColor="255,255,255,255" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeBorderWidth="0" shapeRotation="0" shapeSVGFile="" shapeOffsetY="0" shapeSizeX="0" shapeBorderWidthUnit="MM" shapeSizeY="0" shapeRadiiY="0" shapeDraw="0" shapeType="0" shapeOffsetX="0" shapeRotationType="0" shapeOpacity="1" shapeBlendMode="0" shapeRadiiUnit="MM"/> + <shadow shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowScale="100" shadowOffsetGlobal="1" shadowRadiusUnit="MM" shadowRadiusAlphaOnly="0" shadowColor="0,0,0,255" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadius="1.5" shadowOpacity="0.7" shadowUnder="0" shadowOffsetUnit="MM" shadowOffsetAngle="135" shadowOffsetDist="1" shadowDraw="0" shadowBlendMode="6"/> <dd_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </dd_properties> </text-style> </headerTextFormat> <contentTextFormat> - <text-style fontKerning="1" fontSize="10" fontSizeMapUnitScale="3x:0,0,0,0,0,0" textColor="0,0,0,255" multilineHeight="1" allowHtml="0" fontLetterSpacing="0" blendMode="0" capitalization="0" fontStrikeout="0" textOrientation="horizontal" fontItalic="0" fontFamily="SimSun" textOpacity="1" fontUnderline="0" fontWeight="50" namedStyle="" previewBkgrdColor="255,255,255,255" fontWordSpacing="0" fontSizeUnit="Point"> - <text-buffer bufferBlendMode="0" bufferDraw="0" bufferColor="255,255,255,255" bufferSizeUnits="MM" bufferOpacity="1" bufferSize="1" bufferNoFill="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferJoinStyle="128"/> - <text-mask maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskType="0" maskJoinStyle="128" maskedSymbolLayers="" maskSize="1.5" maskEnabled="0" maskSizeUnits="MM" maskOpacity="1"/> - <background shapeSVGFile="" shapeDraw="0" shapeSizeY="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeBorderColor="128,128,128,255" shapeOffsetUnit="MM" shapeSizeX="0" shapeJoinStyle="64" shapeRadiiY="0" shapeRadiiX="0" shapeOpacity="1" shapeBlendMode="0" shapeOffsetY="0" shapeRotationType="0" shapeType="0" shapeBorderWidth="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeBorderWidthUnit="MM" shapeFillColor="255,255,255,255" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetX="0" shapeRadiiUnit="MM" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeSizeUnit="MM" shapeRotation="0"/> - <shadow shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetDist="1" shadowOffsetAngle="135" shadowDraw="0" shadowBlendMode="6" shadowColor="0,0,0,255" shadowOffsetGlobal="1" shadowRadiusUnit="MM" shadowOffsetUnit="MM" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowUnder="0" shadowRadiusAlphaOnly="0" shadowScale="100" shadowOpacity="0.7" shadowRadius="1.5"/> + <text-style allowHtml="0" fontUnderline="0" previewBkgrdColor="255,255,255,255" capitalization="0" textOrientation="horizontal" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontSizeUnit="Point" namedStyle="" blendMode="0" fontSize="10" fontKerning="1" multilineHeight="1" fontStrikeout="0" fontLetterSpacing="0" fontWeight="50" fontFamily="SimSun" textOpacity="1" textColor="0,0,0,255" fontWordSpacing="0" fontItalic="0"> + <text-buffer bufferDraw="0" bufferNoFill="1" bufferColor="255,255,255,255" bufferJoinStyle="128" bufferSize="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferBlendMode="0" bufferOpacity="1" bufferSizeUnits="MM"/> + <text-mask maskEnabled="0" maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskSizeUnits="MM" maskedSymbolLayers="" maskJoinStyle="128" maskSize="1.5" maskType="0" maskOpacity="1"/> + <background shapeOffsetUnit="MM" shapeBorderColor="128,128,128,255" shapeJoinStyle="64" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeUnit="MM" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeRadiiX="0" shapeFillColor="255,255,255,255" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeBorderWidth="0" shapeRotation="0" shapeSVGFile="" shapeOffsetY="0" shapeSizeX="0" shapeBorderWidthUnit="MM" shapeSizeY="0" shapeRadiiY="0" shapeDraw="0" shapeType="0" shapeOffsetX="0" shapeRotationType="0" shapeOpacity="1" shapeBlendMode="0" shapeRadiiUnit="MM"/> + <shadow shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowScale="100" shadowOffsetGlobal="1" shadowRadiusUnit="MM" shadowRadiusAlphaOnly="0" shadowColor="0,0,0,255" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadius="1.5" shadowOpacity="0.7" shadowUnder="0" shadowOffsetUnit="MM" shadowOffsetAngle="135" shadowOffsetDist="1" shadowDraw="0" shadowBlendMode="6"/> <dd_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option name="name" value="" type="QString"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option name="type" value="collection" type="QString"/> </Option> </dd_properties> </text-style> </contentTextFormat> <displayColumns> - <column attribute="" sortOrder="0" heading="" sortByRank="0" vAlignment="128" hAlignment="1" width="0"> - <backgroundColor blue="0" green="0" red="0" alpha="0"/> + <column heading="" attribute="" sortByRank="0" sortOrder="0" hAlignment="1" vAlignment="128" width="0"> + <backgroundColor alpha="0" green="0" blue="0" red="0"/> </column> - <column attribute="" sortOrder="0" heading="璇存槑" sortByRank="0" vAlignment="128" hAlignment="1" width="0"> - <backgroundColor blue="0" green="0" red="0" alpha="0"/> + <column heading="璇存槑" attribute="" sortByRank="0" sortOrder="0" hAlignment="1" vAlignment="128" width="0"> + <backgroundColor alpha="0" green="0" blue="0" red="0"/> </column> </displayColumns> <sortColumns/> <cellStyles> - <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"/> + <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 attribute="" sortOrder="0" heading="" sortByRank="0" vAlignment="128" hAlignment="1" width="0"> - <backgroundColor blue="0" green="0" red="0" alpha="0"/> + <header heading="" attribute="" sortByRank="0" sortOrder="0" hAlignment="1" vAlignment="128" width="0"> + <backgroundColor alpha="0" green="0" blue="0" red="0"/> </header> - <header attribute="" sortOrder="0" heading="璇存槑" sortByRank="0" vAlignment="128" hAlignment="1" width="0"> - <backgroundColor blue="0" green="0" red="0" alpha="0"/> + <header heading="璇存槑" attribute="" sortByRank="0" sortOrder="0" hAlignment="1" vAlignment="128" width="0"> + <backgroundColor alpha="0" green="0" blue="0" red="0"/> </header> </headers> <contents> <row> <Option type="Map"> - <Option name="background" type="color" value=""/> - <Option name="content" type="QString" value="璇�"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="2"/> - <Option name="valign" type="int" value="0"/> + <Option name="background" value="" type="color"/> + <Option name="content" value="璇�" type="QString"/> + <Option name="foreground" value="" type="color"/> + <Option name="halign" value="2" type="int"/> + <Option name="valign" value="0" type="int"/> </Option> <Option type="Map"> - <Option name="background" type="color" value=""/> - <Option name="content" type="QString" value="鏄�"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="0"/> - <Option name="valign" type="int" value="0"/> + <Option name="background" value="" type="color"/> + <Option name="content" value="鏄�" type="QString"/> + <Option name="foreground" value="" type="color"/> + <Option name="halign" value="0" type="int"/> + <Option name="valign" value="0" type="int"/> </Option> </row> <row> <Option type="Map"> - <Option name="background" type="color" value=""/> - <Option name="content" type="QString" value="鐪佷唤锛�"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="2"/> - <Option name="valign" type="int" value="128"/> + <Option name="background" value="" type="color"/> + <Option name="content" value="鐪佷唤锛�" type="QString"/> + <Option name="foreground" value="" type="color"/> + <Option name="halign" value="2" type="int"/> + <Option name="valign" value="128" type="int"/> </Option> <Option type="Map"> - <Option name="background" type="color" value=""/> - <Option name="content" type="QString" value="娌冲寳鐪�"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="1"/> - <Option name="valign" type="int" value="128"/> + <Option name="background" value="" type="color"/> + <Option name="content" value="娌冲寳鐪�" type="QString"/> + <Option name="foreground" value="" type="color"/> + <Option name="halign" value="1" type="int"/> + <Option name="valign" value="128" type="int"/> </Option> </row> <row> <Option type="Map"> - <Option name="background" type="color" value=""/> - <Option name="content" type="QString" value="姣斾緥灏猴細"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="2"/> - <Option name="valign" type="int" value="128"/> + <Option name="background" value="" type="color"/> + <Option name="content" value="姣斾緥灏猴細" type="QString"/> + <Option name="foreground" value="" type="color"/> + <Option name="halign" value="2" type="int"/> + <Option name="valign" value="128" type="int"/> </Option> <Option type="Map"> - <Option name="background" type="color" value=""/> - <Option name="content" type="QString" value="1锛�25涓�"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="1"/> - <Option name="valign" type="int" value="128"/> + <Option name="background" value="" type="color"/> + <Option name="content" value="1锛�25涓�" type="QString"/> + <Option name="foreground" value="" type="color"/> + <Option name="halign" value="1" type="int"/> + <Option name="valign" value="128" type="int"/> </Option> </row> <row> <Option type="Map"> - <Option name="background" type="color" value=""/> - <Option name="content" type="QString" value="褰卞儚鍒嗚鲸鐜囷細"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="0"/> - <Option name="valign" type="int" value="0"/> + <Option name="background" value="" type="color"/> + <Option name="content" value="褰卞儚鍒嗚鲸鐜囷細" type="QString"/> + <Option name="foreground" value="" type="color"/> + <Option name="halign" value="0" type="int"/> + <Option name="valign" value="0" type="int"/> </Option> <Option type="Map"> - <Option name="background" type="color" value=""/> - <Option name="content" type="QString" value="20绫�"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="0"/> - <Option name="valign" type="int" value="0"/> + <Option name="background" value="" type="color"/> + <Option name="content" value="20绫�" type="QString"/> + <Option name="foreground" value="" type="color"/> + <Option name="halign" value="0" type="int"/> + <Option name="valign" value="0" type="int"/> </Option> </row> <row> <Option type="Map"> - <Option name="background" type="color" value=""/> - <Option name="content" type="QString" value="鍒跺浘鏃堕棿锛�"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="2"/> - <Option name="valign" type="int" value="0"/> + <Option name="background" value="" type="color"/> + <Option name="content" value="鍒跺浘鏃堕棿锛�" type="QString"/> + <Option name="foreground" value="" type="color"/> + <Option name="halign" value="2" type="int"/> + <Option name="valign" value="0" type="int"/> </Option> <Option type="Map"> - <Option name="background" type="color" value=""/> - <Option name="content" type="QString" value="2022.11.06"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="0"/> - <Option name="valign" type="int" value="0"/> + <Option name="background" value="" type="color"/> + <Option name="content" value="2022.11.06" type="QString"/> + <Option name="foreground" value="" type="color"/> + <Option name="halign" value="0" type="int"/> + <Option name="valign" value="0" type="int"/> </Option> </row> </contents> @@ -572,8 +568,6 @@ <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/render.png"/> </customproperties> - <Atlas coverageLayer="" filterFeatures="0" sortFeatures="0" enabled="0" hideCoverage="0" pageNameExpression="" filenamePattern="'output_'||@atlas_featurenumber"/> + <Atlas enabled="0" filenamePattern="'output_'||@atlas_featurenumber" sortFeatures="0" coverageLayer="" pageNameExpression="" filterFeatures="0" hideCoverage="0"/> </Layout> diff --git a/ExportMap/Sources/Test.qgz b/ExportMap/Sources/Test.qgz index 19b806f..42edfcf 100644 --- a/ExportMap/Sources/Test.qgz +++ b/ExportMap/Sources/Test.qgz Binary files differ diff --git a/ExportMap/Sources/Test.qpt b/ExportMap/Sources/Test.qpt index 28598c1..42c4cda 100644 --- a/ExportMap/Sources/Test.qpt +++ b/ExportMap/Sources/Test.qpt @@ -1,60 +1,60 @@ -<Layout units="mm" name="Template" printResolution="{dpi}" worldFileMap="{4e649c5d-cabe-431f-a385-d69809d87ebf}"> - <Snapper snapToItems="1" tolerance="5" snapToGrid="0" snapToGuides="1"/> - <Grid resolution="10" offsetY="0" offsetUnits="mm" resUnits="mm" offsetX="0"/> +<Layout units="mm" name="Template" printResolution="300" worldFileMap="{4e649c5d-cabe-431f-a385-d69809d87ebf}"> + <Snapper snapToGrid="0" snapToItems="1" tolerance="5" snapToGuides="1"/> + <Grid offsetY="0" offsetX="0" resolution="10" resUnits="mm" offsetUnits="mm"/> <PageCollection> - <symbol name="" clip_to_extent="1" force_rhr="0" type="fill" alpha="1"> - <layer class="SimpleFill" enabled="1" pass="0" 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"/> + <symbol alpha="1" type="fill" clip_to_extent="1" name="" force_rhr="0"> + <layer pass="0" class="SimpleFill" 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"/> + <prop k="offset" v="0,0"/> + <prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="offset_unit" v="MM"/> + <prop k="outline_color" v="35,35,35,255"/> + <prop k="outline_style" v="no"/> + <prop k="outline_width" v="0.26"/> + <prop k="outline_width_unit" v="MM"/> + <prop k="style" v="solid"/> <data_defined_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </data_defined_properties> </layer> </symbol> - <LayoutItem templateUuid="{72530018-3d33-4843-b661-79580c9b15e3}" excludeFromExports="0" id="" background="true" blendMode="0" zValue="0" positionLock="false" visibility="1" type="65638" frameJoinStyle="miter" uuid="{72530018-3d33-4843-b661-79580c9b15e3}" frame="false" position="0,0,mm" outlineWidthM="0.3,mm" itemRotation="0" groupUuid="" positionOnPage="0,0,mm" size="297,210,mm" referencePoint="0" opacity="1"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem frame="false" itemRotation="0" id="" zValue="0" background="true" blendMode="0" groupUuid="" outlineWidthM="0.3,mm" positionLock="false" size="297,210,mm" referencePoint="0" excludeFromExports="0" frameJoinStyle="miter" templateUuid="{72530018-3d33-4843-b661-79580c9b15e3}" position="0,0,mm" opacity="1" uuid="{72530018-3d33-4843-b661-79580c9b15e3}" visibility="1" type="65638" positionOnPage="0,0,mm"> + <FrameColor alpha="255" green="0" red="0" blue="0"/> + <BackgroundColor alpha="255" green="255" red="255" blue="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> - <symbol name="" clip_to_extent="1" force_rhr="0" type="fill" alpha="1"> - <layer class="SimpleFill" enabled="1" pass="0" 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"/> + <symbol alpha="1" type="fill" clip_to_extent="1" name="" force_rhr="0"> + <layer pass="0" class="SimpleFill" 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"/> + <prop k="offset" v="0,0"/> + <prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="offset_unit" v="MM"/> + <prop k="outline_color" v="35,35,35,255"/> + <prop k="outline_style" v="no"/> + <prop k="outline_width" v="0.26"/> + <prop k="outline_width_unit" v="MM"/> + <prop k="style" v="solid"/> <data_defined_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </data_defined_properties> </layer> @@ -62,145 +62,141 @@ </LayoutItem> <GuideCollection visible="1"/> </PageCollection> - <LayoutItem templateUuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" excludeFromExports="0" id="鍏徃" marginY="0" background="false" labelText="涓浗鐭虫补澶╃劧姘旂閬撳伐绋嬫湁闄愬叕鍙�" blendMode="0" halign="4" zValue="8" positionLock="true" visibility="1" type="65641" frameJoinStyle="miter" uuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" frame="false" position="212.337,195.29,mm" htmlState="0" outlineWidthM="0.3,mm" itemRotation="0" groupUuid="" positionOnPage="212.337,195.29,mm" size="76.0244,9.39831,mm" referencePoint="0" opacity="1" marginX="0" valign="128"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem frame="false" itemRotation="0" id="鍏徃" zValue="8" background="false" blendMode="0" halign="4" groupUuid="" outlineWidthM="0.3,mm" valign="128" positionLock="true" htmlState="0" size="76.0244,9.39831,mm" referencePoint="0" excludeFromExports="0" marginX="0" frameJoinStyle="miter" templateUuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" position="212.337,195.29,mm" opacity="1" labelText="涓浗鐭虫补澶╃劧姘旂閬撳伐绋嬫湁闄愬叕鍙�" uuid="{13528ba9-5ea4-45e3-b56e-a975eb046d54}" marginY="0" visibility="1" type="65641" positionOnPage="212.337,195.29,mm"> + <FrameColor alpha="255" green="0" red="0" blue="0"/> + <BackgroundColor alpha="255" green="255" red="255" blue="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> <LabelFont style="甯歌" description="瀹嬩綋,14,-1,5,50,0,0,0,0,0,甯歌"/> - <FontColor blue="0" green="0" red="0" alpha="255"/> + <FontColor alpha="255" green="0" red="0" blue="0"/> </LayoutItem> - <LayoutItem templateUuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" excludeFromExports="0" id="鎸囧寳閽�" background="false" pictureRotation="0" svgBorderWidth="0.2" blendMode="0" zValue="8" positionLock="true" visibility="1" type="65640" frameJoinStyle="miter" file=":/images/north_arrows/layout_default_north_arrow.svg" mode="0" uuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" frame="false" resizeMode="0" northMode="0" position="277.938,2.42978,mm" northOffset="0" outlineWidthM="0.3,mm" pictureWidth="8.85237" mapUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" itemRotation="0" groupUuid="" positionOnPage="277.938,2.42978,mm" anchorPoint="0" svgFillColor="255,255,255,255" pictureHeight="11.1743" svgBorderColor="0,0,0,255" size="10.4237,11.1743,mm" referencePoint="0" opacity="1"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem frame="false" itemRotation="0" resizeMode="0" pictureHeight="11.1743" id="鎸囧寳閽�" zValue="8" background="false" blendMode="0" anchorPoint="0" groupUuid="" outlineWidthM="0.3,mm" file=":/images/north_arrows/layout_default_north_arrow.svg" positionLock="true" size="10.4237,11.1743,mm" referencePoint="0" excludeFromExports="0" pictureWidth="8.85237" frameJoinStyle="miter" templateUuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" svgFillColor="255,255,255,255" northMode="0" position="277.938,2.42978,mm" opacity="1" uuid="{6a1655ac-d65f-4163-9e89-5f98536a0c31}" svgBorderColor="0,0,0,255" visibility="1" type="65640" positionOnPage="277.938,2.42978,mm" svgBorderWidth="0.2" mode="0" pictureRotation="0" mapUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" northOffset="0"> + <FrameColor alpha="255" green="0" red="0" blue="0"/> + <BackgroundColor alpha="255" green="255" red="255" blue="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> </LayoutItem> - <LayoutItem templateUuid="{29298722-a58a-42f7-85d1-04564ad9366d}" excludeFromExports="0" id="Logo" background="false" pictureRotation="0" svgBorderWidth="0.2" blendMode="0" zValue="7" positionLock="true" visibility="1" type="65640" frameJoinStyle="miter" file="logo.png" mode="1" uuid="{29298722-a58a-42f7-85d1-04564ad9366d}" frame="false" resizeMode="0" northMode="0" position="200.5,194.948,mm" northOffset="0" outlineWidthM="0.3,mm" pictureWidth="11.4207" mapUuid="" itemRotation="0" groupUuid="" positionOnPage="200.5,194.948,mm" anchorPoint="0" svgFillColor="255,255,255,255" pictureHeight="10.7409" svgBorderColor="0,0,0,255" size="11.6809,10.7409,mm" referencePoint="0" opacity="1"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem frame="false" itemRotation="0" resizeMode="0" pictureHeight="10.7409" id="Logo" zValue="7" background="false" blendMode="0" anchorPoint="0" groupUuid="" outlineWidthM="0.3,mm" file="../../../CPPE/CPPE/imgs/logo.png" positionLock="true" size="11.6809,10.7409,mm" referencePoint="0" excludeFromExports="0" pictureWidth="11.4207" frameJoinStyle="miter" templateUuid="{29298722-a58a-42f7-85d1-04564ad9366d}" svgFillColor="255,255,255,255" northMode="0" position="200.5,194.948,mm" opacity="1" uuid="{29298722-a58a-42f7-85d1-04564ad9366d}" svgBorderColor="0,0,0,255" visibility="1" type="65640" positionOnPage="200.5,194.948,mm" svgBorderWidth="0.2" mode="1" pictureRotation="0" mapUuid="" northOffset="0"> + <FrameColor alpha="255" green="0" red="0" blue="0"/> + <BackgroundColor alpha="255" green="255" red="255" blue="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> </LayoutItem> - <LayoutItem templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" excludeFromExports="0" sectionWidth="43.1968" id="璇存槑" multiFrameTemplateUuid="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" background="false" blendMode="0" zValue="6" hidePageIfEmpty="0" positionLock="true" visibility="1" type="65647" frameJoinStyle="miter" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" sectionHeight="25.6574" frame="false" position="242.194,161,mm" outlineWidthM="0.3,mm" sectionX="0" itemRotation="0" groupUuid="" positionOnPage="242.194,161,mm" sectionY="0" hideBackgroundIfEmpty="0" multiFrame="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" size="43.1968,25.6574,mm" referencePoint="0" opacity="1"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem frame="false" itemRotation="0" sectionWidth="43.1968" id="璇存槑" zValue="6" background="false" blendMode="0" groupUuid="" outlineWidthM="0.3,mm" sectionY="0" hidePageIfEmpty="0" positionLock="true" hideBackgroundIfEmpty="0" size="43.1968,25.6574,mm" referencePoint="0" excludeFromExports="0" multiFrameTemplateUuid="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" frameJoinStyle="miter" templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" multiFrame="{3f590e9a-19b4-46d3-90bb-6a188b24aaa6}" position="242.194,161,mm" opacity="1" sectionX="0" sectionHeight="25.6574" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" visibility="1" type="65647" positionOnPage="242.194,161,mm"> + <FrameColor alpha="255" green="0" red="0" blue="0"/> + <BackgroundColor alpha="255" green="255" red="255" blue="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> </LayoutItem> - <LayoutItem templateUuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" excludeFromExports="0" id="鏍囬" marginY="0" background="false" labelText="{title}" blendMode="0" halign="4" zValue="4" positionLock="true" visibility="1" type="65641" frameJoinStyle="miter" uuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" frame="false" position="84.816,2.42978,mm" htmlState="0" outlineWidthM="0.3,mm" itemRotation="0" groupUuid="" positionOnPage="84.816,2.42978,mm" size="129.364,11.1743,mm" referencePoint="0" opacity="1" marginX="0" valign="128"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem frame="false" itemRotation="0" id="鏍囬" zValue="4" background="false" blendMode="0" halign="4" groupUuid="" outlineWidthM="0.3,mm" valign="128" positionLock="true" htmlState="0" size="129.364,11.1743,mm" referencePoint="0" excludeFromExports="0" marginX="0" frameJoinStyle="miter" templateUuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" position="84.816,2.42978,mm" opacity="1" labelText="绠¢亾鍩虹澶ф暟鎹钩鍙帮紙DW1-1锛�" uuid="{81ccb104-2767-491d-8296-cd4ccbebed3e}" marginY="0" visibility="1" type="65641" positionOnPage="84.816,2.42978,mm"> + <FrameColor alpha="255" green="0" red="0" blue="0"/> + <BackgroundColor alpha="255" green="255" red="255" blue="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <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 blue="0" green="0" red="0" alpha="255"/> + <FontColor alpha="255" green="0" red="0" blue="0"/> </LayoutItem> - <LayoutItem background="true" groupUuid="" rasterBorderColor="0,0,0,255" symbolWidth="7" referencePoint="0" opacity="1" lineSpacing="1" frame="true" templateUuid="{52b0f928-714f-4672-bc0b-a13e401f8465}" blendMode="0" minSymbolSize="0" legendFilterByAtlas="0" visibility="1" wmsLegendHeight="25" rasterBorderWidth="0" title="" splitLayer="0" itemRotation="0" fontColor="#000000" symbolHeight="4" type="65642" equalColumnWidth="0" size="51.5396,34.6028,mm" symbolAlignment="1" boxSpace="2" frameJoinStyle="round" rasterBorder="1" columnSpace="2" map_uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" positionLock="false" uuid="{52b0f928-714f-4672-bc0b-a13e401f8465}" maxSymbolSize="0" outlineWidthM="0.1,mm" resizeToContents="0" excludeFromExports="0" id="鍥句緥" wrapChar="" columnCount="1" zValue="3" titleAlignment="1" position="12.9877,152.005,mm" positionOnPage="12.9877,152.005,mm" wmsLegendWidth="50"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem size="51.5396,34.6028,mm" symbolAlignment="1" splitLayer="0" map_uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" opacity="1" blendMode="0" columnSpace="2" position="12.9877,152.005,mm" rasterBorderColor="0,0,0,255" legendFilterByAtlas="0" frame="true" boxSpace="2" zValue="3" groupUuid="" minSymbolSize="0" itemRotation="0" wrapChar="" referencePoint="0" type="65642" wmsLegendWidth="50" visibility="1" lineSpacing="1" rasterBorderWidth="0" background="true" titleAlignment="1" id="鍥句緥" frameJoinStyle="round" rasterBorder="1" uuid="{52b0f928-714f-4672-bc0b-a13e401f8465}" positionOnPage="12.9877,152.005,mm" title="" excludeFromExports="0" symbolHeight="4" resizeToContents="0" wmsLegendHeight="25" fontColor="#000000" columnCount="1" maxSymbolSize="0" positionLock="true" symbolWidth="7" equalColumnWidth="0" outlineWidthM="0.1,mm" templateUuid="{52b0f928-714f-4672-bc0b-a13e401f8465}"> + <FrameColor alpha="255" green="0" red="0" blue="0"/> + <BackgroundColor alpha="255" green="255" red="255" blue="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> <styles> - <style name="title" alignment="1" marginBottom="3.5"> + <style alignment="1" marginBottom="3.5" name="title"> <styleFont style="" description="SimSun,16,-1,5,50,0,0,0,0,0"/> </style> - <style name="group" alignment="1" marginTop="3"> + <style marginTop="3" alignment="1" name="group"> <styleFont style="" description="SimSun,14,-1,5,50,0,0,0,0,0"/> </style> - <style name="subgroup" alignment="1" marginTop="3"> + <style marginTop="3" alignment="1" name="subgroup"> <styleFont style="" description="SimSun,12,-1,5,50,0,0,0,0,0"/> </style> - <style name="symbol" alignment="1" marginTop="2.5"> + <style marginTop="2.5" alignment="1" name="symbol"> <styleFont style="" description="SimSun,9,-1,5,50,0,0,0,0,0"/> </style> - <style marginLeft="2" name="symbolLabel" alignment="1" marginTop="2"> + <style marginLeft="2" marginTop="2" alignment="1" name="symbolLabel"> <styleFont style="" description="SimSun,12,-1,5,50,0,0,0,0,0"/> </style> </styles> <layer-tree-group> <customproperties/> - <layer-tree-group checked="Qt::Checked" name="绠¢亾鍩虹澶ф暟鎹钩鍙�" expanded="1"> + <layer-tree-group expanded="1" checked="Qt::Checked" name="绠¢亾鍩虹澶ф暟鎹钩鍙�"> <customproperties/> - <layer-tree-layer id="VALVEHOUSEPOINT_5d566d73_8061_447a_a9e3_3e7adad17bd7" source="shps/VALVEHOUSEPOINT.shp" checked="Qt::Checked" name="闃�瀹�" patch_size="-1,-1" expanded="1" legend_exp="" legend_split_behavior="0" providerKey="ogr"> + <layer-tree-layer expanded="1" checked="Qt::Checked" id="VALVEHOUSEPOINT_5d566d73_8061_447a_a9e3_3e7adad17bd7" providerKey="ogr" legend_exp="" patch_size="-1,-1" legend_split_behavior="0" name="闃�瀹�" source="../../../../data/13.cppe/shps/VALVEHOUSEPOINT.shp"> <customproperties/> </layer-tree-layer> - <layer-tree-layer id="SITEPOINT_484a52d0_7a8e_4f9e_9ad3_d940e10e24d3" source="shps/SITEPOINT.shp" checked="Qt::Checked" name="绔欏満" patch_size="-1,-1" expanded="1" legend_exp="" legend_split_behavior="0" providerKey="ogr"> + <layer-tree-layer expanded="1" checked="Qt::Checked" id="SITEPOINT_484a52d0_7a8e_4f9e_9ad3_d940e10e24d3" providerKey="ogr" legend_exp="" patch_size="-1,-1" legend_split_behavior="0" name="绔欏満" source="../../../../data/13.cppe/shps/SITEPOINT.shp"> <customproperties/> </layer-tree-layer> - <layer-tree-layer id="STATIONSERIES_5bfe7f3c_86b2_4fda_bae4_c44a33ab33e0" source="shps/STATIONSERIES.shp" checked="Qt::Checked" name="绠¢亾涓績绾�" patch_size="-1,-1" expanded="1" legend_exp="" legend_split_behavior="0" providerKey="ogr"> + <layer-tree-layer expanded="1" checked="Qt::Checked" id="STATIONSERIES_5bfe7f3c_86b2_4fda_bae4_c44a33ab33e0" providerKey="ogr" legend_exp="" patch_size="-1,-1" legend_split_behavior="0" name="绠¢亾涓績绾�" source="../../../../data/13.cppe/shps/STATIONSERIES.shp"> <customproperties/> </layer-tree-layer> </layer-tree-group> - <custom-order enabled="0"> - <item>STATIONSERIES_5bfe7f3c_86b2_4fda_bae4_c44a33ab33e0</item> - <item>VALVEHOUSEPOINT_5d566d73_8061_447a_a9e3_3e7adad17bd7</item> - <item>SITEPOINT_484a52d0_7a8e_4f9e_9ad3_d940e10e24d3</item> - </custom-order> + <custom-order enabled="0"/> </layer-tree-group> </LayoutItem> - <LayoutItem templateUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" excludeFromExports="0" id="鍦板浘" background="true" followPresetName="" blendMode="0" zValue="2" positionLock="true" visibility="1" type="65639" frameJoinStyle="round" keepLayerSet="false" uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" isTemporal="0" frame="true" followPreset="false" position="9.47563,16.5367,mm" outlineWidthM="4,px" drawCanvasItems="false" itemRotation="0" groupUuid="" positionOnPage="9.47563,16.5367,mm" labelMargin="0,mm" size="278.717,173.275,mm" referencePoint="0" opacity="1" mapRotation="{rotation}" mapFlags="0"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem frame="true" itemRotation="0" mapRotation="0" id="鍦板浘" zValue="2" background="true" blendMode="0" groupUuid="" outlineWidthM="4,px" drawCanvasItems="false" followPreset="false" followPresetName="" labelMargin="0,mm" mapFlags="0" positionLock="false" size="279,176,mm" referencePoint="0" excludeFromExports="0" frameJoinStyle="round" templateUuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" keepLayerSet="false" position="9,16,mm" opacity="1" uuid="{4e649c5d-cabe-431f-a385-d69809d87ebf}" isTemporal="0" visibility="1" type="65639" positionOnPage="9,16,mm"> + <FrameColor alpha="255" green="0" red="0" blue="0"/> + <BackgroundColor alpha="255" green="255" red="255" blue="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> - <Extent xmin="{xmin}" ymin="{ymin}" ymax="{ymax}" xmax="{xmax}"/> + <Extent ymin="3.7366348993223113" xmax="155.42106283803394717" xmin="50.45306169610054781" ymax="69.95300837953836037"/> <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> @@ -215,67 +211,67 @@ </spatialrefsys> </crs> <LayerSet/> - <ComposerMapGrid annotationExpression="" rotatedTicksMarginToCorner="0" name="缃戞牸 1" frameFillColor1="255,255,255,255" offsetX="0" bottomAnnotationPosition="1" frameFillColor2="0,0,0,255" leftAnnotationDirection="2" gridFrameMargin="0" blendMode="0" topFrameDivisions="0" gridFramePenColor="0,0,0,255" offsetY="0" annotationFormat="4" intervalX="30" showAnnotation="1" bottomFrameDivisions="0" rotatedTicksMinimumAngle="0" rotatedAnnotationsMarginToCorner="0" rightAnnotationPosition="1" maximumIntervalWidth="10" bottomAnnotationDisplay="0" topAnnotationDisplay="0" annotationPrecision="3" leftAnnotationDisplay="0" topAnnotationPosition="1" unit="1" uuid="{33b582a6-ae09-42c2-b50b-ae68c9d6d71a}" frameAnnotationDistance="1" rotatedAnnotationsMinimumAngle="0" rotatedTicksLengthMode="0" rotatedAnnotationsEnabled="0" intervalY="30" rotatedAnnotationsLengthMode="0" crossLength="3" rightAnnotationDisplay="0" bottomAnnotationDirection="0" gridFrameStyle="0" gridFramePenThickness="0.29999999999999999" gridFrameSideFlags="15" rightFrameDivisions="0" topAnnotationDirection="0" gridFrameWidth="2" leftAnnotationPosition="1" rightAnnotationDirection="2" leftFrameDivisions="0" rotatedTicksEnabled="0" show="1" position="3" gridStyle="3" minimumIntervalWidth="12"> + <ComposerMapGrid intervalY="30" rotatedAnnotationsEnabled="0" rotatedTicksMarginToCorner="0" bottomFrameDivisions="0" frameFillColor1="255,255,255,255" bottomAnnotationPosition="1" blendMode="0" minimumIntervalWidth="12" rotatedTicksEnabled="0" gridFrameWidth="2" rightAnnotationDirection="2" position="3" annotationExpression="" leftAnnotationDisplay="0" rightFrameDivisions="0" leftAnnotationPosition="1" rightAnnotationDisplay="0" maximumIntervalWidth="10" rotatedTicksLengthMode="0" gridFramePenThickness="0.29999999999999999" crossLength="3" bottomAnnotationDirection="0" annotationFormat="4" intervalX="30" gridStyle="3" name="缃戞牸 1" gridFramePenColor="0,0,0,255" topAnnotationDisplay="0" rotatedAnnotationsLengthMode="0" topAnnotationDirection="0" frameFillColor2="0,0,0,255" rightAnnotationPosition="1" rotatedAnnotationsMinimumAngle="0" rotatedTicksMinimumAngle="0" uuid="{33b582a6-ae09-42c2-b50b-ae68c9d6d71a}" offsetX="0" topAnnotationPosition="1" leftFrameDivisions="0" frameAnnotationDistance="1" show="1" gridFrameStyle="0" offsetY="0" rotatedAnnotationsMarginToCorner="0" showAnnotation="1" gridFrameSideFlags="15" bottomAnnotationDisplay="0" unit="1" leftAnnotationDirection="2" annotationPrecision="3" gridFrameMargin="0" topFrameDivisions="0"> <lineStyle> - <symbol name="" clip_to_extent="1" force_rhr="0" type="line" alpha="0.616"> - <layer class="SimpleLine" enabled="1" pass="0" 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"/> + <symbol alpha="0.616" type="line" clip_to_extent="1" name="" force_rhr="0"> + <layer pass="0" class="SimpleLine" locked="0" enabled="1"> + <prop k="align_dash_pattern" v="0"/> + <prop k="capstyle" v="round"/> + <prop k="customdash" v="0.66;2"/> + <prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="customdash_unit" v="MM"/> + <prop k="dash_pattern_offset" v="0"/> + <prop k="dash_pattern_offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="dash_pattern_offset_unit" v="MM"/> + <prop k="draw_inside_polygon" v="0"/> + <prop k="joinstyle" v="round"/> + <prop k="line_color" v="0,0,0,255"/> + <prop k="line_style" v="solid"/> + <prop k="line_width" v="0.5"/> + <prop k="line_width_unit" v="MM"/> + <prop k="offset" v="0"/> + <prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="offset_unit" v="MM"/> + <prop k="ring_filter" v="0"/> + <prop k="tweak_dash_pattern_on_corners" v="0"/> + <prop k="use_custom_dash" v="1"/> + <prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/> <data_defined_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </data_defined_properties> </layer> </symbol> </lineStyle> <markerStyle> - <symbol name="" clip_to_extent="1" force_rhr="0" type="marker" alpha="1"> - <layer class="SimpleMarker" enabled="1" pass="0" 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"/> + <symbol alpha="1" type="marker" clip_to_extent="1" name="" force_rhr="0"> + <layer pass="0" class="SimpleMarker" locked="0" enabled="1"> + <prop k="angle" v="0"/> + <prop k="color" v="0,0,0,255"/> + <prop k="horizontal_anchor_point" v="1"/> + <prop k="joinstyle" v="bevel"/> + <prop k="name" v="circle"/> + <prop k="offset" v="0,0"/> + <prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="offset_unit" v="MM"/> + <prop k="outline_color" v="35,35,35,255"/> + <prop k="outline_style" v="solid"/> + <prop k="outline_width" v="0"/> + <prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="outline_width_unit" v="MM"/> + <prop k="scale_method" v="diameter"/> + <prop k="size" v="2"/> + <prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="size_unit" v="MM"/> + <prop k="vertical_anchor_point" v="1"/> <data_defined_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </data_defined_properties> </layer> @@ -292,55 +288,55 @@ <ellipsoidacronym>EPSG:7030</ellipsoidacronym> <geographicflag>true</geographicflag> </spatialrefsys> - <text-style fontKerning="1" fontSize="8" fontSizeMapUnitScale="3x:0,0,0,0,0,0" textColor="0,0,0,255" multilineHeight="1" allowHtml="0" fontLetterSpacing="0" blendMode="0" capitalization="0" fontStrikeout="0" textOrientation="horizontal" fontItalic="0" fontFamily="SimSun" textOpacity="1" fontUnderline="0" fontWeight="50" namedStyle="" previewBkgrdColor="255,255,255,255" fontWordSpacing="0" fontSizeUnit="Point"> - <text-buffer bufferBlendMode="0" bufferDraw="0" bufferColor="255,255,255,255" bufferSizeUnits="MM" bufferOpacity="1" bufferSize="1" bufferNoFill="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferJoinStyle="128"/> - <text-mask maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskType="0" maskJoinStyle="128" maskedSymbolLayers="" maskSize="1.5" maskEnabled="0" maskSizeUnits="MM" maskOpacity="1"/> - <background shapeSVGFile="" shapeDraw="0" shapeSizeY="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeBorderColor="128,128,128,255" shapeOffsetUnit="MM" shapeSizeX="0" shapeJoinStyle="64" shapeRadiiY="0" shapeRadiiX="0" shapeOpacity="1" shapeBlendMode="0" shapeOffsetY="0" shapeRotationType="0" shapeType="0" shapeBorderWidth="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeBorderWidthUnit="MM" shapeFillColor="255,255,255,255" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetX="0" shapeRadiiUnit="MM" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeSizeUnit="MM" shapeRotation="0"> - <symbol name="markerSymbol" clip_to_extent="1" force_rhr="0" type="marker" alpha="1"> - <layer class="SimpleMarker" enabled="1" pass="0" 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"/> + <text-style fontSizeUnit="Point" allowHtml="0" fontStrikeout="0" blendMode="0" fontItalic="0" capitalization="0" textColor="0,0,0,255" multilineHeight="1" fontKerning="1" fontWeight="50" namedStyle="" fontFamily="SimSun" fontSize="8" fontUnderline="0" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontLetterSpacing="0" fontWordSpacing="0" textOrientation="horizontal" previewBkgrdColor="255,255,255,255" textOpacity="1"> + <text-buffer bufferOpacity="1" bufferDraw="0" bufferSize="1" bufferBlendMode="0" bufferColor="255,255,255,255" bufferNoFill="1" bufferJoinStyle="128" bufferSizeUnits="MM" bufferSizeMapUnitScale="3x:0,0,0,0,0,0"/> + <text-mask maskJoinStyle="128" maskEnabled="0" maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskedSymbolLayers="" maskOpacity="1" maskType="0" maskSize="1.5" maskSizeUnits="MM"/> + <background shapeSizeX="0" shapeOffsetUnit="MM" shapeSVGFile="" shapeRadiiX="0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeRadiiY="0" shapeBorderWidth="0" shapeSizeUnit="MM" shapeType="0" shapeBorderColor="128,128,128,255" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeBlendMode="0" shapeRotationType="0" shapeOffsetX="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeDraw="0" shapeRotation="0" shapeFillColor="255,255,255,255" shapeOffsetY="0" shapeOpacity="1" shapeJoinStyle="64" shapeBorderWidthUnit="MM" shapeRadiiUnit="MM" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeSizeY="0"> + <symbol alpha="1" type="marker" clip_to_extent="1" name="markerSymbol" force_rhr="0"> + <layer pass="0" class="SimpleMarker" locked="0" enabled="1"> + <prop k="angle" v="0"/> + <prop k="color" v="231,113,72,255"/> + <prop k="horizontal_anchor_point" v="1"/> + <prop k="joinstyle" v="bevel"/> + <prop k="name" v="circle"/> + <prop k="offset" v="0,0"/> + <prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="offset_unit" v="MM"/> + <prop k="outline_color" v="35,35,35,255"/> + <prop k="outline_style" v="solid"/> + <prop k="outline_width" v="0"/> + <prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="outline_width_unit" v="MM"/> + <prop k="scale_method" v="diameter"/> + <prop k="size" v="2"/> + <prop k="size_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="size_unit" v="MM"/> + <prop k="vertical_anchor_point" v="1"/> <data_defined_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </data_defined_properties> </layer> </symbol> </background> - <shadow shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetDist="1" shadowOffsetAngle="135" shadowDraw="0" shadowBlendMode="6" shadowColor="0,0,0,255" shadowOffsetGlobal="1" shadowRadiusUnit="MM" shadowOffsetUnit="MM" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowUnder="0" shadowRadiusAlphaOnly="0" shadowScale="100" shadowOpacity="0.7" shadowRadius="1.5"/> + <shadow shadowDraw="0" shadowUnder="0" shadowOffsetUnit="MM" shadowRadiusUnit="MM" shadowRadiusAlphaOnly="0" shadowOffsetAngle="135" shadowColor="0,0,0,255" shadowScale="100" shadowOffsetDist="1" shadowOpacity="0.7" shadowBlendMode="6" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadius="1.5" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetGlobal="1"/> <dd_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dd_properties> </text-style> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dataDefinedProperties> <customproperties/> @@ -348,105 +344,105 @@ </ComposerMapGrid> <AtlasMap margin="0.10000000000000001" atlasDriven="0" scalingMode="2"/> <labelBlockingItems/> - <atlasClippingSettings restrictLayers="0" enabled="0" forceLabelsInside="0" clippingType="1"> + <atlasClippingSettings forceLabelsInside="0" clippingType="1" restrictLayers="0" enabled="0"> <layersToClip/> </atlasClippingSettings> - <itemClippingSettings clipSource="" enabled="0" forceLabelsInside="0" clippingType="1"/> + <itemClippingSettings forceLabelsInside="1" clippingType="1" enabled="1" clipSource="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}"/> </LayoutItem> - <LayoutItem templateUuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" excludeFromExports="0" id="杈规" background="false" blendMode="0" zValue="1" positionLock="true" visibility="1" type="65643" frameJoinStyle="miter" uuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" shapeType="1" frame="false" cornerRadiusMeasure="0,mm" position="2.6816,2,mm" outlineWidthM="0.3,mm" itemRotation="0" groupUuid="" positionOnPage="2.6816,2,mm" size="292.354,205.447,mm" referencePoint="0" opacity="1"> - <FrameColor blue="0" green="0" red="0" alpha="255"/> - <BackgroundColor blue="255" green="255" red="255" alpha="255"/> + <LayoutItem frame="false" cornerRadiusMeasure="0,mm" itemRotation="0" id="杈规" zValue="1" background="false" blendMode="0" groupUuid="" outlineWidthM="0.3,mm" shapeType="1" positionLock="true" size="292.354,205.447,mm" referencePoint="0" excludeFromExports="0" frameJoinStyle="miter" templateUuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" position="2.6816,2,mm" opacity="1" uuid="{76e708b9-4aa8-4365-b8ba-3157f836dfa9}" visibility="1" type="65643" positionOnPage="2.6816,2,mm"> + <FrameColor alpha="255" green="0" red="0" blue="0"/> + <BackgroundColor alpha="255" green="255" red="255" blue="255"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> - <symbol name="" clip_to_extent="1" force_rhr="0" type="fill" alpha="1"> - <layer class="SimpleLine" enabled="1" pass="0" 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"/> + <symbol alpha="1" type="fill" clip_to_extent="1" name="" force_rhr="0"> + <layer pass="0" class="SimpleLine" locked="0" enabled="1"> + <prop k="align_dash_pattern" v="0"/> + <prop k="capstyle" v="square"/> + <prop k="customdash" v="5;2"/> + <prop k="customdash_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="customdash_unit" v="Pixel"/> + <prop k="dash_pattern_offset" v="0"/> + <prop k="dash_pattern_offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="dash_pattern_offset_unit" v="MM"/> + <prop k="draw_inside_polygon" v="0"/> + <prop k="joinstyle" v="bevel"/> + <prop k="line_color" v="53,121,177,255"/> + <prop k="line_style" v="solid"/> + <prop k="line_width" v="0.96"/> + <prop k="line_width_unit" v="Pixel"/> + <prop k="offset" v="0"/> + <prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/> + <prop k="offset_unit" v="Pixel"/> + <prop k="ring_filter" v="0"/> + <prop k="tweak_dash_pattern_on_corners" v="0"/> + <prop k="use_custom_dash" v="0"/> + <prop k="width_map_unit_scale" v="3x:0,0,0,0,0,0"/> <data_defined_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </data_defined_properties> </layer> </symbol> </LayoutItem> - <LayoutMultiFrame templateUuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" cellMargin="1" emptyTableMessage="" emptyTableMode="0" verticalGrid="1" horizontalGrid="1" gridColor="0,0,0,255" type="65652" gridStrokeWidth="0.5" uuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" showGrid="0" headerHAlignment="0" wrapBehavior="0" resizeMode="0" includeHeader="0" backgroundColor="255,255,255,255" headerMode="2" showEmptyRows="0"> - <childFrame templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}"/> + <LayoutMultiFrame headerMode="2" resizeMode="0" emptyTableMessage="" emptyTableMode="0" includeHeader="0" cellMargin="1" gridStrokeWidth="0.5" gridColor="0,0,0,255" templateUuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" verticalGrid="1" showEmptyRows="0" headerHAlignment="0" showGrid="0" uuid="{3b12245e-8390-439c-bcc3-c9bbf6061b53}" wrapBehavior="0" type="65652" backgroundColor="255,255,255,255" horizontalGrid="1"> + <childFrame uuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}" templateUuid="{7cb1fe59-d2d9-427d-a2d1-4edbc7285021}"/> <LayoutObject> <dataDefinedProperties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dataDefinedProperties> <customproperties/> </LayoutObject> <headerTextFormat> - <text-style fontKerning="1" fontSize="10" fontSizeMapUnitScale="3x:0,0,0,0,0,0" textColor="0,0,0,255" multilineHeight="1" allowHtml="0" fontLetterSpacing="0" blendMode="0" capitalization="0" fontStrikeout="0" textOrientation="horizontal" fontItalic="0" fontFamily="SimSun" textOpacity="1" fontUnderline="0" fontWeight="50" namedStyle="" previewBkgrdColor="255,255,255,255" fontWordSpacing="0" fontSizeUnit="Point"> - <text-buffer bufferBlendMode="0" bufferDraw="0" bufferColor="255,255,255,255" bufferSizeUnits="MM" bufferOpacity="1" bufferSize="1" bufferNoFill="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferJoinStyle="128"/> - <text-mask maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskType="0" maskJoinStyle="128" maskedSymbolLayers="" maskSize="1.5" maskEnabled="0" maskSizeUnits="MM" maskOpacity="1"/> - <background shapeSVGFile="" shapeDraw="0" shapeSizeY="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeBorderColor="128,128,128,255" shapeOffsetUnit="MM" shapeSizeX="0" shapeJoinStyle="64" shapeRadiiY="0" shapeRadiiX="0" shapeOpacity="1" shapeBlendMode="0" shapeOffsetY="0" shapeRotationType="0" shapeType="0" shapeBorderWidth="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeBorderWidthUnit="MM" shapeFillColor="255,255,255,255" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetX="0" shapeRadiiUnit="MM" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeSizeUnit="MM" shapeRotation="0"/> - <shadow shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetDist="1" shadowOffsetAngle="135" shadowDraw="0" shadowBlendMode="6" shadowColor="0,0,0,255" shadowOffsetGlobal="1" shadowRadiusUnit="MM" shadowOffsetUnit="MM" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowUnder="0" shadowRadiusAlphaOnly="0" shadowScale="100" shadowOpacity="0.7" shadowRadius="1.5"/> + <text-style fontSizeUnit="Point" allowHtml="0" fontStrikeout="0" blendMode="0" fontItalic="0" capitalization="0" textColor="0,0,0,255" multilineHeight="1" fontKerning="1" fontWeight="50" namedStyle="" fontFamily="SimSun" fontSize="10" fontUnderline="0" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontLetterSpacing="0" fontWordSpacing="0" textOrientation="horizontal" previewBkgrdColor="255,255,255,255" textOpacity="1"> + <text-buffer bufferOpacity="1" bufferDraw="0" bufferSize="1" bufferBlendMode="0" bufferColor="255,255,255,255" bufferNoFill="1" bufferJoinStyle="128" bufferSizeUnits="MM" bufferSizeMapUnitScale="3x:0,0,0,0,0,0"/> + <text-mask maskJoinStyle="128" maskEnabled="0" maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskedSymbolLayers="" maskOpacity="1" maskType="0" maskSize="1.5" maskSizeUnits="MM"/> + <background shapeSizeX="0" shapeOffsetUnit="MM" shapeSVGFile="" shapeRadiiX="0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeRadiiY="0" shapeBorderWidth="0" shapeSizeUnit="MM" shapeType="0" shapeBorderColor="128,128,128,255" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeBlendMode="0" shapeRotationType="0" shapeOffsetX="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeDraw="0" shapeRotation="0" shapeFillColor="255,255,255,255" shapeOffsetY="0" shapeOpacity="1" shapeJoinStyle="64" shapeBorderWidthUnit="MM" shapeRadiiUnit="MM" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeSizeY="0"/> + <shadow shadowDraw="0" shadowUnder="0" shadowOffsetUnit="MM" shadowRadiusUnit="MM" shadowRadiusAlphaOnly="0" shadowOffsetAngle="135" shadowColor="0,0,0,255" shadowScale="100" shadowOffsetDist="1" shadowOpacity="0.7" shadowBlendMode="6" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadius="1.5" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetGlobal="1"/> <dd_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dd_properties> </text-style> </headerTextFormat> <contentTextFormat> - <text-style fontKerning="1" fontSize="10" fontSizeMapUnitScale="3x:0,0,0,0,0,0" textColor="0,0,0,255" multilineHeight="1" allowHtml="0" fontLetterSpacing="0" blendMode="0" capitalization="0" fontStrikeout="0" textOrientation="horizontal" fontItalic="0" fontFamily="SimSun" textOpacity="1" fontUnderline="0" fontWeight="50" namedStyle="" previewBkgrdColor="255,255,255,255" fontWordSpacing="0" fontSizeUnit="Point"> - <text-buffer bufferBlendMode="0" bufferDraw="0" bufferColor="255,255,255,255" bufferSizeUnits="MM" bufferOpacity="1" bufferSize="1" bufferNoFill="1" bufferSizeMapUnitScale="3x:0,0,0,0,0,0" bufferJoinStyle="128"/> - <text-mask maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskType="0" maskJoinStyle="128" maskedSymbolLayers="" maskSize="1.5" maskEnabled="0" maskSizeUnits="MM" maskOpacity="1"/> - <background shapeSVGFile="" shapeDraw="0" shapeSizeY="0" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeBorderColor="128,128,128,255" shapeOffsetUnit="MM" shapeSizeX="0" shapeJoinStyle="64" shapeRadiiY="0" shapeRadiiX="0" shapeOpacity="1" shapeBlendMode="0" shapeOffsetY="0" shapeRotationType="0" shapeType="0" shapeBorderWidth="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeBorderWidthUnit="MM" shapeFillColor="255,255,255,255" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeOffsetX="0" shapeRadiiUnit="MM" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeSizeUnit="MM" shapeRotation="0"/> - <shadow shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetDist="1" shadowOffsetAngle="135" shadowDraw="0" shadowBlendMode="6" shadowColor="0,0,0,255" shadowOffsetGlobal="1" shadowRadiusUnit="MM" shadowOffsetUnit="MM" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowUnder="0" shadowRadiusAlphaOnly="0" shadowScale="100" shadowOpacity="0.7" shadowRadius="1.5"/> + <text-style fontSizeUnit="Point" allowHtml="0" fontStrikeout="0" blendMode="0" fontItalic="0" capitalization="0" textColor="0,0,0,255" multilineHeight="1" fontKerning="1" fontWeight="50" namedStyle="" fontFamily="SimSun" fontSize="10" fontUnderline="0" fontSizeMapUnitScale="3x:0,0,0,0,0,0" fontLetterSpacing="0" fontWordSpacing="0" textOrientation="horizontal" previewBkgrdColor="255,255,255,255" textOpacity="1"> + <text-buffer bufferOpacity="1" bufferDraw="0" bufferSize="1" bufferBlendMode="0" bufferColor="255,255,255,255" bufferNoFill="1" bufferJoinStyle="128" bufferSizeUnits="MM" bufferSizeMapUnitScale="3x:0,0,0,0,0,0"/> + <text-mask maskJoinStyle="128" maskEnabled="0" maskSizeMapUnitScale="3x:0,0,0,0,0,0" maskedSymbolLayers="" maskOpacity="1" maskType="0" maskSize="1.5" maskSizeUnits="MM"/> + <background shapeSizeX="0" shapeOffsetUnit="MM" shapeSVGFile="" shapeRadiiX="0" shapeRadiiMapUnitScale="3x:0,0,0,0,0,0" shapeRadiiY="0" shapeBorderWidth="0" shapeSizeUnit="MM" shapeType="0" shapeBorderColor="128,128,128,255" shapeSizeMapUnitScale="3x:0,0,0,0,0,0" shapeBlendMode="0" shapeRotationType="0" shapeOffsetX="0" shapeOffsetMapUnitScale="3x:0,0,0,0,0,0" shapeDraw="0" shapeRotation="0" shapeFillColor="255,255,255,255" shapeOffsetY="0" shapeOpacity="1" shapeJoinStyle="64" shapeBorderWidthUnit="MM" shapeRadiiUnit="MM" shapeBorderWidthMapUnitScale="3x:0,0,0,0,0,0" shapeSizeType="0" shapeSizeY="0"/> + <shadow shadowDraw="0" shadowUnder="0" shadowOffsetUnit="MM" shadowRadiusUnit="MM" shadowRadiusAlphaOnly="0" shadowOffsetAngle="135" shadowColor="0,0,0,255" shadowScale="100" shadowOffsetDist="1" shadowOpacity="0.7" shadowBlendMode="6" shadowOffsetMapUnitScale="3x:0,0,0,0,0,0" shadowRadius="1.5" shadowRadiusMapUnitScale="3x:0,0,0,0,0,0" shadowOffsetGlobal="1"/> <dd_properties> <Option type="Map"> - <Option name="name" type="QString" value=""/> + <Option type="QString" value="" name="name"/> <Option name="properties"/> - <Option name="type" type="QString" value="collection"/> + <Option type="QString" value="collection" name="type"/> </Option> </dd_properties> </text-style> </contentTextFormat> <displayColumns> - <column attribute="" sortOrder="0" heading="" sortByRank="0" vAlignment="128" hAlignment="1" width="0"> - <backgroundColor blue="0" green="0" red="0" alpha="0"/> + <column attribute="" sortByRank="0" vAlignment="128" sortOrder="0" width="0" hAlignment="1" heading=""> + <backgroundColor alpha="0" green="0" red="0" blue="0"/> </column> - <column attribute="" sortOrder="0" heading="璇存槑" sortByRank="0" vAlignment="128" hAlignment="1" width="0"> - <backgroundColor blue="0" green="0" red="0" alpha="0"/> + <column attribute="" sortByRank="0" vAlignment="128" sortOrder="0" width="0" hAlignment="1" heading="璇存槑"> + <backgroundColor alpha="0" green="0" red="0" blue="0"/> </column> </displayColumns> <sortColumns/> @@ -462,92 +458,92 @@ <lastRow cellBackgroundColor="255,255,255,255" enabled="0"/> </cellStyles> <headers> - <header attribute="" sortOrder="0" heading="" sortByRank="0" vAlignment="128" hAlignment="1" width="0"> - <backgroundColor blue="0" green="0" red="0" alpha="0"/> + <header attribute="" sortByRank="0" vAlignment="128" sortOrder="0" width="0" hAlignment="1" heading=""> + <backgroundColor alpha="0" green="0" red="0" blue="0"/> </header> - <header attribute="" sortOrder="0" heading="璇存槑" sortByRank="0" vAlignment="128" hAlignment="1" width="0"> - <backgroundColor blue="0" green="0" red="0" alpha="0"/> + <header attribute="" sortByRank="0" vAlignment="128" sortOrder="0" width="0" hAlignment="1" heading="璇存槑"> + <backgroundColor alpha="0" green="0" red="0" blue="0"/> </header> </headers> <contents> <row> <Option type="Map"> - <Option name="background" type="color" value=""/> - <Option name="content" type="QString" value="璇�"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="2"/> - <Option name="valign" type="int" value="0"/> + <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 name="background" type="color" value=""/> - <Option name="content" type="QString" value="鏄�"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="0"/> - <Option name="valign" type="int" value="0"/> + <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 name="background" type="color" value=""/> - <Option name="content" type="QString" value="鐪佷唤锛�"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="2"/> - <Option name="valign" type="int" value="128"/> + <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 name="background" type="color" value=""/> - <Option name="content" type="QString" value="{province}"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="1"/> - <Option name="valign" type="int" value="128"/> + <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 name="background" type="color" value=""/> - <Option name="content" type="QString" value="姣斾緥灏猴細"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="2"/> - <Option name="valign" type="int" value="128"/> + <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 name="background" type="color" value=""/> - <Option name="content" type="QString" value="{scale}"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="1"/> - <Option name="valign" type="int" value="128"/> + <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 name="background" type="color" value=""/> - <Option name="content" type="QString" value="鍒嗚鲸鐜囷細"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="0"/> - <Option name="valign" type="int" value="0"/> + <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 name="background" type="color" value=""/> - <Option name="content" type="QString" value="{resolution}"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="0"/> - <Option name="valign" type="int" value="0"/> + <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 name="background" type="color" value=""/> - <Option name="content" type="QString" value="鍒跺浘鏃堕棿锛�"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="2"/> - <Option name="valign" type="int" value="0"/> + <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 name="background" type="color" value=""/> - <Option name="content" type="QString" value="{date}"/> - <Option name="foreground" type="color" value=""/> - <Option name="halign" type="int" value="0"/> - <Option name="valign" type="int" value="0"/> + <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> @@ -572,8 +568,6 @@ <property key="imageCropMarginTop" value="0"/> <property key="imageCropToContents" value="false"/> <property key="singleFile" value="true"/> - <property key="layers" value="{layers}"/> - <property key="imgPath" value="{imgPath}"/> </customproperties> - <Atlas coverageLayer="" filterFeatures="0" sortFeatures="0" enabled="0" hideCoverage="0" pageNameExpression="" filenamePattern="'output_'||@atlas_featurenumber"/> + <Atlas filterFeatures="0" hideCoverage="0" pageNameExpression="" filenamePattern="'output_'||@atlas_featurenumber" coverageLayer="" sortFeatures="0" enabled="0"/> </Layout> diff --git a/ExportMap/Sources/render.py b/ExportMap/Sources/render.py index 21b2bc7..0747006 100644 --- a/ExportMap/Sources/render.py +++ b/ExportMap/Sources/render.py @@ -82,6 +82,7 @@ # map = layout.itemById(r'鍦板浘') map = layout.referenceMap() +map.zoomToExtent(map.extent()) print('1:' + str(math.ceil(map.scale()))) # 璁剧疆鍥惧眰 @@ -92,9 +93,14 @@ # set_layers_valid(project, showLayers) set_item_visibility(root, showLayers) +collection = layout.pageCollection() +page = collection.page(0) +page.refreshItemSize() + # 鍒锋柊 -layout.refresh() map.refresh() +layout.updateBounds() +layout.refresh() # 瀵煎嚭 exporter = QgsLayoutExporter(layout) diff --git a/ExportMap/Test.html b/ExportMap/Test.html index f7c2565..8b274e7 100644 --- a/ExportMap/Test.html +++ b/ExportMap/Test.html @@ -23,30 +23,33 @@ } function exportMap1() { + var page = $("#selectPage").find("option:selected").text(); var data = { title: "绠¢亾鍩虹澶ф暟鎹钩鍙帮紙DW1-01锛�", - pageSize: "A3", + pageSize: page, province: "娌冲寳鐪�", scale: "1锛�5涓�", resolution: "5绫�", date: "2022.11.09", layers: "闃�瀹�,绠¢亾涓績绾�,鐭㈤噺娉ㄨ,鐭㈤噺鍥�", - rotation: 45, - xmin: 59.058299, - ymin: 9.565969, - ymax: 64.123674, - xmax: 146.815824 + rotation: 0, + xmin: 103.394023, + ymin: 30.690466, + ymax: 37.871048, + xmax: 112.534648 }; ajax("Export/Start", "POST", JSON.stringify(data), null, null, function (rs) { + alert(rs); console.log(rs); }); } function exportMap2() { + var page = $("#selectPage").find("option:selected").text(); var data = { title: "绠¢亾鍩虹澶ф暟鎹钩鍙帮紙DW1-02锛�", - pageSize: "A5", + pageSize: page, province: "灞变笢鐪�", scale: "1锛�20涓�", resolution: "20绫�", @@ -60,6 +63,7 @@ }; ajax("Export/Start", "POST", JSON.stringify(data), null, null, function (rs) { + alert(rs); console.log(rs); }); } @@ -67,7 +71,16 @@ </head> <body> <h2>鍑哄浘娴嬭瘯</h2> + <select id="selectPage"> + <option>A0</option> + <option>A1</option> + <option>A2</option> + <option>A3</option> + <option selected="selected">A4</option> + <option>A5</option> + <option>A6</option> + </select> <input type="button" value="鍑哄浘-1" onclick="exportMap1()" /> - <input type="button" value="鍑哄浘-2" onclick="exportMap1()" /> + <input type="button" value="鍑哄浘-2" onclick="exportMap2()" /> </body> </html> diff --git a/ExportMap/cs/ExportUtil.cs b/ExportMap/cs/ExportUtil.cs index 9a65e0c..bdc1333 100644 --- a/ExportMap/cs/ExportUtil.cs +++ b/ExportMap/cs/ExportUtil.cs @@ -119,44 +119,76 @@ /// <param name="py">Python鏂囦欢</param> /// <param name="qgz">QGIS宸ョ▼</param> /// <param name="qpt">QGIS妯℃澘</param> - public static void ExecPython(string py, string qgz, string qpt) + /// <returns>鎵ц缁撴灉</returns> + public static string ExecPython(string py, string qgz, string qpt) { + string str = null; try { - string args = string.Format("{0} -qgz {1} -qpt {2}", py, qgz, qpt); + string cmdText = string.Format("python {0} -qgz {1} -qpt {2}", py, qgz, qpt); Process p = new Process(); + p.StartInfo.FileName = "cmd.exe"; p.StartInfo.UseShellExecute = false; - p.StartInfo.ErrorDialog = true; - p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; - p.StartInfo.RedirectStandardError = false; - p.StartInfo.FileName = "python"; - p.StartInfo.Arguments = args; p.StartInfo.CreateNoWindow = true; - + p.StartInfo.RedirectStandardInput = true; + p.StartInfo.RedirectStandardOutput = true; + p.StartInfo.RedirectStandardError = true; p.Start(); + + StreamWriter si = p.StandardInput; // 鏍囧噯杈撳叆娴� + StreamReader so = p.StandardOutput; // 鏍囧噯杈撳嚭娴� + StreamReader se = p.StandardError; // 鏍囧噯閿欒娴� + + si.AutoFlush = true; + si.WriteLine(cmdText); + si.WriteLine("exit"); + + string info = so.ReadToEnd(); + str = se.ReadToEnd(); + if (p.HasExited == false) + { + p.Kill(); + } + + si.Close(); + so.Close(); + se.Close(); + p.Close(); } - catch + catch (Exception ex) { + str = ex.Message; } + + return str; } /// <summary> /// 鐢熸垚 /// </summary> /// <param name="args">鍑哄浘鍙傛暟</param> - public static void Generate(ExportArgs args) + /// <returns>鍥剧墖璺緞</returns> + public static string Generate(ExportArgs args) { string date = DateStr; string sub = GetExportSubFolder(); string qgz = "Test.qgz"; - args.imgPath = sub + "/" + date + ".png"; + args.imgPath = sub + "\\" + date + ".png"; args.qpt = date + ".qpt"; + args.SetDefault(); CreateTemplate(args); + string info = ExecPython(PyFile, qgz, args.qpt); - ExecPython(PyFile, qgz, args.qpt); + string qptFile = Path.Combine(SourcesPath, args.qpt); + if (File.Exists(qptFile)) + { + File.Delete(qptFile); + } + + return args.imgPath; } /// <summary> diff --git a/ExportMap/cs/Tool.cs b/ExportMap/cs/Tool.cs index c6b5826..f3afc7c 100644 --- a/ExportMap/cs/Tool.cs +++ b/ExportMap/cs/Tool.cs @@ -31,44 +31,6 @@ return String.Format("{0:0.##}{1}", dblSByte, Suffix[i]); } - public static string GetUploadFolder() - { - return GetFolder("uploadFolder"); - } - - public static string GetStyleFolder() - { - return GetFolder("styleFolder"); - } - - public static string GetDownloadFolder() - { - return GetFolder("downloadFolder"); - } - - public static string GetSGFolder() - { - return GetFolder("SGFolder"); - } - - public static string GetPublishFolder() - { - return GetFolder("publishFolder"); - } - - public static string GetFolder(string key) - { - string folder = ConfigurationManager.AppSettings[key]; - - string path = folder.IndexOf(":\\") > -1 ? folder : Path.Combine(BaseDir, folder); - if (!Directory.Exists(path)) - { - Directory.CreateDirectory(path); - } - - return path; - } - public static string GetSetting(string key) { return ConfigurationManager.AppSettings[key]; @@ -103,7 +65,6 @@ return list; } - #region * 鏆傛椂涓嶇敤 * public static void CreateDirectory(string dir) { WindowsIdentity wi = WindowsIdentity.GetCurrent(); @@ -137,6 +98,5 @@ return (T)formatter.Deserialize(stream); } } - #endregion } } \ No newline at end of file -- Gitblit v1.9.3