Read geospatial raster data file
[
creates an array by reading geographic or projected raster data from a file. The output
argument A
,R
] = readgeoraster(filename
)R
contains spatial referencing information for the array.
Supported file formats include Esri Binary Grid, Esri GridFloat, GeoTIFF, and DTED. For a
full list of supported formats, see Supported Formats and Extensions.
[
specifies options using one or more A
,R
] = readgeoraster(___,Name,Value
)Name,Value
pair arguments.
Some functions require input arguments of type single
or
double
, such as the geoshow
function for
displaying surfaces. To use the output of readgeoraster
with these
functions, specify the output type as 'single'
or
'double'
using the 'OutputType'
name-value
pair.
Regardless of the file format, the array returned by
readgeoraster
has columns starting from north and the
ColumnsStartFrom
property of the reference object has a value of
'north'
.