본문으로 건너뛰기
cccskills
무료GitHub에 공개

mapstage

MapStage live tuner for map/globe projection, satellite, hypsometric relief, 3D terrain, region isolate, CSS color grade, and JSON presets.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(38)

  • SKILL.md4.0 KB
  • agents/openai.yaml844 B
  • references/city-tier-schema.md2.2 KB
  • references/tested-config.md3.6 KB
  • references/tuner-workflow.md3.0 KB
  • references/water-overlay.md1.4 KB
  • references/参数列表说明.md4.7 KB
  • schemas/map-preset.schema.json4.9 KB
  • schemas/sample-sites.schema.json1.5 KB
  • tuner/.nojekyll0 B
  • tuner/assets/han-city-3d.js36.0 KB
  • tuner/assets/isolate-workbench.js39.6 KB
  • tuner/assets/landcover-globe.geojson1019.6 KB
  • tuner/assets/landcover-lowzoom.geojson10.1 MB
  • tuner/assets/map-fx.js18.8 KB
  • tuner/assets/polar-ice.geojson37.0 KB
  • tuner/assets/region-isolate-data.js2.0 MB
  • tuner/assets/region-isolate.js33.9 KB
  • tuner/assets/sample-sites.json752 B
  • tuner/assets/site-nav.js3.2 KB
  • tuner/assets/terrain-island.js75.9 KB
  • tuner/assets/vector-paint.js40.8 KB
  • tuner/assets/water-pack.json292 B
  • tuner/index.html118.1 KB
  • tuner/map-tiles.config.example.js2.0 KB
  • tuner/map-tiles.config.js1.1 KB
  • tuner/media/hexi-ep07-demo-480p.mp4629.9 KB
  • tuner/preset-antique-default.json1.7 KB
  • tuner/presets/antique-default.json1.7 KB
  • tuner/README.md1.5 KB
  • tuner/scripts/patch-china-boundaries.mjs12.3 KB
  • tuner/scripts/patch-maritime-islands.mjs6.8 KB
  • tuner/scripts/patch-zangnan-region.py485 B
  • tuner/vector-layers.html43.3 KB
  • tuner/vendor/maplibre-contour.min.js30.5 KB
  • tuner/vendor/maplibre-gl.js1.0 MB
  • tuner/vendor/README.md377 B
  • tuner/verify.mjs6.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

MapStage

Use this skill when building or tuning a MapStage scene: map/globe projection, satellite, hypsometric relief, Mapterhorn terrain, region isolate, CSS color grade, and JSON export.

When to use

  • Need a live MapStage tuner (map vs globe, satellite vs relief, isolate).
  • Need to lock paint / CSS / camera, then export JSON into another host.
  • Need tiered settlements (capital / large / medium / small / pass / station / ordos).

Do not use the tuner page as the final render host.

Modes

ModePurpose
Production stackEmbed MapStage in your app: optional satellite/raster + Mapterhorn DEM (encoding: 'terrarium') + hillshade + OpenFreeMap vector water + CSS filter + city extrusions. Drive look from exported JSON.
TunerHTTP page under tuner/ (or the public demo) for sliders, projection, isolate, preset load/export.

Workflow

  1. Open the tuner: public demo https://hopechen067.github.io/MapStage/ or cd tuner && python -m http.server and open the local URL printed in the terminal.
  2. Tiles: default EOX Sentinel-2 cloudless (on) + Mapterhorn (tuner/map-tiles.config.js). Override with gitignored map-tiles.config.local.js.
  3. Apply default preset tuner/preset-antique-default.json (same as tuner/presets/antique-default.json). Schema version 3.
  4. Adjust projection / satellite / relief / isolate / CSS / cities until the look locks.
  5. Export JSON (copy or download). Confirm version: 3 plus ui.projection, ui.showSatellite, ui.showRelief, ui.showCssFilter, isolate.
  6. Migrate those fields into the production MapStage scene (see references).
  7. In production: jumpTo camera; wait for idle; optionally pre-cache tiles. Avoid easeTo / flyTo for recorded frames.
  8. Always set DEM with encoding: 'terrarium'. Wrong encoding breaks hillshade/terrain.
  9. Final frames render from the production host — not from the tuner UI.

Hard rules

  • Tiles not bundled — MapStage fetches DEM and basemap at runtime from configured URLs only.
  • Only use basemap endpoints you are allowed to use — defaults are public demo tiles (EOX); swap via config when needed.
  • encoding: 'terrarium' on the terrain source — mandatory.
  • No easeTo / flyTo in recorded production paths; prefer jumpTo + idle.
  • Do not host final render on tuner.
  • Water on the public tuner is OpenFreeMap / OpenMapTiles vector layers (water / waterway). Export ui.showWater is always false (old GeoJSON overlay is off). Do not expect or commit tuner/assets/water-data.js.

Repo vs skill

git clone of this GitHub repo pulls the whole project. The agent skill is only mapstage/. Install that folder with npx skills add hopechen067/MapStage --skill mapstage -g or gh skill install hopechen067/MapStage mapstage --scope user, or copy it into the host skills directory and reload. Agents do not auto-discover mapstage/SKILL.md from a clone.

References

Agents

See agents/openai.yaml for display name / default prompt.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

이 스킬의 문제 신고