[Gdal-dev] ENVI and raster attributes/color support

Markus Neteler neteler at itc.it
Tue Nov 2 12:42:11 EST 2004


Hi,

I have written (hope I got it right) a BSQ header file
for

http://glcf.umiacs.umd.edu/data/landcover/data.shtml
AVHRR Global Land Cover Classification

The attached file is a header file for "gl-latlong-1km-landcover.bsq.gz" from:
ftp://ftp.glcf.umiacs.umd.edu/glcf/Global_Land_Cover/Global/gl-latlong-1km-landcover/

My question is if support could be added to GDAL to read
the color table and the raster attributes so that I could
generate a more GIS convenient IMG file or whatever. 
Or is it a complicated thing (or "quota exceeded" for me :-)?

Best regards

 Markus

PS: This is linked to
    http://xserve.flids.com/pipermail/gdal-dev/2004-May/005648.html
    http://grass.itc.it/pipermail/grassuser/2004-August/026241.html
    (I intend to simplify the procedure to get these data into QGIS or GRASS)
-------------- next part --------------
ENVI
samples = 43200
lines   = 21600
bands   = 1
header offset = 0
file type = ENVI Classification
data type = 1
interleave = bsq
byte order = 0
map info = {Geographic Lat/Lon, 1.0, 1.0, -180.0, 90.0, 0.00833333333333, 0.00833333333333, sphere, units=Degrees}
classes = 14
class lookup = {
 000,000,000,
 001,100,000,
 001,130,000,
 151,191,071,
 002,220,000,
 000,255,000,
 146,174,047,
 220,206,000,
 255,173,000,
 255,251,195,
 140,072,009,
 247,165,255,
 255,199,174,
 000,255,255}
class names = {
 Water_and_Goode_s_interrupted_space,
 Evergreen_Needleleaf_Forest,
 Evergreen_Broadleaf_Forest,
 Deciduous_Needleleaf_Forest,
 Deciduous_Broadleaf_Forest,
 Mixed_Forest,
 Woodland,
 Wooded_Grassland,
 Closed_Shrubland,
 Open_Shrubland,
 Grassland,
 Cropland,
 Bare_Ground,
 Urban_and_Built-up}
band names = {
 global land cover file 1km}


More information about the Gdal-dev mailing list