wayfinder
MAmattpocock/skills337k4,978 new stars in the last 7 days
生成覆盖完整城市范围的五行着色地图,每个统计单元都有主象、兼象、置信等级和分析原因。用于伦敦、纽约或任意城市的区域取象;默认相对取象(看各单元在范围内相对最突出的一行,依《洪范》《五行大义》以土为底色),另有综合与土地覆盖口径;地标仅作证据,不用于单宅飞星排盘。 English: Five Elements (Wu Xing) map of a whole city or a declared district scope, with a main and secondary element, reasons, sources and confidence for every cell.
交付完整城市边界内连续着色的真实地图。用户只给城市名时,以明确的完整城市范围为默认,不能拿几个代表地标或市中心孤立片区充当全城。每个单元都应有分析,证据不足通过低置信等级表达。
用户用英文提问时(Answering in English):先读 references/english.md。
search.country_code、提示及示例),例如伦敦英国邮编/邮区、纽约ZIP Code;其他国家支持当地文字地址。不要把英国格式硬套到所有城市。邮区中心点定位须区别于整区边界;联机请求仅在提交时发送,服务与生产部署限制见数据格式。以下命令在本skill目录运行,实际使用时用安装目录的绝对路径,输出写到用户工作目录:
python3 -m pip install -r requirements.txt
python3 scripts/generate.py --example london --output 伦敦全城五行地图.html
python3 scripts/generate.py --example new-york --output 纽约全城五行地图.html
python3 scripts/generate.py --example shanghai --output 上海主城区五行地图.html
python3 scripts/generate.py --input 城市全域.json --output 城市全城五行地图.html
python3 scripts/generate.py --example london --lang en --output london-five-elements-map.html # 英文页面
python3 -m http.server 8000 --bind 127.0.0.1,已有服务则复用。双击文件会显示启动服务提示。scope_label(如「主城区」)并在 coverage.name 写明,不能称为全城。已冻结源文件和SHA256在 examples/sources/。从这些源重新统计分析,无需联网:
python3 -m pip install -r requirements-build.txt
python3 scripts/build_full_city.py --city london --output examples/london.json
python3 scripts/build_full_city.py --city new-york --output examples/new-york.json
python3 scripts/build_full_city.py --city shanghai --output examples/shanghai.json
再运行生成器更新HTML。新城市应提供同格式的来源清单、完整边界、50m分类栅格及功能几何;脚本不自动虚构来源,也不自动下载新城市。更改格网尺度会改变局部结论,应重新核验。
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days