GDAL Commands
GDAL commands used for our public map archive
Lists information about a raster dataset
gdalinfo -stats input.tif
Generate MBTiles from GeoTiff
raster2mb input.tif output.mbtiles
Generate JPG from GeoTiff
gdal_translate -of JPEG -b 1 -b 2 -b 3 input.tif output.jpg
converts raster data between different formats
gdal_translate -of GTiff -a_srs EPSG:4326 -gcp 13420 2981 -88.02 30.23 input.tif output.tif
image reprojection and warping utility
gdalwarp -of GTiff -t_srs EPSG:4326 input.tif output.tif
generating TMS tiles, KMLs and web viewers
gdal2tiles.py --title="Map Title" --zoom=12-23 --copyright=COPYRIGHT --googlekey=KEYCODE input.tif output.tif