add new chinese translations
This commit is contained in:
20
pages.zh/common/gdal_translate.md
Normal file
20
pages.zh/common/gdal_translate.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# gdal_translate
|
||||
|
||||
> 在不同格式之间转换栅格数据。
|
||||
> 更多信息: <https://gdal.org/programs/gdal_translate.html>。
|
||||
|
||||
- 将栅格数据集转换为JPEG格式:
|
||||
|
||||
`gdal_translate -of {{JPEG}} {{path/to/input.tif}} {{path/to/output.jpeg}}`
|
||||
|
||||
- 为栅格数据集指定投影:
|
||||
|
||||
`gdal_translate -a_srs {{EPSG:4326}} {{path/to/input.tif}} {{path/to/output.tif}}`
|
||||
|
||||
- 将栅格数据集的大小缩减到特定比例:
|
||||
|
||||
`gdal_translate -outsize {{40%}} {{40%}} {{path/to/input.tif}} {{path/to/output.tif}}`
|
||||
|
||||
- 将GeoTiff转换为云优化GeoTiff:
|
||||
|
||||
`gdal_translate {{path/to/input.tif}} {{path/to/output.tif}} -of COG -co COMPRESS=LZW`
|
Reference in New Issue
Block a user