You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
각 지형 타일은 남북 방향으로 `180 / 2^depth` 도를 차지합니다. 아래 표는 기본값인 지구 기준에서 타일 하나의 대략적인 남북 길이를 보여줍니다. 변환기에서 사용하는 지구 적도 반지름과 같은 값을 기준으로 계산했으므로, 정밀 측지 거리표라기보다 `maxDepth` 선택을 위한 실무 가이드로 보면 됩니다.
32
+
33
+
달 지형의 경우 아래 길이에 약 **0.2724**(`1,737,400 / 6,378,137`)를 곱해 참고하면 됩니다.
34
+
35
+
| Depth | 타일 하나의 남북 길이 (km) | 타일 하나의 남북 길이 (m) |
36
+
| ---: | ---: | ---: |
37
+
| 0 | 20,037.508 | 20,037,508 |
38
+
| 1 | 10,018.754 | 10,018,754 |
39
+
| 2 | 5,009.377 | 5,009,377 |
40
+
| 3 | 2,504.689 | 2,504,689 |
41
+
| 4 | 1,252.344 | 1,252,344 |
42
+
| 5 | 626.172 | 626,172 |
43
+
| 6 | 313.086 | 313,086 |
44
+
| 7 | 156.543 | 156,543.034 |
45
+
| 8 | 78.272 | 78,271.517 |
46
+
| 9 | 39.136 | 39,135.758 |
47
+
| 10 | 19.568 | 19,567.879 |
48
+
| 11 | 9.784 | 9,783.940 |
49
+
| 12 | 4.892 | 4,891.970 |
50
+
| 13 | 2.445985 | 2,445.985 |
51
+
| 14 | 1.222992 | 1,222.992 |
52
+
| 15 | 0.611496 | 611.496 |
53
+
| 16 | 0.305748 | 305.748 |
54
+
| 17 | 0.152874 | 152.874 |
55
+
| 18 | 0.076437 | 76.437 |
56
+
| 19 | 0.038219 | 38.219 |
57
+
| 20 | 0.019109 | 19.109 |
58
+
| 21 | 0.009555 | 9.555 |
59
+
| 22 | 0.004777 | 4.777 |
60
+
61
+
GeoTIFF에 적절한 `maxDepth`를 가늠하는 방법은 다음과 같습니다.
62
+
-`gdalinfo` 또는 GIS 도구로 원본 래스터의 픽셀 크기를 확인합니다.
63
+
- 픽셀 크기에 **256**을 곱해 256 샘플 타일 하나가 표현하는 지상 길이를 추정합니다.
64
+
- 위 표에서 그 길이에 가까운 depth를 선택합니다. 자동 `maxDepth` 계산도 이 기준을 따르며, 타일 길이가 `픽셀 크기 * 256`보다 작아지는 지점에서 보통 한 단계 더 세밀한 depth를 선택합니다.
65
+
66
+
실무 예시는 다음과 같습니다.
67
+
68
+
| GeoTIFF 픽셀 크기 | 256 픽셀의 지상 길이 | 일반적인 `maxDepth`|
69
+
| ---: | ---: | ---: |
70
+
| 90 m | 23,040 m | 11 |
71
+
| 30 m | 7,680 m | 13 |
72
+
| 10 m | 2,560 m | 14 |
73
+
| 5 m | 1,280 m | 15 |
74
+
| 1 m | 256 m | 18 |
75
+
76
+
원본 래스터가 지원하는 해상도보다 훨씬 큰 `maxDepth`를 지정하면 실제 지형 디테일은 늘지 않고 타일 수, 처리 시간, 저장 용량만 증가합니다. 변환 속도나 결과물 크기를 줄여야 할 때는 더 작은 `maxDepth`를 사용합니다.
26
77
27
78
## 타일링 상세 표현 (Intensity)
28
79
`-intensity` 또는 `-is` 옵션을 통해 타일링의 세부 표현 정도를 조절할 수 있습니다.
Each terrain tile covers `180 / 2^depth` degrees in the north-south direction. The table below shows the approximate north-south length of one tile for the default Earth body. The values use the same Earth equatorial radius as the converter, so they are intended as a practical guide rather than a geodetic distance survey.
32
+
33
+
For lunar terrain, multiply these lengths by about **0.2724** (`1,737,400 / 6,378,137`).
34
+
35
+
| Depth | One tile north-south length (km) | One tile north-south length (m) |
36
+
| ---: | ---: | ---: |
37
+
| 0 | 20,037.508 | 20,037,508 |
38
+
| 1 | 10,018.754 | 10,018,754 |
39
+
| 2 | 5,009.377 | 5,009,377 |
40
+
| 3 | 2,504.689 | 2,504,689 |
41
+
| 4 | 1,252.344 | 1,252,344 |
42
+
| 5 | 626.172 | 626,172 |
43
+
| 6 | 313.086 | 313,086 |
44
+
| 7 | 156.543 | 156,543.034 |
45
+
| 8 | 78.272 | 78,271.517 |
46
+
| 9 | 39.136 | 39,135.758 |
47
+
| 10 | 19.568 | 19,567.879 |
48
+
| 11 | 9.784 | 9,783.940 |
49
+
| 12 | 4.892 | 4,891.970 |
50
+
| 13 | 2.445985 | 2,445.985 |
51
+
| 14 | 1.222992 | 1,222.992 |
52
+
| 15 | 0.611496 | 611.496 |
53
+
| 16 | 0.305748 | 305.748 |
54
+
| 17 | 0.152874 | 152.874 |
55
+
| 18 | 0.076437 | 76.437 |
56
+
| 19 | 0.038219 | 38.219 |
57
+
| 20 | 0.019109 | 19.109 |
58
+
| 21 | 0.009555 | 9.555 |
59
+
| 22 | 0.004777 | 4.777 |
60
+
61
+
To estimate a suitable `maxDepth` for a GeoTIFF:
62
+
- Check the raster pixel size with `gdalinfo` or another GIS tool.
63
+
- Multiply the pixel size by **256** to estimate the ground size represented by one 256-sample terrain tile.
64
+
- Choose a depth whose tile length is near that size. The automatic `maxDepth` selection follows this idea and generally chooses the next finer depth once the tile length becomes smaller than `pixel size * 256`.
65
+
66
+
Practical examples:
67
+
68
+
| GeoTIFF pixel size | 256 pixels on the ground | Typical `maxDepth`|
69
+
| ---: | ---: | ---: |
70
+
| 90 m | 23,040 m | 11 |
71
+
| 30 m | 7,680 m | 13 |
72
+
| 10 m | 2,560 m | 14 |
73
+
| 5 m | 1,280 m | 15 |
74
+
| 1 m | 256 m | 18 |
75
+
76
+
Using a much larger `maxDepth` than the source raster supports increases tile count, processing time, and storage size without adding real terrain detail. Use a smaller `maxDepth` when you need faster conversion or lighter output.
77
+
27
78
## Tiling detail level (Intensity)
28
79
You can control the level of tiling detail using the `-intensity` or `-is` option.
29
80
The intensity value ranges from **1 to 16**, with a default value of **4**.
-nv, --nodataValue <arg> Set NODATA value for terrain generating
67
-
(default : -9999)
68
-
-cn, --calculateNormals Add terrain octVertexNormals for lighting effect
69
-
-ms, --mosaicSize <arg> Tiling mosaic buffer size per tile.
70
-
(default : 16)
71
-
-mr, --rasterMaxSize <arg> Maximum raster size for split function.
72
-
(default : 8192)
73
-
-b, --body <arg> Target celestial body for terrain generation
74
-
(default : earth)(options: earth, moon)
75
-
-md, --metadata [Experimental] Generate metadata for the terrain data.
76
-
-wm, --waterMask [Experimental] Generate water mask for the terrain data.
77
-
-d, --debug [DEBUG] Print more detailed logs.
45
+
-h, --help Print help
46
+
-q, --quiet Suppress all output except errors
47
+
-lt, --leaveTemp Leave temporary files for debugging
48
+
-j, --json Generate layer.json for terrain data
49
+
-c, --continue Continue terrain generation from the previous run. Use this option when terrain generation is interrupted or fails.
50
+
-m, --modify Modify existing terrain. Use this option when updating part of a terrain region.
51
+
-ssr, --skipStandardizationResize Skip standardization and resizing process. This option can be used when the input data is already standardized and resized.
52
+
-i, --input <arg> [Required] Input file or directory path. Repeatable.
0 commit comments