ImportAsciiRaster

Import Arc/Info AsciiRaster
2.4K Downloads
Updated 27 Sep 2012

View License

This function imports Arc-Info ASCII Raster (e.g. *.asc, *.txt) files. You are allowed to import single or multiple files by multi-selection (CRTL + Mouse_Left_Click). In the latter case by default a structure array is created in order to store the several rasters; items of the structure array are called as the imported raster. A facultative option is now added to create a stack of double 3-D array instead of a structure array in case more grid files are selected. This might be useful to handle for instance multi-temporal remote sensing datasets (such as NDVI), or multiple realizations of Geostatistical Simulation. The dimension of the stack you can create depends on your computer hardware.

Cite As

Giuliano Langella (2024). ImportAsciiRaster (https://www.mathworks.com/matlabcentral/fileexchange/19183-importasciiraster), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Coordinate Systems in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.5.0.0

-the code was entirely revisited and some bugs were fixed;
-default REF is 'h' and not 'R' anymore;
-if 'FilePath' is given as input uigetfile does not start (otherwise do);
-rectangular pixel size is now supported.

1.3.0.0

A facultative option is now added to create a stack of double 3-D array instead of a structure array in case more grid files are selected.

1.1.0.0

A facultative option is now added to create a stack of double 3-D array instead of a structure array in case more grid files are selected.

1.0.0.0