@anov/gis-skills-cli 0.0.0-stage → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/CHANGELOG.md +637 -0
  2. package/INSTALL.md +481 -0
  3. package/LICENSE +15 -0
  4. package/README.md +148 -2
  5. package/RELEASING.md +162 -0
  6. package/bin/anov-gis-skills.mjs +470 -0
  7. package/lib/mcp-config.mjs +273 -0
  8. package/package.json +43 -4
  9. package/skills/anovgis-analysis/SKILL.md +585 -0
  10. package/skills/anovgis-effects/SKILL.md +260 -0
  11. package/skills/anovgis-imagery-terrain/SKILL.md +505 -0
  12. package/skills/anovgis-layers/SKILL.md +627 -0
  13. package/skills/anovgis-materials/SKILL.md +635 -0
  14. package/skills/anovgis-models-3dtiles/SKILL.md +448 -0
  15. package/skills/anovgis-pitfalls/SKILL.md +561 -0
  16. package/skills/anovgis-popup-widget/SKILL.md +474 -0
  17. package/skills/anovgis-primitives/SKILL.md +482 -0
  18. package/skills/anovgis-vector-graphics/SKILL.md +602 -0
  19. package/skills/anovgis-viewer/SKILL.md +618 -0
  20. package/skills/using-anovgis/DEMO-MAP.md +64 -0
  21. package/skills/using-anovgis/DEMO-SKILL-MAP.md +248 -0
  22. package/skills/using-anovgis/DOMAINS.md +183 -0
  23. package/skills/using-anovgis/REFERENCE.md +114 -0
  24. package/skills/using-anovgis/SKILL.md +392 -0
  25. package/skills/using-anovgis/templates/README.md +154 -0
  26. package/skills/using-anovgis/templates/combo1-vue3-vite.md +295 -0
  27. package/skills/using-anovgis/templates/combo2-vue2-cli.md +119 -0
  28. package/skills/using-anovgis/templates/combo3-html-cdn.md +107 -0
  29. package/skills/using-anovgis/templates/combo4-vanilla-webpack.md +91 -0
  30. package/skills/using-anovgis/templates/wizard-profiles.md +105 -0
  31. package/vendor/cesiumjs-skills/LICENSE +201 -0
  32. package/vendor/cesiumjs-skills/NOTICE +18 -0
  33. package/vendor/cesiumjs-skills/skills/cesiumjs-3d-tiles/SKILL.md +465 -0
  34. package/vendor/cesiumjs-skills/skills/cesiumjs-camera/SKILL.md +500 -0
  35. package/vendor/cesiumjs-skills/skills/cesiumjs-core-utilities/SKILL.md +403 -0
  36. package/vendor/cesiumjs-skills/skills/cesiumjs-custom-shader/REFERENCE.md +397 -0
  37. package/vendor/cesiumjs-skills/skills/cesiumjs-custom-shader/SKILL.md +351 -0
  38. package/vendor/cesiumjs-skills/skills/cesiumjs-custom-shader/examples/01-diffuse-tint.js +38 -0
  39. package/vendor/cesiumjs-skills/skills/cesiumjs-custom-shader/examples/02-texture-swap.js +42 -0
  40. package/vendor/cesiumjs-skills/skills/cesiumjs-custom-shader/examples/03-feature-id-tileset.js +29 -0
  41. package/vendor/cesiumjs-skills/skills/cesiumjs-custom-shader/examples/04-translucent-override.js +37 -0
  42. package/vendor/cesiumjs-skills/skills/cesiumjs-custom-shader/examples/05-vertex-displacement.js +49 -0
  43. package/vendor/cesiumjs-skills/skills/cesiumjs-custom-shader/examples/06-metadata-ramp.js +34 -0
  44. package/vendor/cesiumjs-skills/skills/cesiumjs-custom-shader/examples/07-voxel-shader.js +27 -0
  45. package/vendor/cesiumjs-skills/skills/cesiumjs-custom-shader/examples/README.md +19 -0
  46. package/vendor/cesiumjs-skills/skills/cesiumjs-custom-shader/examples/_sandcastle-template.html +9 -0
  47. package/vendor/cesiumjs-skills/skills/cesiumjs-entities/SKILL.md +389 -0
  48. package/vendor/cesiumjs-skills/skills/cesiumjs-imagery/SKILL.md +471 -0
  49. package/vendor/cesiumjs-skills/skills/cesiumjs-interaction/SKILL.md +423 -0
  50. package/vendor/cesiumjs-skills/skills/cesiumjs-materials-shaders/SKILL.md +292 -0
  51. package/vendor/cesiumjs-skills/skills/cesiumjs-models-particles/SKILL.md +423 -0
  52. package/vendor/cesiumjs-skills/skills/cesiumjs-primitives/SKILL.md +537 -0
  53. package/vendor/cesiumjs-skills/skills/cesiumjs-spatial-math/SKILL.md +358 -0
  54. package/vendor/cesiumjs-skills/skills/cesiumjs-terrain-environment/SKILL.md +401 -0
  55. package/vendor/cesiumjs-skills/skills/cesiumjs-time-properties/SKILL.md +353 -0
  56. package/vendor/cesiumjs-skills/skills/cesiumjs-viewer-setup/SKILL.md +434 -0
  57. package/vendor/cesiumjs-skills/skills/using-cesiumjs-skills/SKILL.md +35 -0
