feat: 移除全量包中的小区数据

This commit is contained in:
nixevol
2026-09-21 09:41:24 +08:00
parent 75af8f9f76
commit cab073bc0c
9 changed files with 25 additions and 59 deletions
-9
View File
@@ -101,7 +101,6 @@ def process_market(market, pixel_width, pixel_height, output_dir):
market,
building_info_result["extent"],
competitor_signal_result["raster_extent"],
include_cell_data=False,
aoi_result=aoi_result,
)
building_elapsed = perf_counter() - building_started_at
@@ -208,12 +207,6 @@ def process_summary_grid_outputs(markets, pixel_width, pixel_height, output_dir)
"copied_full_source": True,
"skipped": False,
}
cell_data_path = summary_dir / config.CELL_DATA_OUTPUT_FILENAME
cell_data_result = copy_full_source_file(
config.CELL_DATA_GPKG,
cell_data_path,
summary_market,
)
gis_project_path = summary_dir / config.GIS_PROJECT_OUTPUT_FILENAME
gis_project_result = copy_gis_project_to_market(
config.GIS_PROJECT_SOURCE,
@@ -221,7 +214,6 @@ def process_summary_grid_outputs(markets, pixel_width, pixel_height, output_dir)
summary_market,
building_info_extent,
competitor_signal_result["raster_extent"],
include_cell_data=True,
)
zip_result = write_market_zip(summary_dir, zip_path, summary_market)
legacy_zip_path = output_dir / config.LEGACY_SUMMARY_OUTPUT_FILENAME
@@ -236,7 +228,6 @@ def process_summary_grid_outputs(markets, pixel_width, pixel_height, output_dir)
summary_dir,
),
"building_info_result": rewrite_result_for_zip(building_info_result, zip_path, summary_dir),
"cell_data_result": rewrite_result_for_zip(cell_data_result, zip_path, summary_dir),
"gis_project_result": rewrite_result_for_zip(gis_project_result, zip_path, summary_dir),
"zip_result": zip_result,
"elapsed_seconds": perf_counter() - started_at,