Hi,<br><br><div class="gmail_quote">On Thu, Aug 16, 2012 at 11:02 PM, Eli Adam <span dir="ltr"><<a href="mailto:eadam@co.lincoln.or.us" target="_blank">eadam@co.lincoln.or.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> Band 1 Block=5000x1 Type=Int16, ColorInterp=Gray<br>
</div>...<br>
<div class="im">> Band 1 Block=10000x1 Type=Float32, ColorInterp=Gray<br>
><br>
> I can't see anything obvious why these two files can't be mosaiced..<br>
><br>
<br>
</div>It looks like one is 16 bit and the other 32.  gdalbuildvrt probably<br>
can't determine the type of output to create.<br>
<br>
What is the output type of gdalwarp on the same files? Did gdalwarp do<br>
anything to make the input files match in the output?<br></blockquote><div><br>This is the output of the mosaic made by gdalwarp:<br><br>gdalinfo STM_CP-DEMS_EU_mosaic.tif<br>Driver: GTiff/GeoTIFF<br>Files: /home/leomarg/DATA/SRTM_DEMs/_ALL/STM_CP-DEMS_EU_mosaic.tif<br>
Size is 64600, 50650<br>Coordinate System is:<br>PROJCS["ETRS89 / LAEA Europe",<br>    GEOGCS["ETRS89",<br>        DATUM["European_Terrestrial_Reference_System_1989",<br>            SPHEROID["GRS 1980",6378137,298.2572221010002,<br>
                AUTHORITY["EPSG","7019"]],<br>            AUTHORITY["EPSG","6258"]],<br>        PRIMEM["Greenwich",0],<br>        UNIT["degree",0.0174532925199433],<br>
        AUTHORITY["EPSG","4258"]],<br>    PROJECTION["Lambert_Azimuthal_Equal_Area"],<br>    PARAMETER["latitude_of_center",52],<br>    PARAMETER["longitude_of_center",10],<br>
    PARAMETER["false_easting",4321000],<br>    PARAMETER["false_northing",3210000],<br>    UNIT["metre",1,<br>        AUTHORITY["EPSG","9001"]],<br>    AUTHORITY["EPSG","3035"]]<br>
Origin = (1540000.000000000000000,6000000.000000000000000)<br>Pixel Size = (100.000000000000000,-100.000000000000000)<br>Metadata:<br>  AREA_OR_POINT=Area<br>Image Structure Metadata:<br>  INTERLEAVE=BAND<br>Corner Coordinates:<br>
Upper Left  ( 1540000.000, 6000000.000) ( 57d31'59.79"W, 63d25'17.15"N)<br>Lower Left  ( 1540000.000,  935000.000) ( 17d57'14.30"W, 26d50'46.78"N)<br>Upper Right ( 8000000.000, 6000000.000) ( 86d 0'31.83"E, 56d26'45.47"N)<br>
Lower Right ( 8000000.000,  935000.000) ( 46d17'14.56"E, 23d32'41.83"N)<br>Center      ( 4770000.000, 3467500.000) ( 16d52'39.75"E, 54d 7'19.36"N)<br>Band 1 Block=64600x1 Type=Int16, ColorInterp=Gray<br>
 </div>Thanks,<br></div><br clear="all"><br>-- <br>Dr. Margherita Di Leo<br>