@@ -0,0 +1,64 @@
1
+ # Demo 场景 → Skill 路由表
2
+
3
+ > 本文件是 `skills/using-anovgis/SKILL.md` 的子文件 —— 按业务场景路由到 skill(58 行)。
4
+ > 由 using-anovgis 路由进入,不要被别的 skill 直接引用。
5
+ > 文件名级的完整矩阵(137 个 demo)见 [`DEMO-SKILL-MAP.md`](./DEMO-SKILL-MAP.md)。
6
+
7
+ ## Demo 场景 → Skill 路由表
8
+
9
+ 当用户**提到某个 demo 文件名**或**具体业务场景**时,按本表路由(完整 137 demo 矩阵见 [`DEMO-SKILL-MAP.md`](./DEMO-SKILL-MAP.md)):
10
+
11
+ | 用户提到 | 推荐 skill |
12
+ |---|---|
13
+ | `material/flowPolyline.html` / 流动线 / 颜色变红 | `anovgis-materials` |
14
+ | `model/loadGlb.html` / glTF 加载 | `anovgis-models-3dtiles` |
15
+ | `model/qingxieTileset.html` / 倾斜摄影 | `anovgis-models-3dtiles` |
16
+ | `model/quShouBengZhan.html` / 抽壳 | `anovgis-models-3dtiles` |
17
+ | `model/customshader.html` / 自定义 GLSL | `anovgis-models-3dtiles` + 备查 `anovgis-custom-primitive-worker`(v0.3.0) |
18
+ | `model/vectortiles*.html` / 矢量瓦片 4490 | `anovgis-layers` + 备查 `anovgis-imagery-terrain` |
19
+ | `model/cesium_three.html` / ThreeLayer 桥接 | `anovgis-three-layer`(v0.3.0) |
20
+ | `model/rainSnowPlane.html` / 雨雪平面 | `anovgis-models-3dtiles` + 备查 `anovgis-effects` |
21
+ | `model/PostFog.html` / 体积雾 | `anovgis-effects` + 备查 `anovgis-models-3dtiles` |
22
+ | `event/popup.html` / 弹窗 / bindPopup | `anovgis-popup-widget` |
23
+ | `event/tooltip.html` / 悬浮提示 | `anovgis-popup-widget` |
24
+ | `event/highlight.html` / 高亮 | `anovgis-popup-widget` + 备查 `anovgis-vector-graphics` |
25
+ | `event/tilesetpopup.html` / Tileset 拾取 | `anovgis-popup-widget` + 备查 `anovgis-models-3dtiles` |
26
+ | `event/imagerylayerpopup*.html` / 影像拾取 | `anovgis-popup-widget` + 备查 `anovgis-imagery-terrain` |
27
+ | `graphics/divInfo.html` / DOM 弹窗 | `anovgis-vector-graphics` + 备查 `anovgis-popup-widget` |
28
+ | `material/circleWave.html` / 扩散波 / 雷达波 | `anovgis-materials`(Property 版)/ `anovgis-primitives`(Primitive 版) |
29
+ | `material/circleBlur.html` / 模糊扩散圆 | `anovgis-materials` |
30
+ | `material/imgrader.html` / 图片雷达 | `anovgis-materials` |
31
+ | `material/waterShadertoy*.html` / 自定义 shadertoy 水面 | `anovgis-materials` + 备查 `anovgis-custom-primitive-worker`(v0.3.0) |
32
+ | `material/parabola.html` / 抛物线 | `anovgis-materials` |
33
+ | `material/daohangLine.html` / 导航线拐弯 | `anovgis-materials` |
34
+ | `material/cloud.html` / 云层 | `anovgis-primitives`(云 Primitive) |
35
+ | `effect/weather.html` / 下雨下雪起雾 | `anovgis-effects` |
36
+ | `effect/roaming.html` / 路径漫游 | `anovgis-effects` |
37
+ | `effect/dog.html` / 相机环绕 | `anovgis-effects` + 备查 `anovgis-roaming-editor-time`(v0.3.0) |
38
+ | `effect/globalrotate.html` / 全球自转 | `anovgis-effects` |
39
+ | `effect/autofly.html` / 航线 FlyManager | `anovgis-effects` + 备查 `anovgis-roaming-editor-time`(v0.3.0) |
40
+ | `effect/poststage.html` / 后期 Bloom | `anovgis-effects` |
41
+ | `effect/skybox.html` / 天空盒 | `anovgis-effects` + 备查 `anovgis-viewer` |
42
+ | `effect/locate.html` / 定位 | `anovgis-effects` + 备查 `anovgis-viewer` |
43
+ | `analysis/draw.html` / 标绘 | `anovgis-analysis` |
44
+ | `analysis/measure.html` / 测距测面积 | `anovgis-analysis` |
45
+ | `analysis/terraincliping*.html` / 地形剖切 | `anovgis-analysis` |
46
+ | `analysis/cesiumHeatMap.html` / 热力图 | `anovgis-analysis` |
47
+ | `analysis/windlayer*.html` / 风场 | `anovgis-analysis` |
48
+ | `analysis/waterAanalysis.html` / 水淹 | `anovgis-analysis` |
49
+ | `analysis/damWaterRelease.html` / 水坝开闸 | `anovgis-analysis` |
50
+ | `analysis/tools/positonEditor.html` / 三轴编辑 | `anovgis-analysis` + 备查 `anovgis-roaming-editor-time`(v0.3.0) |
51
+ | `basemap/*.html` / 各种底图 | `anovgis-imagery-terrain` |
52
+ | `geojsonLayer/*.html` / GeoJSON 加载 | `anovgis-layers` |
53
+ | `offlinemap/*.html` / 离线 / WFS / 4490 / 内网 | `anovgis-offline-deployment`(v0.3.0)+ 备查 `anovgis-imagery-terrain` |
54
+ | `performance/drawCommand.html` / DrawCommand 自定义 | `anovgis-custom-primitive-worker`(v0.3.0) |
55
+ | `performance/wall_*.html` / WallGeometry 自定义 | `anovgis-custom-primitive-worker`(v0.3.0) |
56
+ | `performance/CustomPrimitive.js` / 自定义 Primitive | `anovgis-custom-primitive-worker`(v0.3.0) |
57
+ | `performance/testwebworker.html` / WebWorker Pbf | `anovgis-custom-primitive-worker`(v0.3.0) |
58
+ | `thirdpart/threejsdemo.html` / three.js 集成 | `anovgis-three-layer`(v0.3.0) |
59
+ | 黑屏 / 白屏 / 报错 / 改值不生效 / Workers 404 / AMD / 自定义图元报错 | `anovgis-pitfalls` |
60
+
61
+ > 当某个 demo 命中 v0.3.0 候选 skill 时,先用现有 skill 处理基础问题,v0.3.0 上线后会自动接管。
62
+
63
+ ---
64
+
@@ -0,0 +1,248 @@
1
+ # DEMO-SKILL-MAP.md — 137 个 demo → Skill 路由矩阵
2
+
3
+ > **SDK 版本基准:** @anov/gis v1.8.6(基于 Cesium 1.143.0)
4
+ > **Plugin 版本:** anov-gis-skills v0.3.3
5
+ > **Demo 来源:** ANOV-GIS 仓库 `examples/public/examples/html/`(仓库内相对路径)共 137 个 .html 文件,按 13 类目分组
6
+
7
+ 本文档是 demo **文件名** → skill 的**完整版**路由矩阵(`using-anovgis/DEMO-MAP.md` 是场景级的简版)。当用户提到具体 demo 文件名或场景时,按本表路由到对应 skill。
8
+
9
+ **图例**:
10
+ - ✅ = 该 skill 直接拥有(snippet 溯源到此 demo)
11
+ - ⚠️ = 备查(demo 涉及该 skill 的部分内容)
12
+ - ❌ = 无 skill 覆盖(v0.3.0 候选)
13
+
14
+ ---
15
+
16
+ ## 1. basemap/(13 个) — `anovgis-imagery-terrain`
17
+
18
+ | Demo | 关键 API | skill 状态 |
19
+ |---|---|---|
20
+ | `tdtSatelliteImage.html` | `ImageryType.TDT` + key | ✅ 主 |
21
+ | `geodeSatelliteImage.html` | `createAmapImageryLayer` | ✅ 主 |
22
+ | `BaiduSatelliteImage.html` | `createBaiduImageryLayer` | ✅ 主 |
23
+ | `GoogleSatelliteImage.html` | `createGoogleImageryLayer` | ✅ 主 |
24
+ | `TencentSatelliteImage.html` | `createTencentImageryLayer` | ✅ 主 |
25
+ | `ArcGISSatelliteImage.html` | `createArcGisImageryLayer` | ✅ 主 |
26
+ | `GeoQSatelliteImage.html` | `createGeoQImageryLayer` | ✅ 主 |
27
+ | `remote.html` | 远端服务 | ✅ 主 |
28
+ | `maptheme.html` | `ImageryThemeGL` 暗色 | ✅ 主 |
29
+ | `CesiumTerrain.html` | `Cesium.Terrain.fromWorldTerrain()` | ✅ 主 |
30
+ | `ArcGISTerrain.html` | `ArcGISTiledElevationTerrainProvider.fromUrl()` | ✅ 主 |
31
+ | `terrainrgb.html` | TerrainRGB 全球高程 | ✅ 主 |
32
+ | `vectorTile.html` | 矢量瓦片 | ✅ 主 + ⚠️ `anovgis-offline-deployment`(v0.3.0) |
33
+
34
+ ---
35
+
36
+ ## 2. graphics/(9 个) — `anovgis-vector-graphics`
37
+
38
+ | Demo | 关键 API | skill 状态 |
39
+ |---|---|---|
40
+ | `point.html` | `ANOVGIS.Point` | ✅ 主 |
41
+ | `polyline.html` | `ANOVGIS.Polyline` | ✅ 主 |
42
+ | `polygon.html` | `ANOVGIS.Polygon` | ✅ 主 |
43
+ | `billboard.html` | `ANOVGIS.Billboard` + `ShapeUtil.drawCanvalCircle` | ✅ 主 |
44
+ | `billboard2.html` | Billboard 动画 | ✅ 主 |
45
+ | `label.html` | `ANOVGIS.Label` + 自定义字体 | ✅ 主 |
46
+ | `divInfo.html` | `ANOVGIS.DivIcon` HTML 弹窗 | ✅ 主 + ⚠️ `anovgis-popup-widget` |
47
+ | `divInfo2.html` | `ANOVGIS.DivIcon` 高级版 | ✅ 主 + ⚠️ `anovgis-popup-widget` |
48
+
49
+ ---
50
+
51
+ ## 3. geojsonLayer/(11 个) — `anovgis-layers`
52
+
53
+ | Demo | 关键 API | skill 状态 |
54
+ |---|---|---|
55
+ | `polygon.html` | `GeoJsonDataSource.load` + style | ✅ 主 |
56
+ | `polyline.html` | GeoJSON 折线 | ✅ 主 |
57
+ | `billboard.html` | GeoJSON 点位转 Billboard | ✅ 主 |
58
+ | `marker.html` | GeoJSON 点位 | ✅ 主 |
59
+ | `wall.html` | GeoJSON Wall | ✅ 主 |
60
+ | `wallBuilds.html` | Wall + `WallFlowMaterialProperty` | ✅ 主 + ⚠️ `anovgis-materials` |
61
+ | `polygonBuilds.html` | 建筑 GeoJSON | ✅ 主 |
62
+ | `polygonBuildsMaterial.html` | 建筑 GeoJSON + material | ✅ 主 + ⚠️ `anovgis-materials` |
63
+ | `primitiveMarker.html` | `PrimitiveMarker` | ✅ 主 + ⚠️ `anovgis-primitives` |
64
+ | `cluster.html` | `ClusterLayer` 聚合 | ✅ 主 |
65
+
66
+ ---
67
+
68
+ ## 4. material/(19 个) — `anovgis-materials`
69
+
70
+ | Demo | 关键 MaterialProperty | skill 状态 |
71
+ |---|---|---|
72
+ | `flowPolyline.html` | `PolylineFlowMaterialProperty` | ✅ 主 |
73
+ | `polylineTrail.html` | `PolylineTrailMaterialProperty` | ✅ 主 |
74
+ | `PolylineLighting.html` | `PolylineLightingTrailMaterialProperty` / `PolylineLightingMaterialProperty` / `PolylineGlowMaterialProperty` / `PolylineGradientMaterialProperty` | ✅ 主 |
75
+ | `lightingTrailPolyline.html` | `PolylineLightingTrailMaterialProperty` | ✅ 主 |
76
+ | `VFlywire.html` | `PolylineVFlywireMaterialPoperty`(SDK 拼写错误)| ✅ 主 |
77
+ | `daohangLine.html` | `DaoHangLineMaterialProperty` | ✅ 主 |
78
+ | `daohangLineTest.html` | DaoHangLine 拐弯版 | ✅ 主 |
79
+ | `ImageTrailPolyline.html` | `PolylineImageTrailMaterialProperty` | ✅ 主 |
80
+ | `parabola.html` | 抛物线材质 | ✅ 主 + ⚠️ `anovgis-vector-graphics`(PolylineVolume) |
81
+ | `imgrader.html` | `CircleScanMaterialProperty` 图片雷达 | ✅ 主 |
82
+ | `water.html` | `WaterMaterialProperty` | ✅ 主 |
83
+ | `waterShadertoy.html` | 自定义 shadertoy 水面 1 | ✅ 主 + ⚠️ `anovgis-custom-primitive-worker`(v0.3.0) |
84
+ | `waterShadertoy1.html` | 自定义 shadertoy 水面 2 | ✅ 主 + ⚠️ `anovgis-custom-primitive-worker`(v0.3.0) |
85
+ | `waterShadertoy2.html` | 自定义 shadertoy 水面 3 | ✅ 主 + ⚠️ `anovgis-custom-primitive-worker`(v0.3.0) |
86
+ | `circleWave.html` | `CircleWaveMaterialProperty` | ✅ 主 |
87
+ | `circleBlur.html` | `CircleBlurMaterialProperty` | ✅ 主 |
88
+ | `cloud.html` | CloudPrimitive 云层 | ✅ 主 + ⚠️ `anovgis-primitives` |
89
+
90
+ ---
91
+
92
+ ## 5. model/(12 个) — `anovgis-models-3dtiles`
93
+
94
+ | Demo | 关键 API | skill 状态 |
95
+ |---|---|---|
96
+ | `loadGlb.html` | `ANOVGIS.Model` 单 glTF | ✅ 主 |
97
+ | `loadSnow.html` | Model + Snow 天气 | ✅ 主 + ⚠️ `anovgis-effects` |
98
+ | `customshader.html` | 自定义 GLSL shader | ✅ 主 + ⚠️ `anovgis-custom-primitive-worker`(v0.3.0) |
99
+ | `PostFog.html` | 体积雾 | ✅ 主 + ⚠️ `anovgis-effects` |
100
+ | `qingxieTileset.html` | 倾斜摄影 | ✅ 主 |
101
+ | `quShouBengZhan.html` | 抽壳 + 倾斜摄影 | ✅ 主 |
102
+ | `vectortiles.html` | 矢量瓦片 1 | ✅ 主 + ⚠️ `anovgis-imagery-terrain` |
103
+ | `vectortiles1.html` | 矢量瓦片 2 | ✅ 主 + ⚠️ `anovgis-imagery-terrain` |
104
+ | `rainSnowPlane.html` | 雨雪平面 | ✅ 主 + ⚠️ `anovgis-effects` |
105
+ | `cesium_three.html` | `ThreeLayer` 桥接 | ⚠️ `anovgis-three-layer`(v0.3.0) |
106
+ | `threejs_factory.html` | threejs 工厂 | ⚠️ `anovgis-three-layer`(v0.3.0) |
107
+ | `rainSnowPlane@@.html` | 雨雪平面(变体)| ✅ 主 + ⚠️ `anovgis-effects` |
108
+
109
+ 子目录:`dat.gui/`、`factoryassets/`、`img/`、`buildMaterial.js`、`buildMaterial1.js` — 模型工厂辅助资源。
110
+
111
+ ---
112
+
113
+ ## 6. effect/(10 个) — `anovgis-effects`
114
+
115
+ | Demo | 关键 API | skill 状态 |
116
+ |---|---|---|
117
+ | `weather.html` | `Weather` + Rain/Snow/Fog/Cloud | ✅ 主 |
118
+ | `roaming.html` | `RoamingController` / `RoamingPath` | ✅ 主 |
119
+ | `dog.html` | `AroundPoint` 环绕 | ✅ 主 + ⚠️ `anovgis-roaming-editor-time`(v0.3.0) |
120
+ | `dog2.html` | 悬浮岛地理可视化(v1.8.5 新增)| ✅ 主 + ⚠️ `anovgis-roaming-editor-time`(v0.3.0) |
121
+ | `globalrotate.html` | `GlobeRotate` 整球自转 | ✅ 主 + ⚠️ `anovgis-roaming-editor-time`(v0.3.0) |
122
+ | `autofly.html` | `FlyManager` 航线 | ✅ 主 + ⚠️ `anovgis-roaming-editor-time`(v0.3.0) |
123
+ | `poststage.html` | Effect 7 stage 后期 | ✅ 主 |
124
+ | `skybox.html` | 天空盒切换 | ✅ 主 + ⚠️ `anovgis-viewer`(已补 skybox 关键词) |
125
+ | `locate.html` | `LocateUtil.flyToPoint` | ✅ 主 + ⚠️ `anovgis-viewer` |
126
+ | `testzoom.html` | zoom 缩放 | ✅ 主 + ⚠️ `anovgis-viewer` |
127
+
128
+ ---
129
+
130
+ ## 7. analysis/(16 个含子目录) — `anovgis-analysis`
131
+
132
+ | Demo | 关键 API | skill 状态 |
133
+ |---|---|---|
134
+ | `draw.html` | Draw* 6 类 | ✅ 主 |
135
+ | `measure.html` | Draw* + justDraw:false 测距 | ✅ 主 |
136
+ | `geocoder.html` | `GeocoderType` 天地图地名搜索 | ✅ 主 + ⚠️ `anovgis-viewer` |
137
+ | `geocoderOld.html` | 老版 geocoder | ✅ 主 |
138
+ | `geocoder_shanxi.html` | 陕西版 geocoder | ✅ 主 |
139
+ | `locateTest.html` | `LocateUtil` | ✅ 主 + ⚠️ `anovgis-viewer` |
140
+ | `terraincliping.html` | `TerrainClipping` 开挖 | ✅ 主 |
141
+ | `terraincliping2.html` | `TerrainClipping` 剖切 | ✅ 主 |
142
+ | `waterAanalysis.html` | `CesiumWaterAnalysis` 水淹 | ✅ 主 |
143
+ | `windlayer.html` | `WindLayer` 风场 | ✅ 主 |
144
+ | `windlayer2.html` | `WindLayer` 参数调节 | ✅ 主 |
145
+ | `damWaterRelease.html` | `DamWaterRelease` 水坝 | ✅ 主 |
146
+ | `cesiumHeatMap.html` | `CesiumHeatMap` / `HeatMapLayer` | ✅ 主 |
147
+ | `tools/positonEditor.html` | `PositonEditor` 三轴编辑 | ✅ 主 + ⚠️ `anovgis-roaming-editor-time`(v0.3.0) |
148
+ | `tools/test.html` | 编辑工具测试 | ✅ 主 |
149
+ | `dat.gui/` | dat.gui 调试 | ❌ 无(外部库) |
150
+
151
+ ---
152
+
153
+ ## 8. event/(9 个) — `anovgis-popup-widget`
154
+
155
+ | Demo | 关键 API | skill 状态 |
156
+ |---|---|---|
157
+ | `popup.html` | `bindPopup` + VectorLayer | ✅ 主 + ⚠️ `anovgis-vector-graphics` |
158
+ | `tooltip.html` | `bindTooltip` | ✅ 主 + ⚠️ `anovgis-vector-graphics` |
159
+ | `tilesetpopup.html` | Tileset 拾取 + Popup | ✅ 主 + ⚠️ `anovgis-models-3dtiles` |
160
+ | `tilesetpopup1.html` | Tileset Popup 变体 | ✅ 主 + ⚠️ `anovgis-models-3dtiles` |
161
+ | `imagerylayerpopup.html` | 影像 popup | ✅ 主 + ⚠️ `anovgis-imagery-terrain` |
162
+ | `imagerylayerpopup_line.html` | 影像 line popup | ✅ 主 |
163
+ | `imagerylayerpopup_point.html` | 影像 point popup | ✅ 主 |
164
+ | `highlight.html` | `selectedHighlight` 高亮 | ✅ 主 + ⚠️ `anovgis-vector-graphics` |
165
+
166
+ ---
167
+
168
+ ## 9. offlinemap/(13 个) — `anovgis-offline-deployment`(v0.3.0)+ `anovgis-imagery-terrain`
169
+
170
+ | Demo | 关键 API | skill 状态 |
171
+ |---|---|---|
172
+ | `xyz.html` | `createXYZImageryLayer` | ⚠️ v0.3.0 + ✅ `anovgis-imagery-terrain` |
173
+ | `wfs.html` | WFS 查询 | ⚠️ v0.3.0 |
174
+ | `geoServerWms.html` | GeoServer WMS | ⚠️ v0.3.0 + ✅ `anovgis-imagery-terrain` |
175
+ | `geoServerWmts.html` | GeoServer WMTS | ⚠️ v0.3.0 + ✅ `anovgis-imagery-terrain` |
176
+ | `iServerWmsCGI.html` | 超图 iServer WMS | ⚠️ v0.3.0 |
177
+ | `iServerWmsGuanGaiMianJi.html` | iServer 灌溉面积 WMS | ⚠️ v0.3.0 |
178
+ | `iServerWmsTuRangHanShuiLiang.html` | iServer 土壤含水量 WMS | ⚠️ v0.3.0 |
179
+ | `iServerWmsZuowu.html` | iServer 作物 WMS | ⚠️ v0.3.0 |
180
+ | `image.html` | 单图覆盖 | ✅ `anovgis-imagery-terrain` |
181
+ | `terrain.html` | 离线地形 | ✅ `anovgis-imagery-terrain` |
182
+ | `railway.html` | 铁路线(业务专属)| ❌ 无 |
183
+ | `loadVectorTiles_4490.html` | 4490 矢量瓦片 | ⚠️ v0.3.0 + ⚠️ `anovgis-imagery-terrain` |
184
+ | `backgrountransparent.html` | 背景透明 | ⚠️ v0.3.0 |
185
+
186
+ ---
187
+
188
+ ## 10. performance/(28 个) — `anovgis-custom-primitive-worker`(v0.3.0)
189
+
190
+ | Demo | 关键 API | skill 状态 |
191
+ |---|---|---|
192
+ | `CustomPrimitive.js` | 自定义 Primitive | ⚠️ v0.3.0 |
193
+ | `drawCommand.html` | `DrawCommand` | ⚠️ v0.3.0 |
194
+ | `wall_cesium.html` | WallGeometry 自定义 | ⚠️ v0.3.0 |
195
+ | `wall_drawCommand*.html`(15+ 变体)| Wall + DrawCommand | ⚠️ v0.3.0 |
196
+ | `wallGeometry.html` | WallGeometry 编写 | ⚠️ v0.3.0 |
197
+ | `testwebworker.html` | WebWorker Pbf 解码 | ⚠️ v0.3.0 |
198
+ | `testcityengine.html` | 城市引擎(业务专属)| ❌ 无 |
199
+ | `testdilei.html` | 业务专属 | ❌ 无 |
200
+ | `textureRectangle.html` | 纹理矫正 | ⚠️ v0.3.0 |
201
+ | `tiles_building.html` | 大量 3dtiles 加载(性能)| ⚠️ `anovgis-models-3dtiles` |
202
+ | `tiles_tree.html` | 3dtiles 树木(性能)| ⚠️ `anovgis-models-3dtiles` |
203
+ | `js/`、`shaders/`、`datas/`、`workers/`、`3d/`、`assets/` | 性能测试辅助资源 | — |
204
+
205
+ ---
206
+
207
+ ## 11. thirdpart/(2 个) — `anovgis-three-layer`(v0.3.0)
208
+
209
+ | Demo | 关键 API | skill 状态 |
210
+ |---|---|---|
211
+ | `threejsdemo.html` | Three.js 集成 | ⚠️ v0.3.0 |
212
+ | `thirddemo.html` | 第三方库 demo | ❌ 无(业务专属) |
213
+
214
+ ---
215
+
216
+ ## 12. demos/(2 个) — 综合性 demo
217
+
218
+ | Demo | 关键 API | skill 状态 |
219
+ |---|---|---|
220
+ | `digitalCity.html` | 融合 Viewer + 影像 + 3D Tiles + GeoJSON + Roaming + shader | 多 skill 联合 |
221
+ | `testDemo.html` | 融合测试 | ⚠️ `anovgis-three-layer`(v0.3.0) |
222
+
223
+ ---
224
+
225
+ ## 13. 其他路径
226
+
227
+ - `model/dat.gui/`、`model/factoryassets/`、`model/img/` — 工厂资源(无 skill 路由)
228
+ - `model/buildMaterial.js`、`buildMaterial1.js` — buildMaterial 脚本(无 skill 路由)
229
+ - `analysis/dat.gui/` — dat.gui 调试(外部库)
230
+
231
+ ---
232
+
233
+ ## 14. 路由决策示例
234
+
235
+ 当用户说以下话时,按本表路由:
236
+
237
+ | 用户提问 | 路由到 |
238
+ |---|---|
239
+ | "flowPolyline.html 颜色变红" | `anovgis-materials` |
240
+ | "loadGlb.html 报错" | `anovgis-models-3dtiles` |
241
+ | "customshader 改 GLSL" | `anovgis-models-3dtiles` + 备查 `anovgis-custom-primitive-worker`(v0.3.0) |
242
+ | "popup.html 改成跟随鼠标" | `anovgis-popup-widget` |
243
+ | "cesium_three 加 mesh" | `anovgis-three-layer`(v0.3.0) |
244
+ | "offlinemap/xyz 加载" | `anovgis-offline-deployment`(v0.3.0) |
245
+ | "drawCommand 报红" | `anovgis-custom-primitive-worker`(v0.3.0) |
246
+ | "skybox 换图" | `anovgis-effects` + 备查 `anovgis-viewer` |
247
+ | "4490 瓦片" | `anovgis-offline-deployment`(v0.3.0)+ 备查 `anovgis-imagery-terrain` |
248
+ | "testcityengine 报错" | ❌ 无 skill(业务 demo)→ 引导用户提供更多上下文 |
@@ -0,0 +1,183 @@
1
+ # DOMAINS.md — anov-gis-skills 权威归属
2
+
3
+ > **SDK 版本基准:** @anov/gis **v1.8.6**(基于 Cesium **1.143.0**)
4
+ > **Plugin 版本:** anov-gis-skills **v0.3.3**
5
+ > **Skill 数:** **12**(含 `using-anovgis` 入口 + 3 个 v0.2.0 新增 skill)
6
+ > **入口 skill 额外职责**:引导式初始化(AskUserQuestion 向导:底图 / 控件 / 部署;**技术栈固定 Vue 3 + Vite**)
7
+
8
+ 本文档是 12 个 skill 拆分的**权威真相**。每个 SDK 类、snippet、demo 路由**只归属于一个 skill**;其他 skill 可以反向引用,但只有一个 skill **拥有**它。
9
+
10
+ LLM 在回答时遇到归属不明时,按本文档第 2 节「跨域路由表」+ 第 3 节「反归属清单」判断。
11
+
12
+ ---
13
+
14
+ ## 1. 权威归属表(8 大域)
15
+
16
+ 下表覆盖 `@anov/gis/src/` 全部 8 大子目录。每个 SDK 类只归属于一个主 skill,可有 1-2 个备查 skill。
17
+
18
+ ### 1.1 `graphic/` — 图元体系(拆分到 2 个 skill)
19
+
20
+ | SDK 类 / 子目录 | 主 skill | 备查 skill | 关键 demo |
21
+ |---|---|---|---|
22
+ | `Graphic`(抽象类)/ `GraphicType` | `anovgis-vector-graphics` | `anovgis-primitives` | — |
23
+ | Vector 16 类(Point/Polyline/Polygon/Circle/Ellipse/Rect/Wall/Box/Cylinder/Ellipsoid/Corridor/PolylineVolume/Plane/Billboard/Label/DivIcon)| `anovgis-vector-graphics` | — | `graphics/`、`geojsonLayer/` |
24
+ | `Model` / `Tileset`(Model 类) | `anovgis-models-3dtiles` | `anovgis-vector-graphics` | `model/loadGlb.html`、`model/qingxieTileset.html` |
25
+ | **Primitive 19 类**(BillboardPrimitive / BounceBillboardPrimitive / BounceLabelPrimitive / CloudPrimitive / DiffuseWallPrimitive / ElecEllipsoidPrimitive / FlowLinePrimitive / GroundPolygonPrimitive / GroundPolylinePrimitive / LabelPrimitive / LightCylinderPrimitive / ModelPrimitive / ModelCollectionPrimitive / PointPrimitive / PolylinePrimitive / ScanCirclePrimitive / TrailLinePrimitive / VideoPrimitive / WaterPrimitive)| **`anovgis-primitives`** ⭐ | `anovgis-vector-graphics` | `material/`、`model/cesium_three.html`、`performance/wall_*.html` |
26
+
27
+ ### 1.2 `layer/` — 图层体系(拆 2 个 skill)
28
+
29
+ | SDK 类 | 主 skill | 备查 skill | 关键 demo |
30
+ |---|---|---|---|
31
+ | `Layer`(基类) | `anovgis-layers` | — | — |
32
+ | 要素图层 14 类(VectorLayer / GeoJsonLayer / TopoJsonLayer / CzmlLayer / KmlLayer / GpxLayer / TilesetLayer / PrimitiveLayer / HtmlLayer / LabelLayer / ClusterLayer / GroundPrimitiveLayer / FeatureGridLayer / DynamicLayer)| `anovgis-layers` | — | `geojsonLayer/`、`offlinemap/` |
33
+ | Imagery / Terrain 体系(ImageryLayerFactory / ImageryType / TerrainFactory / TerrainType / SplitImageLayer / ImageryThemeGL / MultiKeyTdtImageryProvider v1.8.6)| `anovgis-imagery-terrain` | — | `basemap/`、`offlinemap/` |
34
+
35
+ ### 1.3 `material/` — 材质体系(1 个 skill)
36
+
37
+ | SDK 类 | 主 skill | 备查 skill | 关键 demo |
38
+ |---|---|---|---|
39
+ | 18 个 `*MaterialProperty`(PolylineFlow / PolylineTrail / PolylineLightingTrail / PolylineLighting / PolylineGlow / PolylineGradient / PolylineImageTrail / PolylineVFlywire / PolylineFlicker / DaoHangLine / Water / WallFlow / WallGradient / WallLineFlow / WallImg / CircleWave / CircleBlur / CircleScan)| `anovgis-materials` | `anovgis-vector-graphics`(Primitive 版对应的 MaterialProperty 用法) | `material/` |
40
+ | `MaterialPropertyBase` 基类 + shader 注册机制(`type/*.js`) | `anovgis-materials` | — | — |
41
+
42
+ ### 1.4 `analysis/` — 分析与标绘(1 个 skill)
43
+
44
+ | SDK 类 | 主 skill | 备查 skill | 关键 demo |
45
+ |---|---|---|---|
46
+ | Draw 7 类(DrawBase / DrawPoint / DrawPolyLine / DrawPolygon / DrawRectangle / DrawCircle / NoDepthTestPolylineCollection)| `anovgis-analysis` | — | `analysis/draw.html`、`analysis/measure.html` |
47
+ | `TerrainClipping`(地形剖切/开挖)| `anovgis-analysis` | — | `analysis/terraincliping.html` |
48
+ | `CesiumWaterAnalysis`(水淹)| `anovgis-analysis` | — | `analysis/waterAanalysis.html` |
49
+ | 热力图两套(`CesiumHeatMap` Canvas 引擎 + `HeatMapLayer` WebGL 引擎)| `anovgis-analysis` | — | `analysis/cesiumHeatMap.html` |
50
+ | `WindLayer`(风场粒子)| `anovgis-analysis` | — | `analysis/windlayer.html` |
51
+ | `DamWaterRelease`(水坝开闸放水)| `anovgis-analysis` | — | `analysis/damWaterRelease.html` |
52
+ | `PositonEditor`(点位/模型编辑控件,三轴 gizmo)| `anovgis-analysis` | `anovgis-models-3dtiles`(用于编辑 Tileset) | `analysis/tools/positonEditor.html` |
53
+
54
+ ### 1.5 `effect/` — 特效(1 个 skill)
55
+
56
+ | SDK 类 | 主 skill | 备查 skill | 关键 demo |
57
+ |---|---|---|---|
58
+ | 天气(`Weather` + Rain/Snow/Fog/Cloud 子组件)| `anovgis-effects` | — | `effect/weather.html` |
59
+ | 漫游(`RoamingController` / `RoamingPath` / `KeyboardRoaming`)| `anovgis-effects` | — | `effect/roaming.html` |
60
+ | 动画(`GlobeRotate` / `AroundPoint` / `FlyManager`)| `anovgis-effects` | — | `effect/globalrotate.html`、`effect/dog.html`、`effect/autofly.html` |
61
+ | 后期 Effect 7 stage(Bloom / LensFlare / DepthOfField / Brightness / NightVision / Silhouette / BlackAndWhite)| `anovgis-effects` | — | `effect/poststage.html` |
62
+
63
+ ### 1.6 `base/` — 基础工具(多个 skill 共用)
64
+
65
+ | SDK 类 | 主 skill | 备查 skill | 关键 demo |
66
+ |---|---|---|---|
67
+ | `Viewer` / `ViewerOption` + 17 个扩展字段 | `anovgis-viewer` | — | 全部 demo 入口 |
68
+ | `applicationApi` / `createInstance` / 消息协议 | `anovgis-viewer` | — | — |
69
+ | `ThreeCoordTransform` / `Transform`(坐标系/坐标转换)| `anovgis-viewer` | — | 全部 demo 坐标系用法 |
70
+ | 11 个事件枚举(`MouseEventType` / `ViewerEventType` / `SceneEventType` / `LayerEventType` / `GraphicEventType` / `LayerGroupEventType` / `TrackEventType` / `PathEventType` / `PlotEventType` / `FlyEventType` / `WidgetEventType`)| `anovgis-viewer` | 各领域 skill | 全部 demo |
71
+ | 8 个 Geocoder(TIANDITU/AMAP/TENCENT/BAIDU/...)| `anovgis-viewer` | — | `analysis/geocoder.html` |
72
+ | 5 个 Util(Util / DomUtil / WktUtil / CoordUtil / ShapeUtil)| `anovgis-viewer` | — | — |
73
+ | 5 个 Popup/Widget 类(`Popup` / `Tooltip` / `Template` / `WidgetBase` / `InfoBox`)| **`anovgis-popup-widget`** ⭐ | `anovgis-vector-graphics`(bindPopup 用法) | `event/popup.html`、`event/tooltip.html` |
74
+
75
+ ### 1.7 `application/` — 应用层消息协议(暂不开 skill)
76
+
77
+ | SDK 类 | 归属 | 说明 |
78
+ |---|---|---|
79
+ | `createInstance` / `applicationApi` / `messageFn` / `messageStatus` / `MessageType` | `anovgis-viewer`(简版) | 仅覆盖 `ANOVGIS.init` + `viewer.scene.camera.focus` 两个 message name。完整业务封装位于 `@anov/gis.applyfn` 子包(**不覆盖**)。 |
80
+
81
+ ### 1.8 `thirdpard/` — ThreeLayer 桥接(v0.3.0 开 skill)
82
+
83
+ | SDK 类 | 归属 | 说明 |
84
+ |---|---|---|
85
+ | `ThreeLayer` / `CesiumThreeLib` | `anovgis-three-layer`(v0.3.0)⭐ | 桥接 three.js;本仓库不覆盖 `@anov/gis.cesiumthreelib` 子包路径 |
86
+
87
+ ---
88
+
89
+ ## 2. 跨域路由表(症状 → skill)
90
+
91
+ 按用户自然语言反向路由到最匹配的 skill。
92
+
93
+ | 用户表达 / 关键词 | 主 skill | 备 skill |
94
+ |---|---|---|
95
+ | "加载 GeoJSON / 加载 3D Tiles / 加载 CZML / 加载 KML / Cluster 聚合 / DOM 叠加层 / 4490 矢量瓦片 / 切片加载" | `anovgis-layers` | `anovgis-vector-graphics`(Entity 容器) |
96
+ | "3D Tiles 模型加载 / glTF / 倾斜摄影 / quShouBengZhan / qingxieTileset / 抽壳 / Tileset 卡顿 / 颜色调色 / 拾取 Tileset" | `anovgis-models-3dtiles` | `anovgis-layers`(TilesetLayer 容器) |
97
+ | "Primitive / CloudPrimitive / DiffuseWall / FlowLine / ScanCircle / WaterPrimitive / LightCylinder / 雷达扫描 / 尾迹线 / 流动线 Primitive 版" | `anovgis-primitives` | `anovgis-materials`(MaterialProperty 版对应) |
98
+ | "Popup / Tooltip / 信息框 / 弹窗 / bindPopup / bindTooltip / highlight / selectedHighlight / 跟随鼠标 / tilesetpopup / imagerylayerpopup" | `anovgis-popup-widget` | `anovgis-vector-graphics`(bindPopup 基础) |
99
+ | "流动线 / 水面 / 雷达波 / 扩散波 / 导航线 / 渐变线 / 抛物线 / 图片扫描 / 材质 uniform" | `anovgis-materials` | `anovgis-primitives`(Primitive 版) |
100
+ | "标绘 / 测量 / 测距 / 测面积 / DrawPolyLine / DrawPolygon / 地形剖切 / 开挖 / 热力图 / 风场粒子 / 水淹 / 水坝开闸放水 / 三轴编辑 / PositonEditor" | `anovgis-analysis` | — |
101
+ | "下雨 / 下雪 / 起雾 / 卷云 / 漫游 / 路径漫游 / 键盘漫游 / 相机环绕 / 第一人称 / 航线 / 自转 / 泛光 / 夜视 / 景深 / 黑白 / 后期" | `anovgis-effects` | — |
102
+ | "Viewer 配置 / 坐标系转换 / WGS84 GCJ02 / 屏幕↔世界 / 事件订阅 / flyTo / 创建实例 / 消息协议 / 天空盒 / skybox / 默认视角" | `anovgis-viewer` | — |
103
+ | "加载影像 / 天地图 / 高德 / 百度 / WMS / WMTS / XYZ 瓦片 / 地形 / 暗色主题 / 卷帘对比 / 离线部署 / 4490" | `anovgis-imagery-terrain` | `anovgis-offline-deployment`(v0.3.0 离线场景) |
104
+ | "黑屏 / 白屏 / 不生效 / 报错 / 改值不生效 / Workers 404 / AMD / Module not found / CORS / 自定义图元报错 / 性能调优" | `anovgis-pitfalls` | — |
105
+ | "cesium_three / threejs / mesh 注入 / ThreeLayer 桥接" | `anovgis-three-layer`(v0.3.0)| `anovgis-models-3dtiles`(Cesium 端) |
106
+ | "DrawCommand / WallGeometry / CustomPrimitive / GLSL shader 编写 / WebWorker / Pbf 解码 / 纹理矫正 / 城市引擎" | `anovgis-custom-primitive-worker`(v0.3.0)| `anovgis-pitfalls`(编译/运行报错) |
107
+ | "离线 / XYZ / WFS / 4490 / deployConfig / 内网 / 本地瓦片 / 透明底图" | `anovgis-offline-deployment`(v0.3.0)| `anovgis-imagery-terrain`(基础) |
108
+ | "不知道该用哪个 / 从零开始 / 新建项目 / 初始化 / quickstart / 应该用哪个 skill" | `using-anovgis` | — |
109
+
110
+ ---
111
+
112
+ ## 3. 反归属清单(不要在 X skill 写 Y)
113
+
114
+ LLM 写代码时容易越界。本节列出每个 skill 的**禁止越界**清单。
115
+
116
+ | Skill | 不要写 | 去向 |
117
+ |---|---|---|
118
+ | `anovgis-materials` | Material 实例化 / 绑定到 Entity(如 `entity.material = new *MaterialProperty(...)`)的完整代码 | 见 `anovgis-vector-graphics` / `anovgis-layers` |
119
+ | `anovgis-materials` | `*Primitive` 自带材质版本(ScanCircle / DiffuseWall / FlowLine 等 Primitive 版)| 见 `anovgis-primitives` |
120
+ | `anovgis-vector-graphics` | Primitive 19 类完整用法(仅 `Vector 16 + Model 2 = 18 类` 是本 skill 主域)| 见 `anovgis-primitives` |
121
+ | `anovgis-vector-graphics` | `Tileset` 加载 + 调色 + 抽壳 + 倾斜摄影 | 见 `anovgis-models-3dtiles` |
122
+ | `anovgis-vector-graphics` | `bindPopup` / `bindTooltip` / `highlight` 的**业务封装** + `tilesetpopup` / `imagerylayerpopup` 完整示例 | 见 `anovgis-popup-widget` |
123
+ | `anovgis-layers` | `Tileset` 模型加载 + 拾取 + 抽壳(仅 `TilesetLayer` 容器是本 skill 主域)| 见 `anovgis-models-3dtiles` |
124
+ | `anovgis-layers` | 离线 / WFS / 4490 / 内网 / 透明底图 / iServer | 见 `anovgis-offline-deployment`(v0.3.0) |
125
+ | `anovgis-viewer` | `bindPopup` / `bindTooltip` 实现 | 见 `anovgis-popup-widget` |
126
+ | `anovgis-viewer` | 完整 5 个 Util(Util / DomUtil / WktUtil / CoordUtil / ShapeUtil)API — 仅在 snippet 中按需引用 | 见 SDK `src/base/utils/` 源码 |
127
+ | `anovgis-imagery-terrain` | 离线部署清单 / `deployConfig.js` 模板 | 见 `anovgis-offline-deployment`(v0.3.0) |
128
+ | `anovgis-effects` | Cesium 官方 post-process stage(仅 Effect 7 stage 是本 skill 主域)| 见 Cesium 文档 |
129
+ | `anovgis-analysis` | Cesium 原生 ClippingPlanesCollection | 见 `anovgis-offline-deployment`/`anovgis-models-3dtiles`(按场景) |
130
+ | `anovgis-pitfalls` | 完整错误码 / 完整 Cesium 迁移指南 | 见 Cesium 1.143 release notes |
131
+ | `anovgis-models-3dtiles` | Primitive 19 类用法 | 见 `anovgis-primitives` |
132
+ | `anovgis-models-3dtiles` | `viewer.clock` 时间播放 / CZML playback 完整用法 | 见 `anovgis-roaming-editor-time`(v0.3.0) |
133
+ | `anovgis-popup-widget` | `Popup` / `Tooltip` / `Template` / `WidgetBase` 的 Cesium 原生 InfoBox | 见 Cesium 文档 |
134
+ | `anovgis-primitives` | `*MaterialProperty` 版本(Primitive 自带材质 vs Property 挂在 entity)| 见 `anovgis-materials` |
135
+ | `using-anovgis` | 任何具体 API / class 详解 | 见对应领域 skill |
136
+
137
+ ---
138
+
139
+ ## 4. 空白域待补(v0.3.0 / v0.4.0 候选)
140
+
141
+ | 域 | SDK 内容 | 计划归属 | 备注 |
142
+ |---|---|---|---|
143
+ | **ThreeLayer 桥接** | `src/thirdpard/ThreeLayer.js` + `model/cesium_three.html` + `model/threejs_factory.html` + `thirdpart/*` | `anovgis-three-layer` v0.3.0 | 5 个 demo + 1 文档 |
144
+ | **CustomPrimitive + web worker** | `performance/` 28 个 demo:CustomPrimitive.js / drawCommand / wall_*.html / testwebworker / testcityengine | `anovgis-custom-primitive-worker` v0.3.0 | 自定义 GLSL + DrawCommand + WebWorker Pbf 解码 |
145
+ | **离线部署** | `offlinemap/` 13 个 demo:XYZ / WFS / WMS / WMTS / iServer / 4490 / transparent / railway / deployConfig | `anovgis-offline-deployment` v0.3.0 | 含 `deployConfig.js` 模板说明 |
146
+ | **漫游 · 编辑 · Time** | `effect/roaming / autofly / dog / globalrotate / skybox / testzoom` + `analysis/tools/positonEditor` + v1.8.6 新增 `TilesetEditor` + `viewer.clock` / `CzmlLayer` playback | `anovgis-roaming-editor-time` v0.3.0 | Time 子域涉及 CZML + SampledPositionProperty |
147
+ | **applyfn / ui 子包** | `@anov/gis.applyfn`(bindPopup 业务封装、highlight 业务封装)/ `@anov/gis.ui`(UI 控件) | ❌ 不纳入 | 用户决策:暂时不覆盖 |
148
+ | **CesiumJS 1.144+** | 任何 1.144+ 新 API(voxel / Gaussian splat / 新的 post-process stage) | ❌ 不纳入 | 本 skills 锁定 1.143 baseline |
149
+ | **`@anov/gis.cesiumthreelib` 子包路径** | `import ANOVGIS from '@anov/gis/cesiumthreelib'` 等子路径 | ❌ 不纳入 | npm 包无 `exports` 字段,子路径在发布版无法解析 |
150
+
151
+ ---
152
+
153
+ ## 5. 变更日志
154
+
155
+ ### v0.2.0(2026-09-16)
156
+ - **引导式初始化**:`using-anovgis` 新增 5 步交互向导(技术栈 / 底图 / 控件 profile / 部署 / 默认视角),用 `AskUserQuestion` 输出 Vue 3 / Vue 2 / HTML+CDN / Vanilla webpack 4 种技术栈的完整项目骨架
157
+ - 同步 `@anov/gis` v1.8.4 → v1.8.6 同步:`MultiKeyTdtImageryProvider` / `PositonEditor` / `TilesetEditor` / `Viewer.flyTo` Primitive 重载 / 15 个 Primitive 类 `boundingSphere` getter / `DaoHangLineMaterialProperty` 漏登补齐
158
+ - 修 frontmatter:`anovgis-pitfalls` 与 `anovgis-imagery-terrain` 补 `name`
159
+ - 新增 skill:`anovgis-primitives`、`anovgis-models-3dtiles`、`anovgis-popup-widget`
160
+ - 强化为 5 节结构(权威归属 / 跨域路由 / 反归属 / 空白域 / 变更日志)
161
+ - 同步 `@anov/gis` v1.8.4 → v1.8.6 同步:`MultiKeyTdtImageryProvider` / `PositonEditor` / `TilesetEditor` / `Viewer.flyTo` Primitive 重载 / 15 个 Primitive 类 `boundingSphere` getter / `DaoHangLineMaterialProperty` 漏登补齐
162
+ - 修 frontmatter:`anovgis-pitfalls` 与 `anovgis-imagery-terrain` 补 `name`
163
+ - 新增 skill:`anovgis-primitives`、`anovgis-models-3dtiles`、`anovgis-popup-widget`
164
+ - 强化为 5 节结构(权威归属 / 跨域路由 / 反归属 / 空白域 / 变更日志)
165
+
166
+ ### v0.1.1(2026-07-30)
167
+ - snippet 密度从 ~67 → 115(+72%)
168
+
169
+ ### v0.1.0(2026-07-30)
170
+ - 从 hub-spoke `~/.claude/skills/anov-gis/`(121 行 SKILL.md + 9 个 references/)迁移
171
+ - 9 个领域 skill + `docs/DOMAINS.md` 权威归属图
172
+
173
+ ---
174
+
175
+ ## 6. 关联阅读
176
+
177
+ - `using-anovgis/SKILL.md`:入口 router —— 12 skill 路由表 + 第 0 铁律 + 引导式初始化向导
178
+ - `using-anovgis/REFERENCE.md`:关键词 → skill 章节速查表(64 条,每条带锚点)
179
+ - `using-anovgis/DEMO-MAP.md`:业务场景 → skill 路由表(58 条)
180
+ - `using-anovgis/templates/`:工程骨架模板(组合 1 Vue3+Vite ⭐ / 组合 2 Vue2+CLI / 组合 3 HTML+CDN / 组合 4 Vanilla+webpack)
181
+ - `using-anovgis/DEMO-SKILL-MAP.md`:137 个 demo → skill 完整路由矩阵(LLM 兜底参考)
182
+ - `@anov/gis` v1.8.6 源码:ANOV-GIS 仓库 `src/`(仓库内相对路径)
183
+ - `@anov/gis` v1.8.6 demo:ANOV-GIS 仓库 `examples/public/examples/html/`(137 个 .html,**仅作追溯来源,核心代码已内嵌 skill**)
@@ -0,0 +1,114 @@
1
+ # 用户关键词 → skill 章节速查表
2
+
3
+ > 本文件是 `skills/using-anovgis/SKILL.md` 的子文件 —— 关键词速查表(64 条)。
4
+ > 由 using-anovgis 路由进入,不要被别的 skill 直接引用。
5
+
6
+ 接到需求时**先查本表**,按「对应章节」跳到 skill 体系内对应位置,**代码已嵌在那**,不要再去找外部文件。
7
+
8
+ 表里每一行都带**可点击的锚点链接**,点进去就是对应 skill 的那节 —— 锚点由 `scripts/check-structure.mjs` 校验,失效会直接报错。
9
+
10
+ ## 影像 / 地形(`anovgis-imagery-terrain`)
11
+
12
+ | 用户原话 / 关键词 | 对应 skill 章节 | 主要 SDK API |
13
+ |---|---|---|
14
+ | 暗色 / 夜间 / 反色 / 主题切换 / invertColor | [§ S10 暗色主题](../anovgis-imagery-terrain/SKILL.md#s10) | `ANOVGIS.ImageryThemeGL().setTheme({invert, bgColor, alpha})` |
15
+ | 天地图 / 国家地名 / 经纬度注记 | [§ S1 天地图影像](../anovgis-imagery-terrain/SKILL.md#s1) | `ImageryLayerFactory.createTdtImageryLayer({style:'img'\|'cva'\|'ter', key})` |
16
+ | 多 key 天地图灾备 / 自动切换 | [§ S1 天地图影像(末尾 v1.8.6 注释)](../anovgis-imagery-terrain/SKILL.md#s1) | `new ANOVGIS.MultiKeyTdtImageryProvider({style, keys, errorThreshold})` |
17
+ | 高德 / 高德影像 | [§ S2 高德影像](../anovgis-imagery-terrain/SKILL.md#s2) | `createAmapImageryLayer({style, crs})` |
18
+ | 百度 / 百度地图 / 百度路况 | [§ 1 ImageryLayerFactory 速查表](../anovgis-imagery-terrain/SKILL.md#factory) | `createBaiduImageryLayer({style, crs})` |
19
+ | 腾讯卫星 | [§ 1 ImageryLayerFactory 速查表](../anovgis-imagery-terrain/SKILL.md#factory) | `createTencentImageryLayer({style})` |
20
+ | ArcGIS / 卫星底图 | [§ 1 ImageryLayerFactory 速查表](../anovgis-imagery-terrain/SKILL.md#factory) | `createArcGisImageryLayer` |
21
+ | Google 卫星 / Google Maps | [§ S22 Google 卫星影像](../anovgis-imagery-terrain/SKILL.md#s22) | `createGoogleImageryLayer` |
22
+ | ArcGIS 地形 | [§ S4 ArcGIS 地形](../anovgis-imagery-terrain/SKILL.md#s4) | `TerrainFactory.createArcgisTerrain` |
23
+ | 世界地形 / Cesium Terrain | [§ S3 Cesium World Terrain](../anovgis-imagery-terrain/SKILL.md#s3) | `viewer.scene.setTerrain(Cesium.Terrain.fromWorldTerrain())` |
24
+ | 离线地形 / terrainRGB | [§ S25 terrainRGB 地形(⚠️ SDK 未包装,P0 反例)](../anovgis-imagery-terrain/SKILL.md#s25) | `TerrainFactory.createUrlTerrain({url})` |
25
+ | 矢量瓦片 / 4490 / 切片 | [§ S26 EPSG:4490 矢量瓦片](../anovgis-imagery-terrain/SKILL.md#s26) | `createXYZImageryLayer` + TileMapServiceImageryProvider |
26
+ | WMS / GeoServer WMS | [§ S11 WMS 接入](../anovgis-imagery-terrain/SKILL.md#s11) | `createImageryLayer(ImageryType.WMS, {url, layers, parameters})` |
27
+ | WMTS / 切片服务 | [§ S12 WMTS 接入](../anovgis-imagery-terrain/SKILL.md#s12) | `createWMTSImageryLayer({url, ...})` |
28
+ | XYZ 瓦片 / 多子域 | [§ S13 XYZ 切片](../anovgis-imagery-terrain/SKILL.md#s13) | `createXYZImageryLayer({url, subdomains})` |
29
+ | 单图覆盖 / 单张图片贴地 | [§ S14 SingleTileImageryLayer](../anovgis-imagery-terrain/SKILL.md#s14) | `createSingleTileImageryLayer({url, rectangle})` |
30
+ | 卷帘对比 / SplitImage | [§ S9 卷帘对比](../anovgis-imagery-terrain/SKILL.md#s9) | `new ANOVGIS.SplitImageLayer(viewer, [left, right])` |
31
+ | WFS / SuperMap WFS | [§ S13 天地图 WFS](../anovgis-layers/SKILL.md#s13)(WFS 专题 v0.3.0 候选 `anovgis-offline-deployment`) | `ANOVGIS.GeoJsonLayer` |
32
+
33
+ ## 图元 / POI(`anovgis-vector-graphics` / `anovgis-layers`)
34
+
35
+ | 用户原话 / 关键词 | 对应 skill 章节 | 主要 SDK API |
36
+ |---|---|---|
37
+ | 单点 / POI / 城市标记 / 视距缩放 | [§ S9 Point 同时挂 label + billboard](../anovgis-vector-graphics/SKILL.md#s9) | `new ANOVGIS.Point([lng,lat,0], {pixelSize, color, billboard, label, highlight})` |
38
+ | **POI 标绘 / 批量点位 / 标点 / divIcon** | [§ POI 标绘选型(DivIcon 默认)](SKILL.md#poi-selection) | **≤100 个 → `HtmlLayer` + `ANOVGIS.DivIcon`(DOM 路线)**;**>100 个 → 先 `AskUserQuestion` 问用户选 DivIcon 还是 Billboard** |
39
+ | 图标 / billboard / 脉动发光 | [§ S3 创建 Billboard](../anovgis-vector-graphics/SKILL.md#s3) | `Point` 内嵌 `billboard.image = ShapeUtil.drawCanvalCircle(...)` |
40
+ | 标签 / label / 视距缩放文字 | [§ S8 Label + 自定义字体](../anovgis-vector-graphics/SKILL.md#s8) | `Point.label = {text, fillColor, scaleByDistance, ...}` |
41
+ | DOM 弹层 / divInfo / 跟着镜头缩放 | [§ S9 HtmlLayer DOM 叠加](../anovgis-layers/SKILL.md#s9) | `HtmlLayer` + HTML 字符串 + `postRender` 钩子 |
42
+ | 折线 / 多边形 / 矩形 | [§ 2 Vector 速查表(16 类)](../anovgis-vector-graphics/SKILL.md#vector-table) + [§ S2 创建 Polygon](../anovgis-vector-graphics/SKILL.md#s2) | `ANOVGIS.Polygon / Polyline` |
43
+ | GeoJSON / 行政区 / 区块 | [§ S1 GeoJSON 行政区](../anovgis-layers/SKILL.md#s1) | `ANOVGIS.VectorLayer + GeoJsonLayer` |
44
+ | 聚合 / Cluster | [§ S8 ClusterLayer 聚合](../anovgis-layers/SKILL.md#s8) | `ANOVGIS.ClusterLayer` |
45
+
46
+ ## 模型 / 3D Tiles(`anovgis-models-3dtiles`)
47
+
48
+ | 用户原话 / 关键词 | 对应 skill 章节 | 主要 SDK API |
49
+ |---|---|---|
50
+ | 3D 模型 / glb / gltf | [§ S1 单 glTF 模型加载](../anovgis-models-3dtiles/SKILL.md#s1) | `ANOVGIS.Model` 或 `new ANOVGIS.ModelPrimitive` |
51
+ | 倾斜摄影 / 倾斜模型 / qingxie | [§ S6 倾斜摄影](../anovgis-models-3dtiles/SKILL.md#s6) | `ANOVGIS.Tileset` + clampToGround |
52
+ | 抽壳 / 楼块掏空 | [§ S7 抽壳模式](../anovgis-models-3dtiles/SKILL.md#s7) | `ANOVGIS.TilesetEditor` / `PositonEditor` |
53
+ | 自定义 GLSL / 自定义 shader | [§ S8 自定义 GLSL Shader](../anovgis-models-3dtiles/SKILL.md#s8) | `CustomShader({vertexShaderText, fragmentShaderText})` |
54
+ | 矢量瓦片 4490 加载 | [§ S9 矢量瓦片](../anovgis-models-3dtiles/SKILL.md#s9) | `ANOVGIS.Tileset + VectorTileProvider` |
55
+ | 体积雾 / PostFog | [§ S10 体积雾](../anovgis-models-3dtiles/SKILL.md#s10) | (`anovgis-effects` § 后期处理也有相关) |
56
+ | 雨雪平面 / Plane / 跟随相机 | [§ S11 雨雪平面](../anovgis-models-3dtiles/SKILL.md#s11) | `RainSnowPlane(viewer, opts)`(SDK 已封) |
57
+
58
+ ## 材质(`anovgis-materials`)
59
+
60
+ | 用户原话 / 关键词 | 对应 skill 章节 | 主要 SDK API |
61
+ |---|---|---|
62
+ | 流动线 / 流光线 | [§ 3.1 Polyline + PolylineFlowMaterialProperty](../anovgis-materials/SKILL.md#flow) | `ANOVGIS.PolylineFlowMaterialProperty` |
63
+ | 扩散波 / 雷达波 | [§ 3.3 Ellipse + CircleWaveMaterialProperty](../anovgis-materials/SKILL.md#circle-wave) | `ANOVGIS.CircleWaveMaterialProperty`(Property 版)/ `anovgis-primitives` [§ S2 ScanCirclePrimitive](../anovgis-primitives/SKILL.md#s2)(Primitive 版) |
64
+ | 模糊扩散 | [§ 面材质(CircleBlurMaterialProperty)](../anovgis-materials/SKILL.md#circle-blur) | `ANOVGIS.CircleBlurMaterialProperty` |
65
+ | 图片雷达 / 扫描圆 | [§ 线材质(PolylineImageTrailMaterialProperty)](../anovgis-materials/SKILL.md#image-trail) | `ANOVGIS.ImageTrailMaterialProperty` |
66
+ | 水面 / 水波 | [§ 3.2 Polygon + WaterPrimitive](../anovgis-materials/SKILL.md#water) | `ANOVGIS.WaterMaterialProperty` |
67
+ | shadertoy 水面 / 自定义水着色 | [§ 水面 + 自定义 shadertoy](../anovgis-materials/SKILL.md#water-shadertoy) | `ANOVGIS.WaterShadertoy` |
68
+ | 抛物线 / 飞行轨迹 | [§ 流动抛物线 + V 型飞线](../anovgis-materials/SKILL.md#parabola) | `ANOVGIS.ParabolaMaterialProperty` |
69
+ | 导航线 / 拐弯 | [§ 导航线(DaoHangLine)拐弯效果](../anovgis-materials/SKILL.md#daohang) | `ANOVGIS.DaoHangMaterialProperty` |
70
+
71
+ ## Primitive
72
+
73
+ | 用户原话 / 关键词 | 对应 skill 章节 | 主要 SDK API |
74
+ |---|---|---|
75
+ | 云层 / 体积云 | [§ S7 CloudPrimitive](../anovgis-primitives/SKILL.md#s7) | `ANOVGIS.CloudPrimitive` |
76
+
77
+ ## 特效(`anovgis-effects`)
78
+
79
+ | 用户原话 / 关键词 | 对应 skill 章节 | 主要 SDK API |
80
+ |---|---|---|
81
+ | 下雨 / 下雪 / 起雾 / 卷云 | [§ 1.1 天气 `ANOVGIS.Weather`](../anovgis-effects/SKILL.md#weather) | `new ANOVGIS.Weather(viewer, {type: 'rain'\|'snow'\|'fog'\|'cloud'})` |
82
+ | 路径漫游 / 漫游动画 | [§ 1.2 漫游 `ANOVGIS.Roaming*`](../anovgis-effects/SKILL.md#roaming) | `ANOVGIS.RoamingController / RoamingPath / KeyboardRoaming` |
83
+ | 相机环绕 / 绕点飞行 | [§ S3 相机环绕](../anovgis-effects/SKILL.md#s3) | `ANOVGIS.AroundPoint(viewer, target)` |
84
+ | 航线 / FlyManager | [§ 1.3 动画 `ANOVGIS.Animation*`](../anovgis-effects/SKILL.md#animation) | `ANOVGIS.FlyManager` |
85
+ | 全球自转 | [§ 1.3 动画 `ANOVGIS.Animation*`](../anovgis-effects/SKILL.md#animation) | `ANOVGIS.GlobeRotate(viewer)` |
86
+ | 后期处理 / Bloom / 夜视 / 景深 | [§ 1.4 后期处理 `ANOVGIS.Effect`](../anovgis-effects/SKILL.md#effect) | `new ANOVGIS.Effect(viewer)`(7 个 stage) |
87
+ | 天空盒 / 星空 / skybox | [§ 1.4 后期处理(含 skyBox 选项)](../anovgis-effects/SKILL.md#effect) + [§ 2 Viewer 扩展参数](../anovgis-viewer/SKILL.md#viewer-params) | `viewer.scene.skyBox = ...` |
88
+
89
+ ## 分析 / 标绘(`anovgis-analysis`)
90
+
91
+ | 用户原话 / 关键词 | 对应 skill 章节 | 主要 SDK API |
92
+ |---|---|---|
93
+ | 标绘 / 测距 / Draw | [§ 1.1 标绘 / 测量](../anovgis-analysis/SKILL.md#draw) | `ANOVGIS.Draw*` 系列 |
94
+ | 地形剖切 / 地形开挖 | [§ 2.2 TerrainClipping](../anovgis-analysis/SKILL.md#terrain-clipping) | `ANOVGIS.TerrainClipping` |
95
+ | 热力图 / HeatMap | [§ 2.4 热力图两套引擎](../anovgis-analysis/SKILL.md#heatmap) | `ANOVGIS.CesiumHeatMap` 或 `HeatMapLayer` |
96
+ | 风场 / 风场粒子 | [§ 2.5 WindLayer](../anovgis-analysis/SKILL.md#wind) | `ANOVGIS.WindLayer` |
97
+ | 水淹分析 | [§ 2.3 CesiumWaterAnalysis](../anovgis-analysis/SKILL.md#water-analysis) | `ANOVGIS.CesiumWaterAnalysis` |
98
+ | 水坝 / 开闸放水 | [§ 2.6 DamWaterRelease](../anovgis-analysis/SKILL.md#dam-water) | `ANOVGIS.DamWaterRelease` |
99
+ | 三轴编辑 / PositonEditor | [§ 2.7 PositonEditor](../anovgis-analysis/SKILL.md#positon-editor) | `ANOVGIS.PositonEditor(viewer, target)` |
100
+
101
+ ## 交互(`anovgis-popup-widget`)
102
+
103
+ | 用户原话 / 关键词 | 对应 skill 章节 | 主要 SDK API |
104
+ |---|---|---|
105
+ | Popup / 弹窗 / 信息卡 | [§ S1 Point + Popup](../anovgis-popup-widget/SKILL.md#s1) | `point.bindPopup(...)` / `layer.bindPopup(...)` |
106
+ | Tooltip / 悬浮提示 | [§ S3 Tooltip 鼠标悬浮提示](../anovgis-popup-widget/SKILL.md#s3) | `bindTooltip(...)` |
107
+ | 高亮 / hover 高亮 | [§ S2 Polygon 高亮](../anovgis-popup-widget/SKILL.md#s2) | `highlight / selectedHighlight` 选项 |
108
+
109
+ ## 综合 demo
110
+
111
+ | 用户原话 / 关键词 | 对应 skill 章节 | 主要 SDK API |
112
+ |---|---|---|
113
+ | 数字城市 / 综合 demo | `DEMO-SKILL-MAP.md` § demos 类 | — |
114
+ | Three.js 集成 | v0.3.0 候选 `anovgis-three-layer`(未上线)—— 当前用 [§ S8 自定义 GLSL Shader](../anovgis-models-3dtiles/SKILL.md#s8) 过渡 | — |