package
See docs/reference/README.md for the MUST/SHOULD/MAY convention.
Behavior¶
packageMUST callpackage-polygons,package-points, andpackage-linesagainst the same input path and the samename_field/code_field(or the same auto-detection, when both are omitted), each reading and reprojecting the input independently (no shared connection or table across the three).packageMUST NOT expose--stepor a separate issues-path option; each sub-tool manages its own connection and derives its own issues path from its own output path.
Output path templating¶
output_path, if given, MUST contain a literal{x}placeholder;packageMUST raiseValueErrorif it is given without one.{x}MUST be substituted per sub-call with a fixed word:admin{n}forpackage-polygons(itself still{n}-templated per level),pointsforpackage-points,linesforpackage-lines. No other placeholder is exposed.- If
output_pathis omitted, every sub-tool MUST receiveoutput_path=Noneand fall back to its own default naming.
Configuration (api.package.package() / CLI)¶
packageMUST process exactly one input file per call.overwrite,threads,tmp_dir,debug,name_field, andcode_fieldMUST be passed through unchanged to all three sub-calls.aggregations(CLI: repeatable--aggregation column=function) MUST be passed through topackage-polygonsonly;package-pointsandpackage-lineshave no equivalent override.packageMUST NOT exposedepth_column:package-pointsandpackage-lineseach run with their own default (adm_lvl). An input that already has its ownadm_lvlcolumn (raisingValueErrorin either sub-tool) MUST be run throughpackage-points/package-linesdirectly with a non-colliding--depth-columninstead of throughpackage.