usgslandcover(FILE, Wlon, Elon, Slat, Nlat)

Version (2.7 KB) by Bryan
Small function for accessing the global USGS landcover file.
Updated 11 Aug 2015

View License

This function retrieves the landcover data from the Global Land Cover Characteristics Data Base Version 2.0, specifically from the file with 30-arcsecond resolution geographic projection, i.e. the file gusgs2_0ll.img.
A lat/lon window can be specified by the user, meaning that MatLab does not have to access the entire file, thus saving memory. The function returns the landcover data, as well as matrices containing the latitude and longitude coordinates (centre-of-pixel) for each data point.

Cite As

Bryan (2024). usgslandcover(FILE, Wlon, Elon, Slat, Nlat) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Mapping Toolbox in Help Center and MATLAB Answers

Inspired: nlcdlandcover

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Fixed typo in the help.

Fixed rounding problem that could result in one column and/or row too little in certain circumstances.