Files
MarketGrid/marketgrid/styles/aoi.xml
T

580 lines
32 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<maplayer autoRefreshMode="Disabled" autoRefreshTime="0" geometry="Polygon" hasScaleBasedVisibilityFlag="0" labelsEnabled="0" layerType="Vector" legendPlaceholderImage="" maxScale="0" minScale="0" readOnly="0" refreshOnNotifyEnabled="0" refreshOnNotifyMessage="" simplifyAlgorithm="0" simplifyDrawingHints="1" simplifyDrawingTol="1" simplifyLocal="1" simplifyMaxScale="1" styleCategories="AllStyleCategories" symbologyReferenceScale="-1" type="vector" wkbType="MultiPolygon">
<extent>
<xmin>113.0185089111328125</xmin>
<ymin>22.56378555297851563</ymin>
<xmax>113.11505126953125</xmax>
<ymax>22.64963912963867188</ymax>
</extent>
<wgs84extent>
<xmin>113.0185089111328125</xmin>
<ymin>22.56378555297851563</ymin>
<xmax>113.11505126953125</xmax>
<ymax>22.64963912963867188</ymax>
</wgs84extent>
<id>AOI_______2f7661f4_98cb_41c9_b21f_42d687d2a7f5</id>
<datasource>./移动C端采样点比例_AOI.gpkg|layername=AOI市场网格匹配</datasource>
<layername>AOI级报表_市场网格匹配</layername>
<srs>
<spatialrefsys nativeFormat="Wkt">
<wkt>GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],MEMBER["World Geodetic System 1984 (G2296)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],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["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]]</wkt>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>EPSG:7030</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</srs>
<resourceMetadata>
<identifier />
<parentidentifier />
<language />
<type>dataset</type>
<title />
<abstract />
<links />
<dates />
<fees />
<encoding />
<crs>
<spatialrefsys nativeFormat="Wkt">
<wkt>GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],MEMBER["World Geodetic System 1984 (G2296)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],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["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]]</wkt>
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
<srsid>3452</srsid>
<srid>4326</srid>
<authid>EPSG:4326</authid>
<description>WGS 84</description>
<projectionacronym>longlat</projectionacronym>
<ellipsoidacronym>EPSG:7030</ellipsoidacronym>
<geographicflag>true</geographicflag>
</spatialrefsys>
</crs>
<extent />
</resourceMetadata>
<provider encoding="UTF-8">ogr</provider>
<vectorjoins />
<layerDependencies />
<dataDependencies />
<expressionfields />
<map-layer-style-manager current="Default">
<map-layer-style name="Default" />
</map-layer-style-manager>
<auxiliaryLayer />
<flags>
<Identifiable>1</Identifiable>
<Removable>1</Removable>
<Searchable>1</Searchable>
<Private>0</Private>
</flags>
<temporal accumulate="0" durationField="fid" durationUnit="min" enabled="0" endExpression="" endField="" fixedDuration="0" limitMode="0" mode="0" startExpression="" startField="">
<fixedRange>
<start />
<end />
</fixedRange>
</temporal>
<elevation binding="Centroid" clamping="Terrain" customToleranceEnabled="0" extrusion="0" extrusionEnabled="0" respectLayerSymbol="1" showMarkerSymbolInSurfacePlots="0" symbology="Line" type="IndividualFeatures" zoffset="0" zscale="1">
<data-defined-properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data-defined-properties>
<profileLineSymbol>
<symbol alpha="1" clip_to_extent="1" force_rhr="0" frame_rate="10" is_animated="0" name="" type="line">
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data_defined_properties>
<layer class="SimpleLine" enabled="1" id="{1bf9db1f-187c-4949-993a-97608427bcf5}" locked="0" pass="0">
<Option type="Map">
<Option name="align_dash_pattern" type="QString" value="0" />
<Option name="capstyle" type="QString" value="square" />
<Option name="customdash" type="QString" value="5;2" />
<Option name="customdash_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="customdash_unit" type="QString" value="MM" />
<Option name="dash_pattern_offset" type="QString" value="0" />
<Option name="dash_pattern_offset_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="dash_pattern_offset_unit" type="QString" value="MM" />
<Option name="draw_inside_polygon" type="QString" value="0" />
<Option name="joinstyle" type="QString" value="bevel" />
<Option name="line_color" type="QString" value="152,125,183,255,rgb:0.5960785,0.4901961,0.7176471,1" />
<Option name="line_style" type="QString" value="solid" />
<Option name="line_width" type="QString" value="0.6" />
<Option name="line_width_unit" type="QString" value="MM" />
<Option name="offset" type="QString" value="0" />
<Option name="offset_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="offset_unit" type="QString" value="MM" />
<Option name="ring_filter" type="QString" value="0" />
<Option name="trim_distance_end" type="QString" value="0" />
<Option name="trim_distance_end_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="trim_distance_end_unit" type="QString" value="MM" />
<Option name="trim_distance_start" type="QString" value="0" />
<Option name="trim_distance_start_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="trim_distance_start_unit" type="QString" value="MM" />
<Option name="tweak_dash_pattern_on_corners" type="QString" value="0" />
<Option name="use_custom_dash" type="QString" value="0" />
<Option name="width_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
</Option>
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data_defined_properties>
</layer>
</symbol>
</profileLineSymbol>
<profileFillSymbol>
<symbol alpha="1" clip_to_extent="1" force_rhr="0" frame_rate="10" is_animated="0" name="" type="fill">
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data_defined_properties>
<layer class="SimpleFill" enabled="1" id="{4bd08f17-6006-4a86-a835-af1b97809ff3}" locked="0" pass="0">
<Option type="Map">
<Option name="border_width_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="color" type="QString" value="152,125,183,255,rgb:0.5960785,0.4901961,0.7176471,1" />
<Option name="joinstyle" type="QString" value="bevel" />
<Option name="offset" type="QString" value="0,0" />
<Option name="offset_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="offset_unit" type="QString" value="MM" />
<Option name="outline_color" type="QString" value="109,89,131,255,rgb:0.4257572,0.3501335,0.5125963,1" />
<Option name="outline_style" type="QString" value="solid" />
<Option name="outline_width" type="QString" value="0.2" />
<Option name="outline_width_unit" type="QString" value="MM" />
<Option name="style" type="QString" value="solid" />
</Option>
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data_defined_properties>
</layer>
</symbol>
</profileFillSymbol>
<profileMarkerSymbol>
<symbol alpha="1" clip_to_extent="1" force_rhr="0" frame_rate="10" is_animated="0" name="" type="marker">
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data_defined_properties>
<layer class="SimpleMarker" enabled="1" id="{0d8fa3f2-238c-4caf-8cad-b3d592d06f0b}" locked="0" pass="0">
<Option type="Map">
<Option name="angle" type="QString" value="0" />
<Option name="cap_style" type="QString" value="square" />
<Option name="color" type="QString" value="152,125,183,255,rgb:0.5960785,0.4901961,0.7176471,1" />
<Option name="horizontal_anchor_point" type="QString" value="1" />
<Option name="joinstyle" type="QString" value="bevel" />
<Option name="name" type="QString" value="diamond" />
<Option name="offset" type="QString" value="0,0" />
<Option name="offset_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="offset_unit" type="QString" value="MM" />
<Option name="outline_color" type="QString" value="109,89,131,255,rgb:0.4257572,0.3501335,0.5125963,1" />
<Option name="outline_style" type="QString" value="solid" />
<Option name="outline_width" type="QString" value="0.2" />
<Option name="outline_width_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="outline_width_unit" type="QString" value="MM" />
<Option name="scale_method" type="QString" value="diameter" />
<Option name="size" type="QString" value="3" />
<Option name="size_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="size_unit" type="QString" value="MM" />
<Option name="vertical_anchor_point" type="QString" value="1" />
</Option>
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data_defined_properties>
</layer>
</symbol>
</profileMarkerSymbol>
</elevation>
<renderer-v2 enableorderby="0" forceraster="0" referencescale="-1" symbollevels="0" type="RuleRenderer">
<rules key="{13ac3e9e-088a-4dd8-a4a9-024bb45ae09d}">
<rule filter=" &quot;移动C端采样点占比&quot; + 0 &lt;55" key="{6dc0ca1a-1b0f-4d11-8648-379bfa2403e2}" label="移动C端采样点占比 &lt; 55%" symbol="0" />
<rule filter="ELSE" key="{31f2a818-ba27-4519-b4fd-9709edc797c8}" label="移动C端采样点占比 ≥ 55%" symbol="1" />
</rules>
<symbols>
<symbol alpha="1" clip_to_extent="1" force_rhr="0" frame_rate="10" is_animated="0" name="0" type="fill">
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data_defined_properties>
<layer class="SimpleFill" enabled="1" id="{3a030d69-4081-4b55-8738-97c4e69c37e3}" locked="0" pass="0">
<Option type="Map">
<Option name="border_width_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="color" type="QString" value="227,26,28,255,rgb:0.8901961,0.1019608,0.1098039,1" />
<Option name="joinstyle" type="QString" value="bevel" />
<Option name="offset" type="QString" value="0,0" />
<Option name="offset_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="offset_unit" type="QString" value="MM" />
<Option name="outline_color" type="QString" value="0,0,0,255,rgb:0,0,0,1" />
<Option name="outline_style" type="QString" value="solid" />
<Option name="outline_width" type="QString" value="0.45" />
<Option name="outline_width_unit" type="QString" value="MM" />
<Option name="style" type="QString" value="solid" />
</Option>
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data_defined_properties>
</layer>
</symbol>
<symbol alpha="1" clip_to_extent="1" force_rhr="0" frame_rate="10" is_animated="0" name="1" type="fill">
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data_defined_properties>
<layer class="SimpleFill" enabled="1" id="{315a6b69-b006-4452-a925-cac2ba399b28}" locked="0" pass="0">
<Option type="Map">
<Option name="border_width_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="color" type="QString" value="51,160,44,255,rgb:0.2,0.627451,0.172549,1" />
<Option name="joinstyle" type="QString" value="bevel" />
<Option name="offset" type="QString" value="0,0" />
<Option name="offset_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="offset_unit" type="QString" value="MM" />
<Option name="outline_color" type="QString" value="35,35,35,255,rgb:0.1372549,0.1372549,0.1372549,1" />
<Option name="outline_style" type="QString" value="solid" />
<Option name="outline_width" type="QString" value="0.26" />
<Option name="outline_width_unit" type="QString" value="MM" />
<Option name="style" type="QString" value="solid" />
</Option>
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data_defined_properties>
</layer>
</symbol>
</symbols>
<data-defined-properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data-defined-properties>
</renderer-v2>
<selection mode="Default">
<selectionColor invalid="1" />
<selectionSymbol>
<symbol alpha="1" clip_to_extent="1" force_rhr="0" frame_rate="10" is_animated="0" name="" type="fill">
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data_defined_properties>
<layer class="SimpleFill" enabled="1" id="{f88c086f-ea42-4fad-8b23-990efd937046}" locked="0" pass="0">
<Option type="Map">
<Option name="border_width_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="color" type="QString" value="0,0,255,255,rgb:0,0,1,1" />
<Option name="joinstyle" type="QString" value="bevel" />
<Option name="offset" type="QString" value="0,0" />
<Option name="offset_map_unit_scale" type="QString" value="3x:0,0,0,0,0,0" />
<Option name="offset_unit" type="QString" value="MM" />
<Option name="outline_color" type="QString" value="35,35,35,255,rgb:0.1372549,0.1372549,0.1372549,1" />
<Option name="outline_style" type="QString" value="solid" />
<Option name="outline_width" type="QString" value="0.26" />
<Option name="outline_width_unit" type="QString" value="MM" />
<Option name="style" type="QString" value="solid" />
</Option>
<data_defined_properties>
<Option type="Map">
<Option name="name" type="QString" value="" />
<Option name="properties" />
<Option name="type" type="QString" value="collection" />
</Option>
</data_defined_properties>
</layer>
</symbol>
</selectionSymbol>
</selection>
<customproperties>
<Option type="Map">
<Option name="dualview/previewExpressions" type="List">
<Option type="QString" value="COALESCE( &quot;AOI名称&quot;, '&lt;NULL&gt;' )" />
<Option type="QString" value="COALESCE( &quot;AOI名称&quot;, '&lt;NULL&gt;' )" />
<Option type="invalid" />
</Option>
<Option name="embeddedWidgets/count" type="int" value="0" />
<Option name="variableNames" type="invalid" />
<Option name="variableValues" type="invalid" />
</Option>
</customproperties>
<blendMode>0</blendMode>
<featureBlendMode>0</featureBlendMode>
<layerOpacity>0.5</layerOpacity>
<geometryOptions geometryPrecision="0" removeDuplicateNodes="0">
<activeChecks />
<checkConfiguration type="Map">
<Option name="QgsGeometryGapCheck" type="Map">
<Option name="allowedGapsBuffer" type="double" value="0" />
<Option name="allowedGapsEnabled" type="bool" value="false" />
<Option name="allowedGapsLayer" type="invalid" />
</Option>
</checkConfiguration>
</geometryOptions>
<legend showLabelLegend="0" type="default-vector" />
<referencedLayers />
<referencingLayers />
<fieldConfiguration>
<field configurationFlags="0" name="fid">
<editWidget type="TextEdit">
<config>
<Option />
</config>
</editWidget>
</field>
<field configurationFlags="0" name="所属市场网格">
<editWidget type="TextEdit">
<config>
<Option />
</config>
</editWidget>
</field>
<field configurationFlags="0" name="AOI唯一标签">
<editWidget type="TextEdit">
<config>
<Option />
</config>
</editWidget>
</field>
<field configurationFlags="0" name="AOI名称">
<editWidget type="TextEdit">
<config>
<Option />
</config>
</editWidget>
</field>
<field configurationFlags="0" name="移动C端采样点占比">
<editWidget type="TextEdit">
<config>
<Option />
</config>
</editWidget>
</field>
<field configurationFlags="0" name="联通C端采样点占比">
<editWidget type="TextEdit">
<config>
<Option />
</config>
</editWidget>
</field>
<field configurationFlags="0" name="电信C端采样点占比">
<editWidget type="TextEdit">
<config>
<Option />
</config>
</editWidget>
</field>
<field configurationFlags="0" name="广电C端采样点占比">
<editWidget type="TextEdit">
<config>
<Option />
</config>
</editWidget>
</field>
<field configurationFlags="0" name="电联C端采样点占比">
<editWidget type="TextEdit">
<config>
<Option />
</config>
</editWidget>
</field>
</fieldConfiguration>
<aliases>
<alias field="fid" index="0" name="" />
<alias field="所属市场网格" index="1" name="" />
<alias field="AOI唯一标签" index="2" name="" />
<alias field="AOI名称" index="3" name="" />
<alias field="移动C端采样点占比" index="4" name="" />
<alias field="联通C端采样点占比" index="5" name="" />
<alias field="电信C端采样点占比" index="6" name="" />
<alias field="广电C端采样点占比" index="7" name="" />
<alias field="电联C端采样点占比" index="8" name="" />
</aliases>
<defaults>
<default applyOnUpdate="0" expression="" field="fid" />
<default applyOnUpdate="0" expression="" field="所属市场网格" />
<default applyOnUpdate="0" expression="" field="AOI唯一标签" />
<default applyOnUpdate="0" expression="" field="AOI名称" />
<default applyOnUpdate="0" expression="" field="移动C端采样点占比" />
<default applyOnUpdate="0" expression="" field="联通C端采样点占比" />
<default applyOnUpdate="0" expression="" field="电信C端采样点占比" />
<default applyOnUpdate="0" expression="" field="广电C端采样点占比" />
<default applyOnUpdate="0" expression="" field="电联C端采样点占比" />
</defaults>
<constraints>
<constraint constraints="3" exp_strength="0" field="fid" notnull_strength="1" unique_strength="1" />
<constraint constraints="0" exp_strength="0" field="所属市场网格" notnull_strength="0" unique_strength="0" />
<constraint constraints="0" exp_strength="0" field="AOI唯一标签" notnull_strength="0" unique_strength="0" />
<constraint constraints="0" exp_strength="0" field="AOI名称" notnull_strength="0" unique_strength="0" />
<constraint constraints="0" exp_strength="0" field="移动C端采样点占比" notnull_strength="0" unique_strength="0" />
<constraint constraints="0" exp_strength="0" field="联通C端采样点占比" notnull_strength="0" unique_strength="0" />
<constraint constraints="0" exp_strength="0" field="电信C端采样点占比" notnull_strength="0" unique_strength="0" />
<constraint constraints="0" exp_strength="0" field="广电C端采样点占比" notnull_strength="0" unique_strength="0" />
<constraint constraints="0" exp_strength="0" field="电联C端采样点占比" notnull_strength="0" unique_strength="0" />
</constraints>
<constraintExpressions>
<constraint desc="" exp="" field="fid" />
<constraint desc="" exp="" field="所属市场网格" />
<constraint desc="" exp="" field="AOI唯一标签" />
<constraint desc="" exp="" field="AOI名称" />
<constraint desc="" exp="" field="移动C端采样点占比" />
<constraint desc="" exp="" field="联通C端采样点占比" />
<constraint desc="" exp="" field="电信C端采样点占比" />
<constraint desc="" exp="" field="广电C端采样点占比" />
<constraint desc="" exp="" field="电联C端采样点占比" />
</constraintExpressions>
<expressionfields />
<attributeactions>
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}" />
</attributeactions>
<attributetableconfig actionWidgetStyle="dropDown" sortExpression="" sortOrder="0">
<columns>
<column hidden="0" name="fid" type="field" width="-1" />
<column hidden="0" name="所属市场网格" type="field" width="-1" />
<column hidden="0" name="AOI唯一标签" type="field" width="-1" />
<column hidden="0" name="AOI名称" type="field" width="-1" />
<column hidden="0" name="移动C端采样点占比" type="field" width="-1" />
<column hidden="0" name="联通C端采样点占比" type="field" width="-1" />
<column hidden="0" name="电信C端采样点占比" type="field" width="-1" />
<column hidden="0" name="广电C端采样点占比" type="field" width="-1" />
<column hidden="0" name="电联C端采样点占比" type="field" width="-1" />
<column hidden="1" type="actions" width="-1" />
</columns>
</attributetableconfig>
<conditionalstyles>
<rowstyles />
<fieldstyles />
</conditionalstyles>
<storedexpressions />
<editform tolerant="1" />
<editforminit />
<editforminitcodesource>0</editforminitcodesource>
<editforminitfilepath />
<editforminitcode># -*- 编码: utf-8 -*-
"""
QGIS表单含有一个Python函数,该函数在打开表单时被调用。
使用此函数为您的表单添加扩展逻辑。
在 "Python Init function" 字段中输入函数名。
示例如下:
"""
from qgis.PyQt.QtWidgets import QWidget
def my_form_open(dialog, layer, feature):
geom = feature.geometry()
control = dialog.findChild(QWidget, "MyLineEdit")
</editforminitcode>
<featformsuppress>0</featformsuppress>
<editorlayout>generatedlayout</editorlayout>
<editable>
<field editable="1" name="AOI名称" />
<field editable="1" name="AOI唯一标签" />
<field editable="1" name="fid" />
<field editable="1" name="其他wifi去重数占比" />
<field editable="1" name="其他wifi采样点占比" />
<field editable="1" name="地市名称" />
<field editable="1" name="广电C端采样点占比" />
<field editable="1" name="广电wifi去重数占比" />
<field editable="1" name="广电wifi采样点占比" />
<field editable="1" name="所属市场网格" />
<field editable="1" name="电信C端采样点占比" />
<field editable="1" name="电信wifi去重数占比" />
<field editable="1" name="电信wifi采样点占比" />
<field editable="1" name="电联C端采样点占比" />
<field editable="1" name="移动C端采样点占比" />
<field editable="1" name="移动wifi去重数占比" />
<field editable="1" name="移动wifi采样点占比" />
<field editable="1" name="空间信息(几何)" />
<field editable="1" name="联通C端采样点占比" />
<field editable="1" name="联通wifi去重数占比" />
<field editable="1" name="联通wifi采样点占比" />
</editable>
<labelOnTop>
<field labelOnTop="0" name="AOI名称" />
<field labelOnTop="0" name="AOI唯一标签" />
<field labelOnTop="0" name="fid" />
<field labelOnTop="0" name="其他wifi去重数占比" />
<field labelOnTop="0" name="其他wifi采样点占比" />
<field labelOnTop="0" name="地市名称" />
<field labelOnTop="0" name="广电C端采样点占比" />
<field labelOnTop="0" name="广电wifi去重数占比" />
<field labelOnTop="0" name="广电wifi采样点占比" />
<field labelOnTop="0" name="所属市场网格" />
<field labelOnTop="0" name="电信C端采样点占比" />
<field labelOnTop="0" name="电信wifi去重数占比" />
<field labelOnTop="0" name="电信wifi采样点占比" />
<field labelOnTop="0" name="电联C端采样点占比" />
<field labelOnTop="0" name="移动C端采样点占比" />
<field labelOnTop="0" name="移动wifi去重数占比" />
<field labelOnTop="0" name="移动wifi采样点占比" />
<field labelOnTop="0" name="空间信息(几何)" />
<field labelOnTop="0" name="联通C端采样点占比" />
<field labelOnTop="0" name="联通wifi去重数占比" />
<field labelOnTop="0" name="联通wifi采样点占比" />
</labelOnTop>
<reuseLastValuePolicy>
<field name="AOI名称" reuseLastValuePolicy="NotAllowed" />
<field name="AOI唯一标签" reuseLastValuePolicy="NotAllowed" />
<field name="fid" reuseLastValuePolicy="NotAllowed" />
<field name="其他wifi去重数占比" reuseLastValuePolicy="NotAllowed" />
<field name="其他wifi采样点占比" reuseLastValuePolicy="NotAllowed" />
<field name="地市名称" reuseLastValuePolicy="NotAllowed" />
<field name="广电C端采样点占比" reuseLastValuePolicy="NotAllowed" />
<field name="广电wifi去重数占比" reuseLastValuePolicy="NotAllowed" />
<field name="广电wifi采样点占比" reuseLastValuePolicy="NotAllowed" />
<field name="所属市场网格" reuseLastValuePolicy="NotAllowed" />
<field name="电信C端采样点占比" reuseLastValuePolicy="NotAllowed" />
<field name="电信wifi去重数占比" reuseLastValuePolicy="NotAllowed" />
<field name="电信wifi采样点占比" reuseLastValuePolicy="NotAllowed" />
<field name="电联C端采样点占比" reuseLastValuePolicy="NotAllowed" />
<field name="移动C端采样点占比" reuseLastValuePolicy="NotAllowed" />
<field name="移动wifi去重数占比" reuseLastValuePolicy="NotAllowed" />
<field name="移动wifi采样点占比" reuseLastValuePolicy="NotAllowed" />
<field name="空间信息(几何)" reuseLastValuePolicy="NotAllowed" />
<field name="联通C端采样点占比" reuseLastValuePolicy="NotAllowed" />
<field name="联通wifi去重数占比" reuseLastValuePolicy="NotAllowed" />
<field name="联通wifi采样点占比" reuseLastValuePolicy="NotAllowed" />
</reuseLastValuePolicy>
<dataDefinedFieldProperties />
<widgets />
<previewExpression>COALESCE( "AOI名称", '&lt;NULL&gt;' )</previewExpression>
<mapTip enabled="1" />
</maplayer>