Install
openclaw skills install @ruiduobao/geoskill-map-print-compositionCompose multi-layer maps with cartographic decoration and high-resolution render to TIFF or PDF
openclaw skills install @ruiduobao/geoskill-map-print-compositionPrint-oriented high-resolution map composition: the colored terrain layer and Horn hillshade are combined with multiplicative blending (shaded relief); arbitrary RGB layers can then be overlaid on top (alpha compositing), producing a georeferenced 3-band RGB GeoTIFF and a PDF.
Suitable for producing basemaps for publication-grade topographic maps, wall maps and atlases.
dem_to_color(normalization+colormap) → horn_hillshade → hillshade_blend multiplicative blending (ambient+shade) → optional alpha_composite overlay → uint8 RGB GeoTIFF.
pip install numpy rasterio scipy matplotlib geopandas shapely pillow
python geoskill-map-print-composition.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-map-print-composition.py --input dem.tif --dpi 300
python geoskill-map-print-composition.py --input dem.tif --overlay landcover.tif --overlay-alpha 0.5
python geoskill-map-print-composition.py --input dem.tif --azimuth 270 --altitude 40 --ambient 0.1
python geoskill-map-print-composition.py --bbox 116 39 117 40 --synthetic --zfactor 2
| File | Format | Description |
|---|---|---|
print_map.tif | GeoTIFF | 3-band RGB print raster (main/verifiable deliverable) |
print_map.pdf | Layout PDF | |
print_meta.json | JSON | Illumination/overlay/statistics |
Each run also produces output-manifest.json (run manifest).
Local GeoTIFF / vector files; --synthetic mode generates physically consistent simulated data, fully offline.
--synthetic mode requires no network at all.MIT
面向印刷的高分辨率地图合成:彩色地形层与 Horn 山体阴影做乘法混合(shaded relief),可再叠加任意 RGB 图层(alpha 合成),输出带地理配准的 3 波段 RGB GeoTIFF 与 PDF。
适合出版级地形图、挂图与图集中的底图制作。
dem_to_color(归一化+colormap) → horn_hillshade → hillshade_blend 乘法混合(ambient+shade) → 可选 alpha_composite 叠加 → uint8 RGB GeoTIFF。
pip install numpy rasterio scipy matplotlib geopandas shapely pillow
python geoskill-map-print-composition.py --bbox 116.0 39.0 117.0 40.0 --synthetic --output-dir ./out
python geoskill-map-print-composition.py --input dem.tif --dpi 300
python geoskill-map-print-composition.py --input dem.tif --overlay landcover.tif --overlay-alpha 0.5
python geoskill-map-print-composition.py --input dem.tif --azimuth 270 --altitude 40 --ambient 0.1
python geoskill-map-print-composition.py --bbox 116 39 117 40 --synthetic --zfactor 2
| 文件 | 格式 | 说明 |
|---|---|---|
print_map.tif | GeoTIFF | 3 波段 RGB 打印栅格(主产物/可验证产物) |
print_map.pdf | 版式 PDF | |
print_meta.json | JSON | 光照/叠加/统计 |
每次运行还会产出 output-manifest.json(运行清单)。
本地 GeoTIFF / 矢量文件;--synthetic 模式生成物理一致的模拟数据,完全离线。
--synthetic 模式完全无网络。MIT