feat: 按用户样板统一市场AOI字段和默认样式
This commit is contained in:
@@ -253,3 +253,7 @@ QGIS 中竟对信号默认显示,用户量和小区数据图层均已移除。
|
||||
### 楼宇专题图层
|
||||
|
||||
每个市场按空间相交筛选楼宇并匹配 floor/height 后,生成“移动C端采样点比例.gpkg”和“移动WIFI设备占比图层.gpkg”。两个文件分别保留样板中的字段、边界和空间索引,默认 QML 样式写入各自的 layer_styles;GIS.qgz 同时引用两个文件。样式与图层初始可见性来自用户确认的 20260921-152253-a6d550a2 样板,保存在 marketgrid/styles。两个专题默认不勾选,与样板一致。NRBuildingsData.gpkg 仅作为内部处理数据,不再放入市场 ZIP。旧成果不自动改写,需重新出图。
|
||||
|
||||
### AOI 样板呈现
|
||||
|
||||
所有新市场包的 AOI 按 20260921-175059-84c33e16 样板精简字段:fid、geom、所属市场网格、AOI唯一标签、AOI名称及五个运营商 C 端采样点占比。市场归属筛选不变;保存默认 QML 样式,GIS.qgz 使用完整图层模板和 EPSG:4326,显示名称为 AOI级报表_市场网格匹配,默认不勾选。样板在 marketgrid/styles/aoi.qml 和 aoi.xml,旧成果需重新生成。
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
"""AOI 样板字段和 QGIS 样式。"""
|
||||
from pathlib import Path
|
||||
import sqlite3
|
||||
from contextlib import closing
|
||||
import xml.etree.ElementTree as ET
|
||||
|
||||
from .gpkg import quote_identifier
|
||||
|
||||
ROOT = Path(__file__).with_name("styles")
|
||||
TABLE = "AOI市场网格匹配"
|
||||
FIELDS = ["fid", "geom", "所属市场网格", "AOI唯一标签", "AOI名称",
|
||||
"移动C端采样点占比", "联通C端采样点占比", "电信C端采样点占比",
|
||||
"广电C端采样点占比", "电联C端采样点占比"]
|
||||
|
||||
|
||||
def normalize_aoi_gpkg(path):
|
||||
with closing(sqlite3.connect(path)) as conn, conn:
|
||||
existing = {row[1] for row in conn.execute(f"pragma table_info({quote_identifier(TABLE)})")}
|
||||
missing = set(FIELDS) - existing
|
||||
if missing:
|
||||
raise ValueError(f"AOI 缺少字段:{sorted(missing)}")
|
||||
for column in existing - set(FIELDS):
|
||||
conn.execute(f"alter table {quote_identifier(TABLE)} drop column {quote_identifier(column)}")
|
||||
qml = (ROOT / "aoi.qml").read_text(encoding="utf-8")
|
||||
conn.execute("CREATE TABLE IF NOT EXISTS layer_styles (id INTEGER PRIMARY KEY, f_table_catalog TEXT, f_table_schema TEXT, f_table_name TEXT, f_geometry_column TEXT, styleName TEXT, styleQML TEXT, styleSLD TEXT, useAsDefault BOOLEAN, description TEXT, owner TEXT, ui TEXT, update_time DATETIME)")
|
||||
if "update_time" not in {r[1] for r in conn.execute("pragma table_info(layer_styles)")}:
|
||||
conn.execute("ALTER TABLE layer_styles ADD COLUMN update_time DATETIME")
|
||||
conn.execute("delete from layer_styles")
|
||||
conn.execute("INSERT OR REPLACE INTO gpkg_contents(table_name,data_type,srs_id) VALUES ('layer_styles','attributes',0)")
|
||||
conn.execute("insert into layer_styles (id,f_table_catalog,f_table_schema,f_table_name,f_geometry_column,styleName,styleQML,styleSLD,useAsDefault,description,owner,ui) values (1,'','','AOI市场网格匹配','geom','Default',?,'',1,'','','')", (qml,))
|
||||
|
||||
|
||||
def aoi_layer_template():
|
||||
return ET.parse(ROOT / "aoi.xml").getroot()
|
||||
@@ -6,6 +6,7 @@ import tempfile
|
||||
from . import config
|
||||
from .building_attributes import enrich_building_attributes
|
||||
from .building_themes import export_themes
|
||||
from .aoi_theme import normalize_aoi_gpkg
|
||||
from .gpkg import build_summary_market
|
||||
from .files import competitor_signal_raster_filename
|
||||
from .files import copy_full_source_file
|
||||
@@ -109,6 +110,7 @@ def process_market(market, pixel_width, pixel_height, output_dir):
|
||||
aoi_result = export_market_aoi_gpkg(
|
||||
aoi_conn, aoi_layer, aoi_rtree, market, market_dir / config.AOI_OUTPUT_FILENAME,
|
||||
)
|
||||
normalize_aoi_gpkg(market_dir / config.AOI_OUTPUT_FILENAME)
|
||||
gis_project_result = copy_gis_project_to_market(
|
||||
config.GIS_PROJECT_SOURCE,
|
||||
gis_project_path,
|
||||
|
||||
+18
-56
@@ -78,66 +78,28 @@ def remove_qgis_layer(root, datasource_filename, required=True):
|
||||
|
||||
|
||||
def add_market_aoi_layer(root, aoi_result, fallback_extent):
|
||||
remove_qgis_layer(root, config.AOI_OUTPUT_FILENAME, required=False)
|
||||
layer_id = "market_aoi_matched"
|
||||
datasource = f"./{config.AOI_OUTPUT_FILENAME}|layername={aoi_result['layer_name']}"
|
||||
layer = ET.SubElement(root.find("projectlayers"), "maplayer", {
|
||||
"type": "vector", "geometry": "Polygon", "hasScaleBasedVisibilityFlag": "0",
|
||||
"styleCategories": "AllStyleCategories", "labelsEnabled": "0",
|
||||
})
|
||||
from .aoi_theme import aoi_layer_template
|
||||
template = aoi_layer_template()
|
||||
template.find("id").text = "market_aoi_matched"
|
||||
template.find("datasource").text = f"./{config.AOI_OUTPUT_FILENAME}|layername={aoi_result['layer_name']}"
|
||||
display_name = template.findtext("layername")
|
||||
extent = aoi_result["extent"] or fallback_extent
|
||||
for tag in ("extent", "wgs84extent"):
|
||||
set_xml_extent(ET.SubElement(layer, tag), extent)
|
||||
for tag, value in (("id", layer_id), ("datasource", datasource), ("layername", config.AOI_LAYER)):
|
||||
ET.SubElement(layer, tag).text = value
|
||||
spatial_ref = ET.SubElement(ET.SubElement(layer, "srs"), "spatialrefsys", nativeFormat="Wkt")
|
||||
for tag, value in (
|
||||
("wkt", aoi_result["srs_wkt"]), ("proj4", "+proj=longlat +datum=WGS84 +no_defs"),
|
||||
("srsid", "3452"), ("srid", "4326"), ("authid", "EPSG:4326"),
|
||||
("description", "WGS 84"), ("projectionacronym", "longlat"),
|
||||
("ellipsoidacronym", "EPSG:7030"), ("geographicflag", "true"),
|
||||
):
|
||||
ET.SubElement(spatial_ref, tag).text = value
|
||||
ET.SubElement(layer, "provider", encoding="UTF-8").text = "ogr"
|
||||
ET.SubElement(layer, "displayfield").text = "AOI名称"
|
||||
ET.SubElement(layer, "previewExpression").text = '"AOI名称"'
|
||||
renderer = ET.SubElement(layer, "renderer-v2", type="singleSymbol", symbollevels="0", enableorderby="0")
|
||||
symbol = ET.SubElement(ET.SubElement(renderer, "symbols"), "symbol", name="0", type="fill", alpha="1")
|
||||
symbol_layer = ET.SubElement(symbol, "layer", {"class": "SimpleFill", "enabled": "1", "locked": "0", "pass": "0"})
|
||||
options = ET.SubElement(symbol_layer, "Option", type="Map")
|
||||
for name, value in {
|
||||
"color": "0,0,0,0", "style": "no", "outline_color": "226,44,144,255",
|
||||
"outline_style": "solid", "outline_width": "0.45", "outline_width_unit": "MM",
|
||||
"joinstyle": "bevel",
|
||||
}.items():
|
||||
ET.SubElement(options, "Option", name=name, value=value, type="QString")
|
||||
ET.SubElement(layer, "blendMode").text = "0"
|
||||
ET.SubElement(layer, "layerOpacity").text = "1"
|
||||
|
||||
set_xml_extent(template.find(tag), extent)
|
||||
remove_qgis_layer(root, config.AOI_OUTPUT_FILENAME, required=False)
|
||||
root.find("projectlayers").append(template)
|
||||
tree = root.find("layer-tree-group")
|
||||
tree_layer = ET.Element("layer-tree-layer", {
|
||||
"id": layer_id, "name": config.AOI_LAYER, "source": datasource, "providerKey": "ogr",
|
||||
"checked": "Qt::Checked", "expanded": "0",
|
||||
})
|
||||
first_layer = next((i for i, child in enumerate(tree) if child.tag == "layer-tree-layer"), 0)
|
||||
tree.insert(first_layer, tree_layer)
|
||||
custom_order = tree.find("custom-order")
|
||||
if custom_order is not None:
|
||||
item = ET.Element("item")
|
||||
item.text = layer_id
|
||||
custom_order.insert(0, item)
|
||||
order = root.find("layerorder")
|
||||
tree.insert(0, ET.Element("layer-tree-layer", {
|
||||
"id": "market_aoi_matched", "name": display_name,
|
||||
"source": template.findtext("datasource"), "providerKey": "ogr",
|
||||
"checked": "Qt::Unchecked", "expanded": "0",
|
||||
}))
|
||||
order = tree.find("custom-order")
|
||||
if order is not None:
|
||||
order.insert(0, ET.Element("layer", id=layer_id))
|
||||
legend = root.find("legend")
|
||||
if legend is not None:
|
||||
legend_layer = ET.Element("legendlayer", {
|
||||
"name": config.AOI_LAYER, "checked": "Qt::Checked", "open": "false", "drawingOrder": "-1",
|
||||
})
|
||||
group = ET.SubElement(legend_layer, "filegroup", hidden="false", open="false")
|
||||
ET.SubElement(group, "legendlayerfile", layerid=layer_id, visible="1", isInOverview="0")
|
||||
legend.insert(0, legend_layer)
|
||||
|
||||
item = ET.Element("item"); item.text = "market_aoi_matched"; order.insert(0, item)
|
||||
layerorder = root.find("layerorder")
|
||||
if layerorder is not None:
|
||||
layerorder.insert(0, ET.Element("layer", id="market_aoi_matched"))
|
||||
|
||||
def add_nr_buildings_layer(root, result, fallback_extent):
|
||||
"""向工程加入清洗后的楼宇边界图层。"""
|
||||
|
||||
@@ -0,0 +1,656 @@
|
||||
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
|
||||
<qgis autoRefreshMode="Disabled" autoRefreshTime="0" hasScaleBasedVisibilityFlag="0" labelsEnabled="0" layerType="Vector" maxScale="0" minScale="0" readOnly="0" simplifyAlgorithm="0" simplifyDrawingHints="1" simplifyDrawingTol="1" simplifyLocal="1" simplifyMaxScale="1" styleCategories="AllStyleCategories" symbologyReferenceScale="-1" version="4.2.2-Belém do Pará">
|
||||
<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></start>
|
||||
<end></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=" "移动C端采样点占比" + 0 <55" key="{6dc0ca1a-1b0f-4d11-8648-379bfa2403e2}" label="移动C端采样点占比 < 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="embeddedWidgets/count" type="int" value="0"/>
|
||||
<Option name="variableNames"/>
|
||||
<Option name="variableValues"/>
|
||||
</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="QString" value=""/>
|
||||
</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="所属市场网格">
|
||||
<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>
|
||||
<field configurationFlags="0" name="移动wifi去重数占比">
|
||||
<editWidget type="TextEdit">
|
||||
<config>
|
||||
<Option/>
|
||||
</config>
|
||||
</editWidget>
|
||||
</field>
|
||||
<field configurationFlags="0" name="联通wifi去重数占比">
|
||||
<editWidget type="TextEdit">
|
||||
<config>
|
||||
<Option/>
|
||||
</config>
|
||||
</editWidget>
|
||||
</field>
|
||||
<field configurationFlags="0" name="电信wifi去重数占比">
|
||||
<editWidget type="TextEdit">
|
||||
<config>
|
||||
<Option/>
|
||||
</config>
|
||||
</editWidget>
|
||||
</field>
|
||||
<field configurationFlags="0" name="广电wifi去重数占比">
|
||||
<editWidget type="TextEdit">
|
||||
<config>
|
||||
<Option/>
|
||||
</config>
|
||||
</editWidget>
|
||||
</field>
|
||||
<field configurationFlags="0" name="其他wifi去重数占比">
|
||||
<editWidget type="TextEdit">
|
||||
<config>
|
||||
<Option/>
|
||||
</config>
|
||||
</editWidget>
|
||||
</field>
|
||||
<field configurationFlags="0" name="移动wifi采样点占比">
|
||||
<editWidget type="TextEdit">
|
||||
<config>
|
||||
<Option/>
|
||||
</config>
|
||||
</editWidget>
|
||||
</field>
|
||||
<field configurationFlags="0" name="联通wifi采样点占比">
|
||||
<editWidget type="TextEdit">
|
||||
<config>
|
||||
<Option/>
|
||||
</config>
|
||||
</editWidget>
|
||||
</field>
|
||||
<field configurationFlags="0" name="电信wifi采样点占比">
|
||||
<editWidget type="TextEdit">
|
||||
<config>
|
||||
<Option/>
|
||||
</config>
|
||||
</editWidget>
|
||||
</field>
|
||||
<field configurationFlags="0" name="广电wifi采样点占比">
|
||||
<editWidget type="TextEdit">
|
||||
<config>
|
||||
<Option/>
|
||||
</config>
|
||||
</editWidget>
|
||||
</field>
|
||||
<field configurationFlags="0" name="其他wifi采样点占比">
|
||||
<editWidget type="TextEdit">
|
||||
<config>
|
||||
<Option/>
|
||||
</config>
|
||||
</editWidget>
|
||||
</field>
|
||||
<field configurationFlags="0" name="空间信息(几何)">
|
||||
<editWidget type="TextEdit">
|
||||
<config>
|
||||
<Option/>
|
||||
</config>
|
||||
</editWidget>
|
||||
</field>
|
||||
</fieldConfiguration>
|
||||
<aliases>
|
||||
<alias field="fid" index="0" name=""/>
|
||||
<alias field="地市名称" index="1" name=""/>
|
||||
<alias field="所属市场网格" index="2" name=""/>
|
||||
<alias field="AOI唯一标签" index="3" name=""/>
|
||||
<alias field="AOI名称" 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=""/>
|
||||
<alias field="电联C端采样点占比" index="9" name=""/>
|
||||
<alias field="移动wifi去重数占比" index="10" name=""/>
|
||||
<alias field="联通wifi去重数占比" index="11" name=""/>
|
||||
<alias field="电信wifi去重数占比" index="12" name=""/>
|
||||
<alias field="广电wifi去重数占比" index="13" name=""/>
|
||||
<alias field="其他wifi去重数占比" index="14" name=""/>
|
||||
<alias field="移动wifi采样点占比" index="15" name=""/>
|
||||
<alias field="联通wifi采样点占比" index="16" name=""/>
|
||||
<alias field="电信wifi采样点占比" index="17" name=""/>
|
||||
<alias field="广电wifi采样点占比" index="18" name=""/>
|
||||
<alias field="其他wifi采样点占比" index="19" name=""/>
|
||||
<alias field="空间信息(几何)" index="20" name=""/>
|
||||
</aliases>
|
||||
<defaults>
|
||||
<default applyOnUpdate="0" expression="" field="fid"/>
|
||||
<default applyOnUpdate="0" expression="" field="地市名称"/>
|
||||
<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端采样点占比"/>
|
||||
<default applyOnUpdate="0" expression="" field="移动wifi去重数占比"/>
|
||||
<default applyOnUpdate="0" expression="" field="联通wifi去重数占比"/>
|
||||
<default applyOnUpdate="0" expression="" field="电信wifi去重数占比"/>
|
||||
<default applyOnUpdate="0" expression="" field="广电wifi去重数占比"/>
|
||||
<default applyOnUpdate="0" expression="" field="其他wifi去重数占比"/>
|
||||
<default applyOnUpdate="0" expression="" field="移动wifi采样点占比"/>
|
||||
<default applyOnUpdate="0" expression="" field="联通wifi采样点占比"/>
|
||||
<default applyOnUpdate="0" expression="" field="电信wifi采样点占比"/>
|
||||
<default applyOnUpdate="0" expression="" field="广电wifi采样点占比"/>
|
||||
<default applyOnUpdate="0" expression="" field="其他wifi采样点占比"/>
|
||||
<default applyOnUpdate="0" expression="" field="空间信息(几何)"/>
|
||||
</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="所属市场网格" 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"/>
|
||||
<constraint constraints="0" exp_strength="0" field="移动wifi去重数占比" notnull_strength="0" unique_strength="0"/>
|
||||
<constraint constraints="0" exp_strength="0" field="联通wifi去重数占比" notnull_strength="0" unique_strength="0"/>
|
||||
<constraint constraints="0" exp_strength="0" field="电信wifi去重数占比" notnull_strength="0" unique_strength="0"/>
|
||||
<constraint constraints="0" exp_strength="0" field="广电wifi去重数占比" notnull_strength="0" unique_strength="0"/>
|
||||
<constraint constraints="0" exp_strength="0" field="其他wifi去重数占比" notnull_strength="0" unique_strength="0"/>
|
||||
<constraint constraints="0" exp_strength="0" field="移动wifi采样点占比" notnull_strength="0" unique_strength="0"/>
|
||||
<constraint constraints="0" exp_strength="0" field="联通wifi采样点占比" notnull_strength="0" unique_strength="0"/>
|
||||
<constraint constraints="0" exp_strength="0" field="电信wifi采样点占比" notnull_strength="0" unique_strength="0"/>
|
||||
<constraint constraints="0" exp_strength="0" field="广电wifi采样点占比" notnull_strength="0" unique_strength="0"/>
|
||||
<constraint constraints="0" exp_strength="0" field="其他wifi采样点占比" notnull_strength="0" unique_strength="0"/>
|
||||
<constraint constraints="0" exp_strength="0" field="空间信息(几何)" notnull_strength="0" unique_strength="0"/>
|
||||
</constraints>
|
||||
<constraintExpressions>
|
||||
<constraint desc="" exp="" field="fid"/>
|
||||
<constraint desc="" exp="" field="地市名称"/>
|
||||
<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端采样点占比"/>
|
||||
<constraint desc="" exp="" field="移动wifi去重数占比"/>
|
||||
<constraint desc="" exp="" field="联通wifi去重数占比"/>
|
||||
<constraint desc="" exp="" field="电信wifi去重数占比"/>
|
||||
<constraint desc="" exp="" field="广电wifi去重数占比"/>
|
||||
<constraint desc="" exp="" field="其他wifi去重数占比"/>
|
||||
<constraint desc="" exp="" field="移动wifi采样点占比"/>
|
||||
<constraint desc="" exp="" field="联通wifi采样点占比"/>
|
||||
<constraint desc="" exp="" field="电信wifi采样点占比"/>
|
||||
<constraint desc="" exp="" field="广电wifi采样点占比"/>
|
||||
<constraint desc="" exp="" field="其他wifi采样点占比"/>
|
||||
<constraint desc="" exp="" field="空间信息(几何)"/>
|
||||
</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="所属市场网格" 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="0" name="移动wifi去重数占比" type="field" width="-1"/>
|
||||
<column hidden="0" name="联通wifi去重数占比" type="field" width="-1"/>
|
||||
<column hidden="0" name="电信wifi去重数占比" type="field" width="-1"/>
|
||||
<column hidden="0" name="广电wifi去重数占比" type="field" width="-1"/>
|
||||
<column hidden="0" name="其他wifi去重数占比" type="field" width="-1"/>
|
||||
<column hidden="0" name="移动wifi采样点占比" type="field" width="-1"/>
|
||||
<column hidden="0" name="联通wifi采样点占比" type="field" width="-1"/>
|
||||
<column hidden="0" name="电信wifi采样点占比" type="field" width="-1"/>
|
||||
<column hidden="0" name="广电wifi采样点占比" type="field" width="-1"/>
|
||||
<column hidden="0" name="其他wifi采样点占比" type="field" width="-1"/>
|
||||
<column hidden="0" name="空间信息(几何)" type="field" width="-1"/>
|
||||
<column hidden="1" type="actions" width="-1"/>
|
||||
</columns>
|
||||
</attributetableconfig>
|
||||
<conditionalstyles>
|
||||
<rowstyles/>
|
||||
<fieldstyles/>
|
||||
</conditionalstyles>
|
||||
<storedexpressions/>
|
||||
<editform tolerant="1"></editform>
|
||||
<editforminit/>
|
||||
<editforminitcodesource>0</editforminitcodesource>
|
||||
<editforminitfilepath></editforminitfilepath>
|
||||
<editforminitcode><![CDATA[# -*- 编码: 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>"AOI名称"</previewExpression>
|
||||
<mapTip enabled="1"></mapTip>
|
||||
<layerGeometryType>2</layerGeometryType>
|
||||
</qgis>
|
||||
@@ -0,0 +1,580 @@
|
||||
<?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>./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=" "移动C端采样点占比" + 0 <55" key="{6dc0ca1a-1b0f-4d11-8648-379bfa2403e2}" label="移动C端采样点占比 < 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( "AOI名称", '<NULL>' )" />
|
||||
<Option type="QString" value="COALESCE( "AOI名称", '<NULL>' )" />
|
||||
<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名称", '<NULL>' )</previewExpression>
|
||||
<mapTip enabled="1" />
|
||||
</maplayer>
|
||||
|
||||
+5
-5
@@ -431,15 +431,15 @@ class AoiLayerTest(unittest.TestCase):
|
||||
root = ET.fromstring(archive.read("GIS.qgs"))
|
||||
qgis.add_market_aoi_layer(root, result, market.geometry.bounds)
|
||||
tree = root.findall("./layer-tree-group/layer-tree-layer")
|
||||
self.assertEqual(tree[0].get("name"), config.AOI_LAYER)
|
||||
self.assertEqual(tree[0].get("checked"), "Qt::Checked")
|
||||
self.assertEqual(sum(item.get("name") == config.AOI_LAYER for item in tree), 1)
|
||||
self.assertEqual(tree[0].get("name"), "AOI级报表_市场网格匹配")
|
||||
self.assertEqual(tree[0].get("checked"), "Qt::Unchecked")
|
||||
self.assertEqual(sum(item.get("name") == "AOI级报表_市场网格匹配" for item in tree), 1)
|
||||
layer = root.find("./projectlayers/maplayer[id='market_aoi_matched']")
|
||||
self.assertEqual(layer.findtext("datasource"), f"./{config.AOI_OUTPUT_FILENAME}|layername=aoi")
|
||||
self.assertEqual(layer.findtext("provider"), "ogr")
|
||||
options = {item.get("name"): item.get("value") for item in layer.findall("./renderer-v2/symbols/symbol/layer/Option/Option")}
|
||||
self.assertEqual(options["style"], "no")
|
||||
self.assertEqual(options["outline_style"], "solid")
|
||||
from marketgrid.aoi_theme import aoi_layer_template
|
||||
self.assertEqual(ET.tostring(layer.find("renderer-v2")), ET.tostring(aoi_layer_template().find("renderer-v2")))
|
||||
self.assertEqual(root.find("./layerorder/layer").get("id"), "market_aoi_matched")
|
||||
self.assertEqual(root.find("./layer-tree-group/custom-order/item").text, "market_aoi_matched")
|
||||
|
||||
|
||||
@@ -173,9 +173,10 @@ class TaskIntegrationTest(unittest.TestCase):
|
||||
from marketgrid.building_themes import THEMES
|
||||
nr_fields = list(dict.fromkeys(n for t in THEMES for n, _ in t["fields"] if n not in ("floor", "height")))
|
||||
create_gpkg(self.root / "nr.gpkg", "NRBuildingsData", ",".join(f'"{n}" TEXT' for n in nr_fields), [(1, a, ["1"] * len(nr_fields)), (2, b, ["2"] * len(nr_fields))])
|
||||
from marketgrid.aoi_theme import FIELDS
|
||||
create_gpkg(self.root / "aoi.gpkg", config.AOI_LAYER,
|
||||
'"所属市场网格" text,"AOI唯一标签" text,"AOI名称" text',
|
||||
[(1, a, ["甲", "a", "甲AOI"]), (2, b, ["乙", "b", "乙AOI"])])
|
||||
'"所属市场网格" text,"AOI唯一标签" text,"AOI名称" text,' + ','.join(f'"{n}" REAL' for n in FIELDS[5:]),
|
||||
[(1, a, ["甲", "a", "甲AOI", 40, 20, 30, 10, 50]), (2, b, ["乙", "b", "乙AOI", 80, 10, 10, 0, 20])])
|
||||
params = {"MARKET_GPKG": str(self.root / "markets.gpkg"), "GRID_5G_GPKG": str(self.root / "grid.gpkg"),
|
||||
"NR_BUILDINGS_DATA_GPKG": str(self.root / "nr.gpkg"),
|
||||
"BUILDING_INFO_GPKG": str(self.root / "buildings.gpkg"), "AOI_GPKG": str(self.root / "aoi.gpkg"),
|
||||
|
||||
Reference in New Issue
Block a user