CmdID

CmdID / Commands

gdal_translate

Convert raster data between different formats. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Convert a raster dataset to JPEG format

gdal_translate -of JPEG path/to/input.tif path/to/output.jpegIdentify

Assign a projection to a raster dataset

gdal_translate -a_srs EPSG:4326 path/to/input.tif path/to/output.tifIdentify

Reduce the size of a raster dataset to a specific fraction

gdal_translate -outsize 40% 40% path/to/input.tif path/to/output.tifIdentify

Convert a GeoTiff to a Cloud Optimized GeoTiff

gdal_translate path/to/input.tif path/to/output.tif -of COG -co COMPRESS=LZWIdentify