Skip to content

GCBM Input

smorken edited this page May 16, 2018 · 4 revisions

runtiler.py

Non Standard Python Dependencies

mojadata

Description

Uses a mojadata (aka. tiler) configuration file to run the tiler which prepares spatial inputs for GCBM. Uses relative paths, making tiler configs, and pretiled spatial layers packageable. The tiler configs are generated as outputs of other command line tools in the gcbm_preprocessing package.

Args

  • tilerConfig - tiler object configuration (generated by other scripts)
  • outputPath - directory where GCBM tiled layers will be written
  • transitionRulesOutPath - path where the tiler output "transitionRules.csv" is written

example command

python ..\runtiler.py --tilerConfig .\01a_pretiled_layers\scenario_A_tilerConfig.json --outputPath .\01b_tiled_layers\SCEN_A --transitionRulesOutPath .\01b_tiled_layers\SCEN_A\transition_rules.csv

Clone this wiki locally