[general]
name=G-CHAM Data Pack Builder
qgisMinimumVersion=3.44
qgisMaximumVersion=4.99
description=Builds Japanese G-CHAM data packs from 2020 Census small areas and meshes, administrative, facility, transport, disaster, and basemap sources.
about=G-CHAM Data Pack Builder automates the creation of GIS-based Community Health Assessment Methods (G-CHAM) data packs for Japan. It outputs 2020 Population Census town/block small areas as well as 250 m or 500 m meshes, 2026 N03 administrative boundaries, National Land Numerical Information, MHLW Medical Information Net and care-service open data, WAM NET disability-service open data, GSI shelter data, and J-SHIS hazard data, and can add OpenStreetMap/GSI basemaps. Hospitals, clinics, and dental clinics are represented by one point per official facility ID with aggregated specialty attributes. Generated vector data are written as FlatGeobuf in the selected prefecture's JGD2011 Japan Plane Rectangular Coordinate System. The plugin handles Census suppression/aggregation, municipality allocation, derived age-group percentages, styling, labels, caching, and layer grouping. Road data are optional and disabled by default because downloads can be large. Spatial coverage is Japan. Internet access is required for source downloads and online map services. No external Python packages, API keys, user accounts, or personal information are required.
version=1.1.35
author=GISPHN (Ryo Horiike)
email=ryo.horiike@naramed-u.ac.jp
repository=https://github.com/GISPHN/gcham-datapack-builder
tracker=https://github.com/GISPHN/gcham-datapack-builder/issues
homepage=https://github.com/GISPHN/gcham-datapack-builder#readme
category=Vector
license=GPL-2
icon=icon.png
experimental=False
deprecated=False
tags=G-CHAM,census,e-Stat,population mesh,FlatGeobuf,Japan,public health,facilities,transport,disaster,J-SHIS,shelter
changelog=1.1.35 - Fixes the Flake8 E731 finding by replacing an assigned lambda with a function definition.
    1.1.34 - Fixes security-scan findings and uses scoped Qt enums for QGIS compatibility.
    1.1.33 - Escapes percent signs in the metadata changelog so QGIS can parse the package.
    1.1.32 - Applies and verifies population classification on the actual layer-tree node and sets progress to 100%% after successful completion.
    1.1.31 - Reuses the exact total-population field for small-area styling and verifies graduated classification on restored layers.
    1.1.30 - Places and verifies the prefecture-wide small-area layer after all municipality layers have been restored.
    1.1.29 - Restores misplaced small-area layer nodes directly under their group.
    1.1.28 - Adds a thin opaque black boundary stroke to small-area layers.
    1.1.27 - Rechecks and restores missing small-area population layer nodes after group ordering, with per-layer feature-count logging.
    1.1.26 - Preserves child layers when repositioning layer groups, fixing missing municipality layers in small-area population outputs.
    1.1.25 - Applies municipality-specific natural-break population styling to small-area population layers and aligns their group placement with mesh population layers.
    1.1.24 - Normalizes e-Stat small-area table headers by excluding area-name and suppression metadata columns from statistic fields.
    1.1.23 - Keeps the QGIS interface responsive during small-area downloads, reports download progress, supports cancellation, and pumps UI events while processing N03 boundaries.
    1.1.22 - Adds a User-Agent and retries empty responses for government data downloads, including e-Stat small-area boundaries.
    1.1.21 - Accepts the official e-Stat small-area header schema and restores separate full-road and walk/cycle road selections.
    1.1.20 - Adds 2020 Census small-area polygon population output from e-Stat, including 0–4 and 5–9 age groups alongside 250 m and 500 m meshes.
    1.1.19 - Filters GSI designated emergency evacuation and shelter CSV records to the selected municipality boundary and preserves valid empty municipality layers.
    1.1.18 - Preserves successful care-service and WAM NET layers when another service type has no matching facilities or encounters a service-specific error.
    1.1.17 - Corrects 250 m and 500 m mesh cell dimensions and subdivision offsets; isolates P11 bus stops, N07 bus routes, and N02 railway-layer errors so an empty N02 station result does not discard successful transport layers.
    1.1.16 - Removes SQL string interpolation from suppression metadata checks and mesh row-count queries by selecting fixed SQL statements from resolution-specific allowlists; retains 250 m and 500 m mesh processing.
    1.1.15 - Adds optional 500 m Census mesh output alongside 250 m, with resolution-specific official tables, code handling, geometry, and output naming; retains derived 40–74 population and share calculations.
    1.1.14 - Fixes municipality output renaming and recovers from Windows file-sharing locks; fixes UTF-8-BOM CSV sample-boundary detection and invalid clipped polygon writes; creates individual yes/no flags only from specialties reported by facilities in the selected area; keeps long medical CSV scans responsive with progress logging and UI updates; omits weekday and operating-time fields from medical, care, and disability-service layers; derives 40–74 population and its share of total population.
    1.1.13 - Adds medical facility ID-level points with aggregated specialties and default pediatric availability categories; adds buffered, off-by-default facility labels and distinct diamond symbols for care and WAM NET layers; reports selected-municipality institution totals and uncertain-coordinate counts; fixes Qt6 WKB point enum usage.
    1.1.5 - Adds prefecture-wide municipality boundaries, walking and cycling road candidates, improved N13 and GSI shelter retrieval, facility failure isolation, and population group placement fixes.
    1.1.3 - Unified population and supplemental dataset selection, municipality-scoped output, road optimizations, and usability improvements.
    1.1.2 - N02 railway optimization, prefecture boundaries, designated-city boundaries, P04 text decoding, and processing-time display.
    1.1.1 - Qt6 compatibility and package security cleanup.
    1.1.0 - Facility, transport, N13 roads, disaster, and basemap support.
    1.0.1 - Security hardening.
    1.0.0 - First stable release.
