# doc-cache created by Octave 4.0.0
# name: cache
# type: cell
# rows: 3
# columns: 1
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
gdalread


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1916
 -- : [RSTAT, RINFO, BANDS] = gdalread (FNAME)
 -- : [RSTAT, RINFO, BANDS] = gdalread (FNAME, INFO)
     Get raster data and info or (optionally) just info from a GIS
     raster file.  For normal raster data reading it is better to use
     rasterread.m as that takes care of postprocessing gdalread output.

     FNAME is the name (or full path name) of a raster file to be read.

     INFO is any non-null value.  If present, only raster info is
     returned.  This option can be useful if only raster information is
     required and reading the raster data can be skipped.

     RSTAT is set to zero if reading was successful, -1 otherwise.

     RINFO is a scalar struct containing information about the raster
     data: datatype_index (a numerical GDAL datatype index);
     datatype_name (GDAL type name); BitDepth; geotransformation (1x6
     double vector); projection (a string containing projection
     information); Width (nr.  of raster data columns); Height (nr.  of
     raster data rows); FileType; and nbands (the number of raster bands
     in the file).

     BANDS is a struct array containing raster data for each band in the
     file.  If only raster info was requested, bands is empty.  When
     data is read, each band is a struct element containing: bbox
     (bounding box: [xmin ymin; xmax ymax]), data (a matrix with the
     actual raster data); min (minimum raster data value); max (maximum
     raster data value); has_ndv (indicates whether the band as a
     special value indicating pixels that shouldn't be processed);
     ndv_val (the special value for improper pixels), and colortable.
     If the band has a colortable, field "colortable" contains an Mx4
     array of colortable entries (see GDAL reference), otherwise this
     field is empty.  Note that the actual raster data array (field
     "data" is rotated 90 degrees clockwise.

     See also: rasterread,rot90.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 74
Get raster data and info or (optionally) just info from a GIS raster
file.





