string output_dir   # directory for PGM+YAML output; empty = default export dir
string map_name     # base filename; empty = auto (map_YYYYMMDD_HHMMSS)
---
bool success
string pgm_path
string yaml_path
string message
