Hi,<br>I need to merge some Tiff4 (bw) raster and obtain 1 only more big tiff4 raster.<br><br>I'm try-ing this with gdal_merge.py<br>and using a comand like this:<br><br>python gdal_merge.py -o ../raster/216.tif -n 1 -ot Byte ../raster/10k/216*.tif<br clear="all">
<br>Unfortunately the resulted raster is intellegible (the input raster was all clearly visible).<br>It is an all black image :(<br><br>I tried also with option "-n 0" but the result is the same.<br><br>I analyze the input raster using gdalinfo, and the result is this.<br>
<br>------------------<br>>gdalinfo.exe ../raster/10k/216100.tif<br>Driver: GTiff/GeoTIFF<br>Files: ../raster/10k/216100.tif<br> ../raster/10k/216100.tfw<br>Size is 10065, 10049<br>Coordinate System is:<br>LOCAL_CS["unnamed",<br>
UNIT["unknown",1]]<br>Origin = (1561222.860009765700000,4927094.449960937700000)<br>Pixel Size = (0.500000000000000,-0.500000000000000)<br>Metadata:<br> AREA_OR_POINT=Point<br> TIFFTAG_RESOLUTIONUNIT=1 (unitless)<br>
TIFFTAG_SOFTWARE=Arc/Info<br> TIFFTAG_XRESOLUTION=2<br> TIFFTAG_YRESOLUTION=2<br>Image Structure Metadata:<br> COMPRESSION=CCITTFAX4<br> INTERLEAVE=BAND<br> MINISWHITE=YES<br>Corner Coordinates:<br>Upper Left ( 1561222.860, 4927094.450)<br>
Lower Left ( 1561222.860, 4922069.950)<br>Upper Right ( 1566255.360, 4927094.450)<br>Lower Right ( 1566255.360, 4922069.950)<br>Center ( 1563739.110, 4924582.200)<br>Band 1 Block=10065x32 Type=Byte, ColorInterp=Palette<br>
Image Structure Metadata:<br> NBITS=1<br> Color Table (RGB with 2 entries)<br> 0: 255,255,255,255<br> 1: 0,0,0,255<br>-----------------<br><br>What am I wrong ?<br><br>Thx,<br> <br>-- <br>-----------------<br>
Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br><br>