User Tools

Site Tools


wiki:gdalsintax

GDAL and OGR syntax

   gdal_translate [--help-general]
          [-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/
                CInt16/CInt32/CFloat32/CFloat64}] [-strict]
          [-of format] [-b band] [-expand {rgb|rgba}]
          [-outsize xsize[%] ysize[%]]
          [-scale [src_min src_max [dst_min dst_max]]]
          [-srcwin xoff yoff xsize ysize] [-projwin ulx uly lrx lry]
          [-a_srs srs_def] [-a_ullr ulx uly lrx lry] [-a_nodata value]
          [-gcp pixel line easting northing]*
          [-mo "META-TAG=VALUE"]* [-quiet] [-sds]
          [-co "NAME=VALUE"]*
          src_dataset dst_dataset


  ogr2ogr [--help-general] [-skipfailures] [-append] [-update] [-gt n]
           [-select field_list] [-where restricted_where] 
           [-sql <sql statement>] 
           [-spat xmin ymin xmax ymax] [-preserve_fid] [-fid FID]
           [-a_srs srs_def] [-t_srs srs_def] [-s_srs srs_def]
           [-f format_name] [-overwrite] [[-dsco NAME=VALUE] ...]
           [-segmentize max_dist]
           dst_datasource_name src_datasource_name
           [-lco NAME=VALUE] [-nln name] [-nlt type] [layer [layer ...]]
wiki/gdalsintax.txt · Last modified: 2017/12/05 22:53 (external edit)