<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><P>Hello list,</P><P></P><P>I have a problem with exporting a DEM to *tif.</P><P>In a first step I import it via r.in.gdal and in a second step I export it with r.out.gdal and the file is not the same anymore. GDAL reduce the file to one pixel but a greater storage size..</P><P>Even the settings (tags) changes total.</P><P></P><P>Here are some extracts from gdalinfo:</P><P></P><P>Before:</P><P></P><P>Driver: GTiff/GeoTIFF<BR>Size is 108, 84<BR>Coordinate System is:<BR>PROJCS["WGS 84 / UTM zone 45N",<BR>[...]<BR></P><P>Band 1 Block=64x64 Type=UInt16, ColorInterp=Gray<BR>    Computed Min/Max=4349.000,5738.000<BR>[EOF]<BR></P><P></P><P>After:</P><P></P><P>Driver: GTiff/GeoTIFF<BR>Size is 1, 1<BR>Coordinate System is:<BR>PROJCS["WGS 84 / UTM zone 45N",<BR>[...]<BR></P><P>Band 1 Block=1x1 Type=UInt16, ColorInterp=Palette<BR>    Computed Min/Max=0.000,0.000<BR> 
 NoData Value=-32768<BR>  Metadata:<BR>    COLOR_TABLE_RULES_COUNT=1<BR>    COLOR_TABLE_RULE_RGB_0=4.349000e+03 5.738000e+03 0 0 0 255 255 255<BR>  Color Table (RGB with 65536 entries)<BR>    0: 0,0,0,255<BR>    1: 0,0,0,255</P><P>[and 65533 more lines ...]<BR><BR></P><P>I mean it is a very simple process (import/export) but it don't work on my computer satisfactorily. So what I'm doing wrong?</P><P></P><P>Kind regards,</P><P>Stefan</P></td></tr></table><br>
      <p class="MsoNormal"> </p>

  <tbody><tr>

    <td style="padding: 0.75pt;">

    <div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

    <hr align="center" size="1" width="100%">

    </span></font></div>

 

      <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><img id="_x0000_i1026" src="http://us.i1.yimg.com/us.yimg.com/i/ca/iotg_search.jpg" align="absbottom" border="0" height="25" hspace="4" width="25"><a href="http://ca.toolbar.yahoo.com/" target="_new"><b><span style="font-weight: bold;" lang="NO-BOK">Yahoo! 
        Canada Toolbar :</span></b><span lang="NO-BOK"> Search from anywhere on 
        the web and bookmark your favourite sites. Download it now! </span></a> 
        </span></font><span lang="NO-BOK"><o:p></o:p></span></p>