Skip to content

Add CS admin-constrained asset builder and configs#1085

Open
amit-spatial wants to merge 3 commits into
devfrom
build-admin-constrained-dataset
Open

Add CS admin-constrained asset builder and configs#1085
amit-spatial wants to merge 3 commits into
devfrom
build-admin-constrained-dataset

Conversation

@amit-spatial

Copy link
Copy Markdown
Collaborator

Added standard scripts, using which, we can build new gpkg files from admin gpkg we created through previous PR script.
We simply now need to join it to the admin gpkg, with the help of config yaml, where we can describe required columns, columns to skip, columns to rename, or to enforce integer datatype of some specific operations. This yaml currently contains configs needed to create our antyodaya, livestocks datasets. If anyone wants to create a new gpkg joined to our admin boundaries, they can simply add config for new standard file generation in the config yaml, and then simply run the utilities/scripts/admin_assets/build_cs_admin_boundary_assets.py with cli arguments specifying the new added config for creation of one or multiple or all standard gpkgs from raw files.

This script joins standardized cs_admin_standard village geometries to configured tabular resources. It is required for reproducible CS Antyodaya and livestock assets because it keeps ids, geometry, datatypes, metadata, and join exception reporting consistent across datasets.
This config tells the CS admin-constrained asset builder how to join Mission Antyodaya 2020 data to cs_admin_standard and where to emit cs_antyodaya_2020 outputs. Keeping it tracked makes the generated Antyodaya asset reproducible without local-only settings.
This config tells the CS admin-constrained asset builder how to join livestock census totals to cs_admin_standard and where to emit cs_village_livestock_census_20 outputs. Keeping it tracked makes the generated livestock asset reproducible from the shared admin resource.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant