Tag Info

Hot answers tagged

5

I don't know how GDAL handles JPEG compression on a four band raster, it does not make much sense to me, JPEG is meant to be used against RGB (three band) or gray (one band) images. When you gdal_translate it you can also shave off the fourth band with, I believe, -b 1 -b 2 -b 3


4

The Gdal_translate utility can be used. The documentation mentions: ...to convert raster data between different formats, potentially performing some operations like subsettings, resampling, and rescaling pixels in the process. It also has an option for bands, where you selects which bands you want to operate on. So if you want to export just the ...


3

I would recommend calculating soil moisture indices from Landsat TM bands. MTRI has an interesting article on creating soil moisture index (SMI) from Landsat TM 5. Also, I would recommend exploring soil moisture estimates using TM band 6 (Thermal IR). Attached is a good tutorial on calculating indices from Landsat TM bands using ArcGIS 9.x (as you ...


3

Use gdalbuildvrt fiveband.vrt -separate dem.tif threebandalpha.tif gdal_translate fiveband.vrt fiveband.tif If you application uses GDAL, you can just open the vrt.


2

Enable the GDALTools plugin (Plugins->Manage Plugins... menu) and use the Merge tool (Raster->Miscellaneous menu) and tick the Layer stack option.


1

I dont think thereĀ“s a faster way to do that, but what you can do is a list in a table with the name of each multilayerraster with an identifier (column names: id & name, in this order). So you can write this: #load the table with the name of the image & id list<-read.table("Table.txt",header=T) # select "automatic" correlative id id<-id+1 ...


1

BANDS When working with e.g. scanned maps raster the three (four) bands are exactly the same as RGB(A) channels in e.g. GIMP. But that does not apply to other kinds of raster data. For example, remote sensing data such as multispectral images acquired from satellites can contain (almost) any number of bands with each pixel value for a specific band ...


1

You can also use GRASS for this work, I have found that it provides robust results for indices calculation when atmospheric correction is applied as per the modules.



Only top voted, non community-wiki answers of a minimum length are eligible