usage_example.txt 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. For example, the above produces the following output using gdal 1.11.2 compiled with libgeotiff 1.4.0, libpng 1.6, libjpeg-turbo 1.3.1, libjasper 1.900.1 and libecwj2 3.3::
  2. Usage: gdal_translate [--help-general] [--long-usage]
  3. [-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/
  4. CInt16/CInt32/CFloat32/CFloat64}] [-strict]
  5. [-of format] [-b band] [-mask band] [-expand {gray|rgb|rgba}]
  6. [-outsize xsize[%] ysize[%]]
  7. [-unscale] [-scale[_bn] [src_min src_max [dst_min dst_max]]]* [-exponent[_bn] exp_val]*
  8. [-srcwin xoff yoff xsize ysize] [-projwin ulx uly lrx lry] [-epo] [-eco]
  9. [-a_srs srs_def] [-a_ullr ulx uly lrx lry] [-a_nodata value]
  10. [-gcp pixel line easting northing [elevation]]*
  11. [-mo "META-TAG=VALUE"]* [-q] [-sds]
  12. [-co "NAME=VALUE"]* [-stats] [-norat]
  13. src_dataset dst_dataset
  14. GDAL 1.11.2, released 2015/02/10
  15. The following format drivers are configured and support output:
  16. VRT: Virtual Raster
  17. GTiff: GeoTIFF
  18. NITF: National Imagery Transmission Format
  19. HFA: Erdas Imagine Images (.img)
  20. ELAS: ELAS
  21. AAIGrid: Arc/Info ASCII Grid
  22. DTED: DTED Elevation Raster
  23. PNG: Portable Network Graphics
  24. JPEG: JPEG JFIF
  25. MEM: In Memory Raster
  26. GIF: Graphics Interchange Format (.gif)
  27. XPM: X11 PixMap Format
  28. BMP: MS Windows Device Independent Bitmap
  29. PCIDSK: PCIDSK Database File
  30. PCRaster: PCRaster Raster File
  31. ILWIS: ILWIS Raster Map
  32. SGI: SGI Image File Format 1.0
  33. SRTMHGT: SRTMHGT File Format
  34. Leveller: Leveller heightfield
  35. Terragen: Terragen heightfield
  36. ISIS2: USGS Astrogeology ISIS cube (Version 2)
  37. ERS: ERMapper .ers Labelled
  38. ECW: ERDAS Compressed Wavelets (SDK 3.x)
  39. JP2ECW: ERDAS JPEG2000 (SDK 3.x)
  40. FIT: FIT Image
  41. JPEG2000: JPEG-2000 part 1 (ISO/IEC 15444-1)
  42. RMF: Raster Matrix Format
  43. RST: Idrisi Raster A.1
  44. INGR: Intergraph Raster
  45. GSAG: Golden Software ASCII Grid (.grd)
  46. GSBG: Golden Software Binary Grid (.grd)
  47. GS7BG: Golden Software 7 Binary Grid (.grd)
  48. R: R Object Data Store
  49. PNM: Portable Pixmap Format (netpbm)
  50. ENVI: ENVI .hdr Labelled
  51. EHdr: ESRI .hdr Labelled
  52. PAux: PCI .aux Labelled
  53. MFF: Vexcel MFF Raster
  54. MFF2: Vexcel MFF2 (HKV) Raster
  55. BT: VTP .bt (Binary Terrain) 1.3 Format
  56. LAN: Erdas .LAN/.GIS
  57. IDA: Image Data and Analysis
  58. LCP: FARSITE v.4 Landscape File (.lcp)
  59. GTX: NOAA Vertical Datum .GTX
  60. NTv2: NTv2 Datum Grid Shift
  61. CTable2: CTable2 Datum Grid Shift
  62. KRO: KOLOR Raw
  63. ARG: Azavea Raster Grid format
  64. USGSDEM: USGS Optional ASCII DEM (and CDED)
  65. ADRG: ARC Digitized Raster Graphics
  66. BLX: Magellan topo (.blx)
  67. Rasterlite: Rasterlite
  68. PostGISRaster: PostGIS Raster driver
  69. SAGA: SAGA GIS Binary Grid (.sdat)
  70. KMLSUPEROVERLAY: Kml Super Overlay
  71. XYZ: ASCII Gridded XYZ
  72. HF2: HF2/HFZ heightfield raster
  73. PDF: Geospatial PDF
  74. ZMap: ZMap Plus Grid