[Qgis-user] different problems with merge images

Jan Tappenbeck osm at tappenbeck.net
Thu Jun 21 06:23:51 PDT 2012


Hi !

i had to merge several images to one large an have even problems with 
the color. (the data of my two test-image you found at the end of this 
posting)

if i merge this two images via qgis-gdal > merge i get two different, 
but unuseable, images

look at the following images:

with pseudocolortable for the first image - 
http://www.tappenbeck.net/forum/gdal/gdal_qgis_with_colortable.jpg

without pseudocolortable for the first image - 
http://www.tappenbeck.net/forum/gdal/gdal_qgis_without_colortable.jpg


other problem can anyone tell me the right way ?

when i try to start the command via msys like:

gdal_merge.bat -pct -of GTiff -o 
E:/jan_testauswertungen/xxxx_test/Luftbild/dialog_mit.tif 
E:/jan_testauswertungen/xxxx_test/Luftbild/675730.tif 
E:/jan_testauswertungen/xxxx_test/Luftbild/675735.tif

i get the message in qgis 1.7.4 - windows7:
/c/QuantumGISWroclaw/bin/gdal_merge.bat: line 1: @python: command not found

did i use the alternative command gdalwarp like

gdalwarp  E:/jan_testauswertungen/xxxx_test/Luftbild/675730.tif 
E:/jan_testauswertungen/xxxx_test/Luftbild/675735.tif 
E:/jan_testauswertungen/xxxx_test/Luftbild/gdalwarp.tif

i get the same result like 
http://www.tappenbeck.net/forum/gdal/gdal_qgis_without_colortable.jpg

???? why ?????

in hope of a helpfull answer

reagards Jan :-)


-------------------------------------------
image data

Driver: GTiff/GeoTIFF
Files: E:/jan_testauswertungen/haan_test/Luftbild/675730.tif
        E:/jan_testauswertungen/haan_test/Luftbild/675730.tfw
Size is 10000, 10000
Coordinate System is `'
Origin = (2567500.000000000000000,5673500.000000000000000)
Pixel Size = (0.050000000000000,-0.050000000000000)
Metadata:
   TIFFTAG_SOFTWARE=IrfanView
   TIFFTAG_XRESOLUTION=72
   TIFFTAG_YRESOLUTION=72
   TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Image Structure Metadata:
   INTERLEAVE=BAND
Corner Coordinates:
Upper Left  ( 2567500.000, 5673500.000)
Lower Left  ( 2567500.000, 5673000.000)
Upper Right ( 2568000.000, 5673500.000)
Lower Right ( 2568000.000, 5673000.000)
Center      ( 2567750.000, 5673250.000)
Band 1 Block=10000x1 Type=Byte, ColorInterp=Palette
   Overviews: 5000x5000, 2500x2500, 1250x1250, 625x625, 313x313, 
157x157, 79x79
   Color Table (RGB with 256 entries)
     0: 15,14,14,255
     1: 83,133,59,255
     2: 103,137,153,255
     3: 43,63,119,255
     4: 42,69,35,255
...


Driver: GTiff/GeoTIFF
Files: E:/jan_testauswertungen/haan_test/Luftbild/675735.tif
        E:/jan_testauswertungen/haan_test/Luftbild/675735.tfw
Size is 10000, 10000
Coordinate System is `'
Origin = (2567500.000000000000000,5674000.000000000000000)
Pixel Size = (0.050000000000000,-0.050000000000000)
Metadata:
   TIFFTAG_SOFTWARE=IrfanView
   TIFFTAG_XRESOLUTION=72
   TIFFTAG_YRESOLUTION=72
   TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Image Structure Metadata:
   INTERLEAVE=BAND
Corner Coordinates:
Upper Left  ( 2567500.000, 5674000.000)
Lower Left  ( 2567500.000, 5673500.000)
Upper Right ( 2568000.000, 5674000.000)
Lower Right ( 2568000.000, 5673500.000)
Center      ( 2567750.000, 5673750.000)
Band 1 Block=10000x1 Type=Byte, ColorInterp=Palette
   Overviews: 5000x5000, 2500x2500, 1250x1250, 625x625, 313x313, 
157x157, 79x79
   Color Table (RGB with 256 entries)
     0: 15,17,17,255
     1: 84,138,59,255
     2: 102,139,159,255
     3: 36,57,121,255
     4: 47,74,35,255
...



More information about the Qgis-user mailing list