[GRASS-user] Mosaic

Hi,

I have 4 adjacent hdf images that need to be tiled together. As far a I know, I could use i.image.mosaic, but only the first image is visible in the final result (the rest of the space is filled with black color). I understood that the pixels in the second image take values starting from the max.value in the first image, and so on. Maybe this is the problem why the 3/4 of the image is black?

Do you know what am I doing wrong?

Thanks,
Danut

I have 4 adjacent hdf images that need to be tiled together.

maybe use a gdal virtual dataset [1] [2] including all your tiles a and
import (r.in.gdal)/link (r.external) to this virtual dataset?

[1] http://www.gdal.org/gdal_vrttut.html
[2] http://www.gdal.org/gdalbuildvrt.html

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Mosaic-tp4984174p4984177.html
Sent from the Grass - Users mailing list archive at Nabble.com.

Hi Danut,

I think the tool you’re looking for is r.patch. It patches together spatially discontigious rasters.

Best,
Daniel

B.Sc. Daniel Lee
Geschäftsführung für Forschung und Entwicklung
ISIS - International Solar Information Solutions GbR
Vertreten durch: Daniel Lee, Nepomuk Reinhard und Nils Räder

Softwarecenter 3
35037 Marburg
Festnetz: +49 6421 379 6256
Mobil: +49 176 6127 7269
E-Mail: Lee@isi-solutions.org
Web: http://www.isi-solutions.org

2012/6/27 Danut Mihon <danut_mihon@yahoo.com>

Hi,

I have 4 adjacent hdf images that need to be tiled together. As far a I know, I could use i.image.mosaic, but only the first image is visible in the final result (the rest of the space is filled with black color). I understood that the pixels in the second image take values starting from the max.value in the first image, and so on. Maybe this is the problem why the 3/4 of the image is black?

Do you know what am I doing wrong?

Thanks,
Danut


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user